どうせ誰も読んでない( *゚∀゚)v―.o.oo

だれも読んでないと思って勝手なことを!

2023-04-14から1日間の記事一覧

Excel VBAを使用してファイルオープンダイアログから指定したフォルダ内のPowerPointファイルを任意に選択し、すべてのテキストを黒に変更し、PDFに変換する

Sub ConvertSelectedPowerPointToPDF()Dim ppApp As ObjectDim ppPres As ObjectDim ppSlide As ObjectDim shp As ObjectDim txtRng As ObjectDim fileExtension As StringDim fileName As StringDim filePath As StringDim pdfPath As StringDim objFSO As …

パワーポイントで全てのテキストを一括選択し、文字色を黒に変更する

パワーポイントで全てのテキストを一括選択するためのVBAマクロ Sub SelectAllText()Dim sld As SlideDim shp As ShapeDim txtRng As TextRangeFor Each sld In ActivePresentation.SlidesFor Each shp In sld.ShapesIf shp.HasTextFrame ThenSet txtRng = s…

Excel VBAから指定フォルダ内のPDFファイルを複数選択し、それらをCubePDFでマージする

Sub MergePDFsUsingCubePDF()Dim FolderPath As StringDim FileList() As StringDim i As IntegerDim PDFFileName As StringDim OutputFilePath As String'指定フォルダを選択するWith Application.FileDialog(msoFileDialogFolderPicker).AllowMultiSelect …

Excel VBAで指定フォルダから複数のパワーポイントファイルを選択し、それらを白黒PDFで印刷する

Office 365に対応しています。 Sub PrintPowerPointToPDF()Dim ppApp As Object ' PowerPoint ApplicationDim ppPres As Object ' PowerPoint PresentationDim ppSlide As Object ' PowerPoint SlideDim fileDialog As Object ' FileDialog objectDim select…