Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I want to open a Word file using an Excel macro, but it doesn't work as I want. I get the message: This file is locked for editing by another user....." It must have something to do with the macro, because the file is not locked or already open. How can I avoid this message? Dim wdApp As Object Dim wdDoc As Object Set wdApp = CreateObject("Word.application") wdApp.Visible = True Set wdDoc = wdApp.Documents.Open _ (Filename:="C:\Documents and Settings\XXX\Desktop\test.doc") Regards Kaj Pedersen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Open new Word file via Excel | Excel Programming | |||
open word from excel...file does not exist error | Excel Programming | |||
Using an Excel macro to open a Word File | Excel Programming | |||
Open One Word File from Excel | Excel Programming | |||
Graph Excel Selection, Open Word File, Embed Graph Into Word | Excel Programming |