2020-02-14から1日間の記事一覧

ExcelVBAでExcel終了

'確認メッセージを表示させない Application.DisplayAlerts = False '保存 ActiveWorkbook.Save 'Excelを終了する Application.Quit ネタ元 https://excel-excel.com/tips/vba_185.html

ExcelVBAでタブオーダーの設定方法

フォームのエディタで メニュー>表示からタブオーダー選ぶだけ ネタ元 https://vba-beginner.com/vba1-8-3774/

ExcelVBAでフォルダ選択ダイアログ

With Application.FileDialog(msoFileDialogFolderPicker) .InitialFileName = "c:\" '初期フォルダ If .Show = True Then MsgBox = .SelectedItems(1) End If End With ネタ元 http://officetanaka.net/excel/vba/tips/tips39.htm http://www.excel.studio-…