+ Reply to Thread
Results 1 to 2 of 2

VBA to run on load

  1. #1
    Registered User
    Join Date
    08-24-2005
    Posts
    11

    VBA to run on load

    Hi

    First question is how to create a macro that will run when the XLS is loaded.

    Thanks
    Robert

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483
    do you mean when you open your workbook?

    you need the macro in the workbook open module

    check out this site to find out where this is..

    http://www.contextures.com/xlvba01.html#Workbook


    Private Sub Workbook_Open()
    'your code here
    End Sub

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1