user

VBA Excel

Excelセルの結合を調べる

For Each c In Cells(1, 1).MergeArea If c.Address(0, 0) = "B2" Then MsgBox "結合されています" End If Next c
AWS

DB作成時の注意点

DB作成時は必ず公開をプライベートからパブリックへ、VP4アクセス用の権限を与える。
C#

C#自身のパス

//ファイル名を含むフルパスと、フォルダのパス MessageBox.Show(Application.ExecutablePath + "\n" + Application.StartupPath);
VBA Access

Accessデフォルトフォルダを自身のフォルダに変更

○デフォルトはマイドキュメント ①ネットワークフォルダに非対応 ChDir CurrentProject.Path ②対応 With CreateObject("WScript.Shell") .CurrentDirectory = Cur...
VBA Excel

Excel値だけを消す

Sheet1.Range("A4:IV65536").ClearContents