Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have Vb running collecting some data in Excel and would
like for it to open a word document after it finish's. Is there a way to open a word document from within Excel's Vb. Michael |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this Michael
Set a reference to the Word ? object library Sub test() Dim WordApp As Object Set WordApp = CreateObject("Word.Application") WordApp.documents.Open "c:\Data\ron.doc" WordApp.Visible = True End Sub -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "Michael" wrote in message ... I have Vb running collecting some data in Excel and would like for it to open a word document after it finish's. Is there a way to open a word document from within Excel's Vb. Michael |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel trying to open word document | Excel Discussion (Misc queries) | |||
open word document in excel | Excel Discussion (Misc queries) | |||
what happens if I open an excel document in word? | Excel Discussion (Misc queries) | |||
open a new word document out of excel | Excel Programming | |||
open a word document in excel | Excel Programming |