|
| |
|
|
cathy
Posts: 2 From: Colorado Springs, CO, USA Status: offline
|
Start Word from FrontPage that has asp code - 4/6/2001 14:00:00
I have created a subroutine in VBE that starts Word, but how do I get that subroutine to execute when the page is displayed in IE? In VBE, it executes when I select "Run" and it executes from FrontPage when I select Tools->Macro and then select the macro. But how do I get the macro to run when the user selects a button or hyperlink? Please don't suggest that I use the technique described in this article http://msdn.microsoft.com/workshop/languages/clinic/scripting10162000.asp I've struggled with that for 2 days and can't get it to work. My sub is: Sub Doc_Print() Dim objWord As Word.Application 'Word object Set objWord = New Word.Application objWord.Visible = True End Sub
|
|
|
|
Spooky
Posts: 26617 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Start Word from FrontPage that has asp code - 4/6/2001 20:50:00
Does : <% Call Doc_Print() %>Work when on that asp page? If so, place that function as a result of a form action > submit to a page that runs that function ------------------ Spooky "I am Spooky of Borg. Prepare to be assimilated, babycakes!" Subscribe to OutFront News Database / DRW Q & A The Spooky Login!
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|