george hart
Board Regular
- Joined
- Dec 4, 2008
- Messages
- 241
I'm trying to open an existing word doc where I then need to copy and paste data from an Excel file.
When running the code below I keep getting a message saying it's in use and goving my the option to open as read only etc?? Any idea how I can stop this??
Set wordapp = CreateObject("word.Application")
wordapp.Documents.Open "C:\Documents and Settings\HartG\My Documents\Dave Slater\HSS Fleet Report 0500.doc"
wordapp.Visible = True
End Sub
When running the code below I keep getting a message saying it's in use and goving my the option to open as read only etc?? Any idea how I can stop this??
Set wordapp = CreateObject("word.Application")
wordapp.Documents.Open "C:\Documents and Settings\HartG\My Documents\Dave Slater\HSS Fleet Report 0500.doc"
wordapp.Visible = True
End Sub