Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Sub Document_Open()
- If (ActiveDocument.SaveFormat = wdFormatRTF) Then
- 'Do some stuff
- End If
- End Sub
- dim word as new Word.Application
- dim doc as Word.Document
- doc = word.Documents.Open(fileName)
- MsgBox doc.FullName
- If Documents.Count > 0 Then
Add Comment
Please, Sign In to add comment