+ Reply to Thread
Results 1 to 3 of 3

[SOLVED] Can I run a macro on loading?

  1. #1
    Ashnook
    Guest

    [SOLVED] Can I run a macro on loading?

    I want to run a macro to run VBA on loading the spreadsheet to, say,
    bring up a splash screen and then force a save under a new name before
    the user starts working with it.

    I cannot find an 'on load' command or anything which might do this.

    How can this be done?

    Thanks
    Brian

  2. #2
    Gary Keramidas
    Guest

    Re: Can I run a macro on loading?

    in the vb editor, click the thisworkbook in the project explorer and then select
    workbook from the general dropdown and open from the declaration dropdown.

    the code here will run when the workbook is opened

    --


    Gary


    "Ashnook" <brian@atashnookcdtfreeservedotcodotuk> wrote in message
    news:[email protected]...
    >I want to run a macro to run VBA on loading the spreadsheet to, say, bring up a
    >splash screen and then force a save under a new name before the user starts
    >working with it.
    >
    > I cannot find an 'on load' command or anything which might do this.
    >
    > How can this be done?
    >
    > Thanks
    > Brian




  3. #3
    Registered User
    Join Date
    02-24-2006
    Posts
    24
    or you could call your macro: Sub Auto_open()


    Quote Originally Posted by Ashnook
    I want to run a macro to run VBA on loading the spreadsheet to, say,
    bring up a splash screen and then force a save under a new name before
    the user starts working with it.

    I cannot find an 'on load' command or anything which might do this.

    How can this be done?

    Thanks
    Brian

+ 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