Search

VBA to get and print out color in Shapes

Print_Shapes_RGB
Related video: https://youtu.be/wbkNCUcRQLg

Option Explicit

Sub Print_Shapes_RGB()
Dim oSl As Slide, oSh As Shape
Dim iColor&, iRed&, iGreen&, iBlue&

Set oSl = ActivePresentation.Slides(ActiveWindow.Selection.SlideRange.SlideIndex)
For Each oSh In oSl.Shapes
   
   With oSh
   
      iColor& = .Fill.ForeColor.RGB
      iRed& = iColor& Mod 256
      iGreen& = iColor& \ 256 Mod 256
      iBlue& = iColor& \ 65536 Mod 256
      
   On Error Resume Next
    oSh.TextFrame.TextRange.Text = " = RGB(" & iRed& & "," & iGreen& & "," & iBlue& & ")"
    oSh.TextFrame.TextRange.Font.Size = 8
   End With
   
Next

Set oSl = Nothing
End Sub

Useful ready to use VBA Functions. Share these useful functions with your friends

Useful VBA functions. More to be added

To submit useful VBA functions to this blog email VBAa2z.team@gmail.com
 
Option Explicit

Public Function FileExists(ByVal strFile As String, Optional bFindFolders As Boolean) As Boolean
   'more VBA @ https://www.youtube.com/vbaa2z
    Dim lngAttributes As Long
    lngAttributes = (vbReadOnly Or vbHidden Or vbSystem)

    If bFindFolders Then
        lngAttributes = (lngAttributes Or vbDirectory)
    Else
        Do While Right$(strFile, 1) = "\"
            strFile = Left$(strFile, Len(strFile) - 1)
        Loop
    End If
    On Error Resume Next
    FileExists = (Len(Dir(strFile, lngAttributes)) > 0)
End Function

Function FolderExists(sFile As Variant) As Boolean
   'more VBA @ https://www.youtube.com/vbaa2z
   On Error Resume Next
   If Len(sFile) > 0 Then
           FolderExists = (Len(Dir$(sFile, vbDirectory)) > 0&)
   End If
End Function

