Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Openning other files from VBA

How would i open a file such as

"C:\work\images\preview.htm"

I have been experimenting with shell but can't get anything to work

I am using Excel97 on XP home



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Openning other files from VBA

Why not just open it in Excel, as any other file?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Stuart" wrote in message
...
How would i open a file such as

"C:\work\images\preview.htm"

I have been experimenting with shell but can't get anything to work

I am using Excel97 on XP home





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 139
Default Openning other files from VBA

Stuart:

try ,FollowHyperlink Method


Link = "C:\work\images\preview.htm"
ActiveWorkbook.FollowHyperlink Address:=Link, NewWindow:=True

--
天行健,君*以自強不息
地勢坤,君*以厚德載物

http://www.vba.com.tw/plog/


"Stuart" wrote:

How would i open a file such as

"C:\work\images\preview.htm"

I have been experimenting with shell but can't get anything to work

I am using Excel97 on XP home




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
Update link without openning the source/destination files jwang036 Excel Worksheet Functions 2 March 28th 08 08:23 AM
Openning Excel Files takes too long rook Excel Discussion (Misc queries) 1 April 24th 06 10:05 PM
Openning a new document Jeffrey Excel Discussion (Misc queries) 4 July 17th 05 02:38 PM
openning word anthony Excel Programming 6 June 3rd 04 02:16 PM
openning spreadsheet Alex[_13_] Excel Programming 2 April 23rd 04 05:12 PM


All times are GMT +1. The time now is 05:35 AM.

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"