A
Adrian D. Bailey
I have a VBmacro that writes some webpages.
I want the last line of the macro to launch a browser to display the first
of the pages.
I've tried this...
dummy = Shell("iexplore " & Environ("temp") & "\showpeople1.htm",
vbNormalFocus)
....but I get File Not Found.
Oddly, if I replace "iexplore" with "notepad" it works, with Notepad
launching and showing me the HTML code.
Ideally, I'd like to launch the user's default browser - whether that's IE,
or Firefox or whatever.
Any tips, please?
--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
(e-mail address removed) Tel: 01509 223007 Fax: 01509 223940
Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263
--
I want the last line of the macro to launch a browser to display the first
of the pages.
I've tried this...
dummy = Shell("iexplore " & Environ("temp") & "\showpeople1.htm",
vbNormalFocus)
....but I get File Not Found.
Oddly, if I replace "iexplore" with "notepad" it works, with Notepad
launching and showing me the HTML code.
Ideally, I'd like to launch the user's default browser - whether that's IE,
or Firefox or whatever.
Any tips, please?
--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
(e-mail address removed) Tel: 01509 223007 Fax: 01509 223940
Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263
--