Archive for category Office
フィールド更新 VBA
in Word on 2007/10/25
For Each aStory In ActiveDocument.StoryRanges aStory.Fields.Update Next aStory
複数ファイル取得 VBA
in Word on 2007/10/24
GetOpeFilename が Word にはないので、
Excelを利用するらしい。
Sub test()
Dim varFile As Variant
With CreateObject("Excel.application")
varFile = .GetOpenFilename(FileFilter:="Wordファイル,*.doc", MultiSelect:=True)
End With
End Sub

