Hi Guillermo!
You are the champ!!! The code you supplied worked like a charm! Thanks so
much,
Andy
"Guillermo_Lopez" <g.lopez@iesdr.comwrote in message
news:57445774-61db-457a-acfb-2e437626a0f5@x30g2000hsd.googlegroups.com...
On Mar 12, 5:54 pm, "ARC" <PCES...@PCESoft.invalidwrote:
Quote:
I'm using code, unfortunately.
>
Basically, I have a proc that's generating html code, and after it
generates
and I save, I want to launch the file.
>
By the way, changing from Write to Print worked like a charm, thanks!
>
Now I just need to solve the error 5, invalid procedure call when
shelling...
>
Andy"Rich P" <rpng...@aol.comwrote in message
>
news:1205357878_2@news.newsfeeds.com...
>
>
>
Quote:
try adding a hyperlink label (or whatever the hyperlink control is) to
your form. That should do it.
>
>
Quote:
*** Sent via Developersdexhttp://www.developersdex.com***- Hide quoted
text -
>
- Show quoted text -
use this instead:
Shell("Explorer C:\Path\Filename.html",1).
if that doesn't work, try to Google ShellExecute. it is not included
in VBA but you can add the library. there are many articles that have
the module you need to add to include ShellExecute.