How to start macro when web opens?

B

Bill James

Your question is a little vague but...

If you are using ASP you can use the Session_OnStart
event procedure imbedded in Global.asa. That event is
fired once when a new Session is started (not for every
page).

Otherwise you can use the HTML onload event to associate
a script for every time the page is displayed. This can
be disabled if the client disables active scripting
though.

Example:
<script language="VBScript"><!--
Sub Window_OnLoad()
' do something here
End Sub
-->
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top