Hi
I have been using the following code to open an Excel file. I wish to open a Word document - can i siply adjust this code? Ive tried but no luck...
rgrds
Set oapp = CreateObject("Excel.Application")
oapp.visible = true
Set wb = oapp.Workbooks.Open("C:\imports\testfile.xls")
set ws = wb.activesheet
I have been using the following code to open an Excel file. I wish to open a Word document - can i siply adjust this code? Ive tried but no luck...
rgrds
Set oapp = CreateObject("Excel.Application")
oapp.visible = true
Set wb = oapp.Workbooks.Open("C:\imports\testfile.xls")
set ws = wb.activesheet