Public Function FileName(strPath As String) As String
   'more VBA @ https://www.youtube.com/vbaa2z
    FileName = Mid$(strPath, InStrRev(strPath, "\") + 1)
End Function

Function FileNameNoExt(strPath As String)
   'more VBA @ https://www.youtube.com/vbaa2z
   FileNameNoExt = Split(Mid(strPath, InStrRev(strPath, "\") + 1), ".")(0)
End Function

Function FilePath(strPath As String) As String
   'more VBA @ https://www.youtube.com/vbaa2z
   FilePath = Left(strPath, InStrRev(strPath, "\"))
End Function


Public Function TrailingSlash(varIn As Variant) As String
   'more VBA @ https://www.youtube.com/vbaa2z
   If Len(varIn) > 0& Then
      If Right(varIn, 1&) = "\" Then
      TrailingSlash = varIn
      Else
      TrailingSlash = varIn & "\"
      End If
   End If
End Function


Function WorksheetExists(shtName As String, Optional wb As Workbook) As Boolean
   'more VBA @ https://www.youtube.com/vbaa2z
    Dim sht As Worksheet

    If wb Is Nothing Then Set wb = ThisWorkbook
    On Error Resume Next
    Set sht = wb.Sheets(shtName)
    On Error GoTo 0
    WorksheetExists = Not sht Is Nothing
End Function


Function ListFiles(strPath As String)
   'more VBA @ https://www.youtube.com/vbaa2z
    Dim strFile
    strFile = Dir(strPath)
    Do While strFile <> ""
        Debug.Print strPath & strFile
        strFile = Dir
    Loop
End Function

Function IsWbOpen(x As String) As Boolean
   'can handler addin too;
   'more VBA @ https://www.youtube.com/vbaa2z
    Dim w As Workbook
        IsWbOpen = False
        On Error GoTo ErrHndler
        Set w = Workbooks(x)
        IsWbOpen = True
    Set w = Nothing
Exit Function
ErrHndler:
IsWbOpen = False
End Function

Function IsWbOpenByLOOP(wbName As String) As Boolean
   'more VBA @ https://www.youtube.com/vbaa2z
    Dim i As Long
    For i = Workbooks.Count To 1 Step -1
        If Workbooks(i).Name = wbName Then Exit For
    Next
    If i <> 0 Then IsWbOpenByLOOP = True
End Function


Function closewb(x As String) As Boolean
   'can handler addin too;
   'more VBA @ https://www.youtube.com/vbaa2z
    Dim w As Workbook
        closewb = False
        On Error GoTo ErrHndler
        Set w = Workbooks(x)
        w.Close False
        closewb = True
    Set w = Nothing
Exit Function
ErrHndler:
closewb = False
End Function

VBA to combine PDFs into one PDF file




VBA to combine PDFs into one PDF file
Here's free e-course of PDF Automation using VBA: link


Option Explicit
Sub CombinePDFsTest()
Dim lr&, j&, myArrFiles() As String

lr = Sheets("Sheet1").Range("A" & Rows.Count).End(xlUp).Row 'A as primary key
ReDim myArrFiles(lr) As String

For j = 2 To lr
   myArrFiles(j - 2) = Sheets("Sheet1").Cells(j, 1)
Next

Call CombinePDFs(myArrFiles, "C:\Users\M515269\Desktop\final\existingFileName_toCombineHere.pdf", _
   "C:\Users\M515269\Desktop\final\final_combined_file_name.pdf")

End Sub

Public Function CombinePDFs(arrFiles() As String, path_docPC_combineTo As String, path_saveAs_final As String) As Boolean

Dim DestinationPDF As Acrobat.CAcroPDDoc
Dim SourcePDF As Acrobat.CAcroPDDoc
Dim docpc_final As Acrobat.CAcroPDDoc


Dim i As Integer
Dim failedCount As Integer

On Error GoTo AcrobatAPI_Missing:

Set DestinationPDF = CreateObject("AcroExch.PDDoc")
Set SourcePDF = CreateObject("AcroExch.PDDoc")
Set docpc_final = CreateObject("AcroExch.PDDoc")

docpc_final.Open path_docPC_combineTo
    For i = LBound(arrFiles) + 1 To UBound(arrFiles)
SourcePDF.Open (arrFiles(i))
If docpc_final.InsertPages(docpc_final.GetNumPages - 1, SourcePDF, 0, SourcePDF.GetNumPages, 0) Then CombinePDFs = True Else failedCount = failedCount + 1 End If SourcePDF.Close Next i docpc_final.Save 1, path_saveAs_final docpc_final.Close Set SourcePDF = Nothing Set docpc_final = Nothing AcrobatAPI_Missing: If failedCount <> 0 Then CombinePDFs = False End If On Error GoTo 0 End Function

VBA to print specified pages only

Sample VBA program on how to Print specified pages only.
Also check this free e-course on == > PDF Automation using VBA

Dim printErr As Integer
Dim app As New Acrobat.AcroApp
Dim docAC As New Acrobat.AcroAVDoc
Dim docPD As Acrobat.AcroPDDoc
 
docAC.Open FilePath, ""
printErr = docAC.PrintPagesSilent(0, 2, 2, 0, 0)
docAC.Close 1
docPD.Close
 
Set docPD = Nothing
Set docAC = Nothing
Set app = Nothing

VBA Automation Free e-course

Friends, here is a list of Advanced VBA Programming Tutorials you might have missed.
Simplified step by step tutorials for VBA Developers. 

TutorialsLink
Professional UI Designs using VBAView
Excel Automation using VBAView
Access Automation using VBAView
PowerPoint AutomationView
Google Sheet and VBAView
Google Drive and VBA View
Web Excel AutomationView
Transition from VBA .NET / VSTOView
Word AutomationView
SharePoint Server Automation using VBAView
SQL Server Automation using VBAView
RibbonX Automation using VBAView
Custom Menu Automation using VBAView
VBE Editor Code GeneratorView
PDF Automation Automation using VBAView
Web Automation using VBAView
Email Automation using VBAView
Passwords ResetView
Develop Office Solutions View
Date Picker for Excel 32-Bit and 64-BitView
Practical VBA Class Implementation courseView
Excel Add-inView
PowerPoint Add-inView
Word AddinView
Working with Database using .NET VB AND C#View
Planning Analytics / TM1View

XML Source Code for PowerPoint Automation using VBA

Related Video: https://www.youtube.com/watch?v=s9HE5uIGYAI

 

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Ini">					
<ribbon>				
<tabs>			
	<tab id="vbaa2zTAB523423" label="pUtilities™" insertAfterMso="TabHome">
	<group id="IDXgroup1" label="About">			
		<separator  id="IDXSeparator1" />			
		<labelControl id="myLabel1" getLabel="getLabel"/>		
		<labelControl id="myLabel2" getLabel="getLabel"/>			
		<button id="IDs12" size="normal" imageMso="HyperlinkOpenExcel" label="Youtube.com/VbaA2z" onAction="BX2"/> 
	</group>
	<group id="IDXgroup3" label="Quick Shapes">			
		<buttonGroup id="a">
		<button id="ID1" onAction="BX1" image="square_111076"/>
		<button id="ID2" onAction="BX1" image="rectangle_icon_144162"/>
		<button id="ID3" onAction="BX1" image="triangle"/>
		<button id="ID4" onAction="BX1" image="circleperfect"/>
		</buttonGroup>
		<buttonGroup id="b">
		<button id="ID5" onAction="BX1" image="hexagon_icon_128839"/>
		<button id="ID6" onAction="BX1" image="roatesq"/>
		<button id="ID7" onAction="BX1" image="d_circle"/>
		<button id="ID8" onAction="BX1" image="t"/>
		</buttonGroup>
		<buttonGroup id="xb">
		<button id="IDx5" onAction="BX1" image="geo"/>
		<button id="IxD6" onAction="BX1" image="geo2"/>
		<button id="IxD7" onAction="BX1" image="geo3"/>
		<button id="IxxD8" onAction="BX1" image="geo4"/>
		</buttonGroup>
	</group>
	<group id="IDXgroup31" label="Animation">			
		<button id="ID10" size="normal" label="Remove All Animation(s)" imageMso="TraceRemoveAllArrows" onAction="BX1"/> 
		<button id="ID11" size="normal" label="Add Delay Time" onAction="BX1"/> 
		<button id="ID12" size="normal" label="Reduce Delay Time" onAction="BX1"/> 
		<labelControl id="ID15" getLabel="getLabel"/>
		<editBox id="ID13" getText="editBox_getText" onChange="editBox_onChange" sizeString="WWW"/>
		<editBox id="ID14" getText="editBox_getText" onChange="editBox_onChange" sizeString="WWW"/>
	</group>
	<group id="IDXgrxxoup1" label="Export Slide(s)">			
		<button id="IDxxgssx1c2" size="large" image = "image_23823" label="Export Image" onAction="BX2"/> 
		<separator  id="IDXSeparator1s" />
		<button id="IDxxssxg1c2" size="large" image = "a3" label="Export Video" onAction="BX2"/> 
		<separator  id="IDXSeparator1h" />
		<button id="IsDgxsxx1c2" size="large" image = "a2" label="Export PDF" onAction="BX2"/> 
	</group>

	<group id="customGrxoup" label="Icons Gallary">

			<separator  id="IxxDXSepazzrator1s" />

			<menu id="UserPrefsMenu" itemSize="normal" size="large" image = "po" label="More Icons">
			<gallery id="MonthGaldlery" image = "pop" itemWidth="70" itemHeight="80" label="Business" columns="2" rows="4" onAction="Gallery_OnAction">	
					<item id="cvbnmn6" label="Blue" imageMso="OrganizationChartAutoLayout"/>	
					<item id="cvbnmn7" label="Blue" imageMso="OrganizationChartAutoLayout"/>	
					<item id="cvbnmn8" label="Blue" imageMso="OrganizationChartAutoLayout"/>	
					<item id="cvbnmn9" label="Blue" imageMso="OrganizationChartAutoLayout"/>	
					<item id="cvbnmn10" label="Blue" imageMso="OrganizationChartAutoLayout"/>	
					<item id="cvbnmn11" label="Blue" imageMso="OrganizationChartAutoLayout"/>	
					<item id="cvbnmn12" label="Blue" imageMso="OrganizationChartAutoLayout"/>	
					<item id="cvbnmn13" label="Blue" imageMso="OrganizationChartAutoLayout"/>	
			</gallery>	

			<gallery id="MonthGalydlery" image = "owl" itemWidth="70" itemHeight="80" label="Animals" columns="4" rows="14" onAction="Gallery_OnAction">
					<item id="ssscc6" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc7" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc8" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc9" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc10" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc11" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc12" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc13" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc14" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc15" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc16" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc17" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc18" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc19" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc20" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc21" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc22" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc23" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc24" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc25" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc26" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc27" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc28" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc29" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc30" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc31" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc32" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc33" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc34" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc35" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc36" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc37" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc38" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc39" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc40" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc41" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc42" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc43" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc44" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc45" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc46" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc47" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc48" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc49" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc50" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc51" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc52" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc53" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc54" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc55" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc56" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc57" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc58" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc59" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc60" imageMso="OrganizationChartAutoLayout"/>
					<item id="ssscc61" imageMso="OrganizationChartAutoLayout"/>
			</gallery>

			<gallery id="dfg456456" image = "com" itemWidth="70" itemHeight="80" label="Computer" columns="4" rows="14" onAction="Gallery_OnAction">	
					<item id="fgn4566" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn4567" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn4568" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn4569" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45610" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45611" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45612" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45613" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45614" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45615" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45616" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45617" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45618" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45619" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45620" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45621" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45622" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45623" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45624" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45625" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45626" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45627" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45628" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45629" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45630" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45631" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45632" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45633" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45634" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45635" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45636" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45637" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45638" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45639" imageMso="OrganizationChartAutoLayout"/>
					<item id="fgn45640" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45641" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45642" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45643" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45644" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45645" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45646" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45647" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45648" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45649" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45650" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45651" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45652" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45653" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45654" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45655" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45656" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45657" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45658" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45659" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45660" imageMso="OrganizationChartAutoLayout"/>	
					<item id="fgn45661" imageMso="OrganizationChartAutoLayout"/>	
			</gallery>	

			<gallery id="MyGalleryx" imageMso = "RmsImportanceCheck" itemWidth="70" itemHeight="70" label="Add" columns="4" rows="18" onAction="Gallery_OnAction"> 

					<item id="Month1" label="LayoutLargeObject"/> 
					<item id="Month2" label="LayoutMixed"/> 
					<item id="Month3" label="LayoutCustom"/> 

					<item id="Month4" label="LayoutTitle"/> 
					<item id="Month5" label="LayoutVerticalText"/> 
					<item id="Modnth6" label="LayoutTable"/>

					<item id="Mondth4x" label="SlideSize35MM"/> 
					<item id="Month5x" label="SlideSizeA3Paper"/> 
					<item id="Month6x" label="SlideSizeB5JISPaper"/>

					<item id="Mxzondtth4x" label="AnimateByWord"/> 
					<item id="Mzonth5x" label="AnimateUnitMixed"/> 
					<item id="Mzonth6x" label="AnimateByCharacter"/>

					<item id="idxtem2d" image="po" />
					<item id="idtemw3d" image="imgx" />

					<item id="idtem2d" image="I48" />
					<item id="idtem3d" image="I49" />
					<item id="idtem1d" imageMso="MailMergeMergeFieldInsert" />
					<item id="idtedm4d" image="I50" />
					<item id="item1xd" imageMso="MacroConditions" />
					<item id="item2xd" imageMso="ReadingViewToolsMenu" />

					<item id="idtexm3d" imageMso="MacroNames" />
					<item id="itecdxm4d" imageMso="OrganizationChartSelectLevel" />
					<item id="iddtexm4d" imageMso="GroupChangesExcel" />

					<item id="idtem1" imageMso="MailMergeMergeFieldInsert" />
					<item id="idtem2" imageMso="OrganizationChartSelectAllConnectors" />
					<item id="idtem3" imageMso="GoLtrDown" />

					<item id="idtedm4" imageMso="OrganizationChartAutoLayout" />
					<item id="item1x" imageMso="MacroConditions" />
					<item id="item2x" imageMso="ReadingViewToolsMenu" />

					<item id="idtexm3" imageMso="MacroNames" />
					<item id="itecdxm4" imageMso="OrganizationChartSelectLevel" />
					<item id="iddtexm4" imageMso="GroupChangesExcel" />

					<item id="idtem1s" imageMso="MailMergeMergeFieldInsert" />
					<item id="idtem3s" imageMso="GoLtrDown" />

					<item id="idtedm4s" imageMso="OrganizationChartAutoLayout" />
					<item id="item1xs" imageMso="MacroConditions" />
					<item id="item2xs" imageMso="ReadingViewToolsMenu" />

					<item id="idtexm3s" imageMso="MacroNames" />
					<item id="itecdxm4s" imageMso="OrganizationChartSelectLevel" />
					<item id="iddtexm4s" imageMso="GroupChangesExcel" />

					<button id="InsertMonthButton" label="AnimTypeColor" imageMso="SmartArtStylesGallery" onAction="InsertTheMonth"/>
					<button id="InsertMonthButtonx" label="AnimTypeMixed" imageMso="ObjectSendToBack" onAction="InsertTheMonth"/>
					<button id="InsertMonthButtonx1" label="AnimTypeMotion" imageMso="ConvertToSmartArt" onAction="InsertTheMonth"/>
					<button id="InsertMonthButtons" label="AnimTypeNone" imageMso="ChartLines" onAction="InsertTheMonth"/>
					<button id="InsertMonthButtsons" label="AnimTypeProperty" imageMso="MarginsAdjust" onAction="InsertTheMonth"/>

			</gallery> 

			</menu>
	</group>
			<group id="xcvbnmbhjyrety" label="Settings">
				<button id="Setztingsid1" size="large" label="Settings" onAction="mastercode" imageMso="ControlToolboxOutlook"/>
				<separator  id="IDXSepazzrator1s" />
				<button id="Abzoutid1" size="large" label="About" onAction="mastercode" imageMso="Info"/>
				<separator  id="IDXzzSeparator1s" />
				<button id="Hezlpid1" size="large" label="Help" onAction="mastercode" imageMso="WorkflowPending"/>
			</group>
	</tab>
	</tabs>
</ribbon>				
</customUI>