Interacting with Explorer

  • Thread starter Thread starter Tom Ridd
  • Start date Start date
T

Tom Ridd

I'm implementing a quick and dirty help file approach where clicking a help
button on a form pops up a web page

Basic line goes
Shell "C:\Windows\Explorer.exe c:\manual.htm"

Anyway it would be convenient if I could pop up the web page at a particular
bookmark on the page, something like...
Shell "C:\Windows\Explorer.exe c:\manual.htm#StepTwo"

Except this doesn't work because that isn't a file name. I'm sure there must
be a way of doing this. Any ideas?

Cheers in advance,

Tom
 
Tom,

You want to shell to Internet Explorer, not Windows Explorer.
E.g.,

Shell "C:\Program Files\Internet Explorer\iexplore.exe
c:\manual.htm#StepTwo"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
Back
Top