Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Amy Amy is offline
external usenet poster
 
Posts: 165
Default VB directing IE to a local site's html page


Hi,

I am using Excel, Internet Explorer, and Visual Basic to create an academic
demonstration. I want to reduce the demonstration to a CD that I can port to
any Windows machine and, using that machines Excel program, perform the demo
for the owner of that computer. This means that I cannot anticipate the drive
letter associated with the as-yet-unknown computers CD drive.

I need advice on the VB code for a subroutine to be invoked by clicking a
button in an Excel workbook. When that button is clicked, I want to €¦

1. Create an Internet Explorer Application.

2. Direct the Explorer to navigate to a given html page that is resident on
the CD.

The html will be part of a complete FrontPage website that will be in the My
Webs folder on the CD. All the links and references within the local site are
relative.

I can make this work in terms of causing the Explorer to navigate to the
site as it resides on the wwweb; but cannot figure out what to do when the
site is on the same drive as the workbook.

Thanx

Amy


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default VB directing IE to a local site's html page

look at

thisworkbook.path

Tim.

--
Tim Williams
Palo Alto, CA


"Amy" wrote in message
...

Hi,

I am using Excel, Internet Explorer, and Visual Basic to create an

academic
demonstration. I want to reduce the demonstration to a CD that I can port

to
any Windows machine and, using that machine's Excel program, perform the

demo
for the owner of that computer. This means that I cannot anticipate the

drive
letter associated with the as-yet-unknown computer's CD drive.

I need advice on the VB code for a subroutine to be invoked by clicking a
button in an Excel workbook. When that button is clicked, I want to .

1. Create an Internet Explorer Application.

2. Direct the Explorer to navigate to a given html page that is resident

on
the CD.

The html will be part of a complete FrontPage website that will be in the

My
Webs folder on the CD. All the links and references within the local site

are
relative.

I can make this work in terms of causing the Explorer to navigate to the
site as it resides on the wwweb; but cannot figure out what to do when the
site is on the same drive as the workbook.

Thanx

Amy




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
Export data from Excel to a local web page GS Excel Discussion (Misc queries) 0 October 23rd 09 04:04 AM
Can a chart reference the local page Mike H Charts and Charting in Excel 3 May 30th 06 12:58 AM
VBA to save a web page to local disk Ron Excel Discussion (Misc queries) 0 April 26th 06 05:18 PM
Reference styles and local/non-local formulae - international problems. Alan Howells[_2_] Excel Programming 2 February 24th 04 09:52 AM
open/save excel on a local web page as an activex behzad Excel Programming 0 September 15th 03 07:32 AM


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