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

Hi,

Is there any way to open a word file from excel?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default openning word

Hi there,

How about this:

Sub OpenWord()
Shell "winword.exe", vbMaximizedFocus
End Sub

Cheers,
Foss

-----Original Message-----
Hi,

Is there any way to open a word file from excel?
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default openning word

Set objWd= CreateObject("Word.Application"
objWd.Open "fully qualified file name"
objWd.Visible = tru
set objWd = Nothin

Starts Word, opens a document and leaves it in the task bar for the use to use/close.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default openning word

This works very well to open word, but is there any way
to open a specific word file, i just keep getting a
runtime 5 error.


-----Original Message-----
Hi there,

How about this:

Sub OpenWord()
Shell "winword.exe", vbMaximizedFocus
End Sub

Cheers,
Foss

-----Original Message-----
Hi,

Is there any way to open a word file from excel?
.

.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default openning word

How about this one?

Sub OpenWord()
Shell "winword.exe " & Chr(34) & "C:\address.doc" & Chr
(34), vbMaximizedFocus
End Sub

This works for me..

Cheers,
Foss

-----Original Message-----
This works very well to open word, but is there any way
to open a specific word file, i just keep getting a
runtime 5 error.


-----Original Message-----
Hi there,

How about this:

Sub OpenWord()
Shell "winword.exe", vbMaximizedFocus
End Sub

Cheers,
Foss

-----Original Message-----
Hi,

Is there any way to open a word file from excel?
.

.

.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default openning word

Works Perfectly, Thanks Foss.


-----Original Message-----
How about this one?

Sub OpenWord()
Shell "winword.exe " & Chr(34) & "C:\address.doc" & Chr
(34), vbMaximizedFocus
End Sub

This works for me..

Cheers,
Foss

-----Original Message-----
This works very well to open word, but is there any way
to open a specific word file, i just keep getting a
runtime 5 error.


-----Original Message-----
Hi there,

How about this:

Sub OpenWord()
Shell "winword.exe", vbMaximizedFocus
End Sub

Cheers,
Foss

-----Original Message-----
Hi,

Is there any way to open a word file from excel?
.

.

.

.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default openning word

Glad to hear it

----- anthony wrote: ----

Works Perfectly, Thanks Foss


-----Original Message----
How about this one
Sub OpenWord(

Shell "winword.exe " & Chr(34) & "C:\address.doc" & Ch
(34), vbMaximizedFocu
End Su
This works for me.
Cheers

Fos
-----Original Message----

This works very well to open word, but is there any way
to open a specific word file, i just keep getting a
runtime 5 error
-----Original Message----
Hi there
How about this
Sub OpenWord(
Shell "winword.exe", vbMaximizedFocu
End Su
Cheers
Fos
-----Original Message----
Hi
Is there any way to open a word file from excel





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
how do I set up the openning type of file Alberto Sanchez Excel Discussion (Misc queries) 0 July 7th 09 04:26 PM
Openning spesific file in Excel Farhad Excel Discussion (Misc queries) 1 November 29th 07 02:11 PM
Openning a new document Jeffrey Excel Discussion (Misc queries) 4 July 17th 05 02:38 PM
Openning an .csv file hbarniv Excel Discussion (Misc queries) 4 December 1st 04 12:29 AM
openning spreadsheet Alex[_13_] Excel Programming 2 April 23rd 04 05:12 PM


All times are GMT +1. The time now is 11:49 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"