Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default open word document

i need to open microsoft word, open a .doc file, paste some info from excel,
then close word again with VBA.

i've been able to get word open, just not a specific document.

Any ideas?

kari
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default open word document

I am working on something like this also.
I have this so far to open I just cant save it yet

Sub ttt()
Dim wdapp As Object
WBPath = ThisWorkbook.Path
WBPathPlus = WBPath & "\Starting Files\Bidding information.doc"
Set wdapp = CreateObject("Word.Application")
With wdapp
.Documents.Open Filename:=WBPathPlus
.Visible = True
End With
Set wdapp = Nothing
End Su

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel trying to open word document tina Excel Discussion (Misc queries) 2 April 19th 07 02:16 PM
open a new word document Ciara Excel Discussion (Misc queries) 1 May 18th 05 11:04 AM
what happens if I open an excel document in word? Emily Excel Discussion (Misc queries) 3 April 2nd 05 10:49 AM
Open a word document in excel Michael[_29_] Excel Programming 1 March 2nd 04 09:58 PM
Open a Word Document Frank[_19_] Excel Programming 1 February 5th 04 08:09 PM


All times are GMT +1. The time now is 03:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"