+ Reply to Thread
Results 1 to 2 of 2

what is the "formload" script for excel

  1. #1
    Registered User
    Join Date
    05-15-2009
    Location
    Springfield Missouri
    MS-Off Ver
    Excel 2003
    Posts
    46

    what is the "formload" script for excel

    I dont have any programming experience with excel. I do however with VB but cant figure out what the "formload" script is for excel. Im needing my workbook to open to a certain page when the file is open but it sometimes doesnt.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: what is the "formload" script for excel

    Good afternoon stin25
    Quote Originally Posted by stin25 View Post
    I dont have any programming experience with excel. I do however with VB but cant figure out what the "formload" script is for excel. Im needing my workbook to open to a certain page when the file is open but it sometimes doesnt.
    Excel will always open at the page it was last saved on. You can switch to this page on opening by using a macro like this in your ThisWorkbook module :
    Please Login or Register  to view this content.
    The Workbook_Open routine will fire when the file is opened.

    Remember, that if you get stuck with syntax with VBA (unlike VB.Net) you can just record a macro and work with that (Tools > Macro > Record New Macro).

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

+ 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