+ Reply to Thread
Results 1 to 2 of 2

Sorting data on workbook opening

  1. #1
    Registered User
    Join Date
    03-13-2010
    Location
    Bedfordshire, England
    MS-Off Ver
    Excel 2010
    Posts
    60

    Sorting data on workbook opening

    I have the following code which on workbook opening sets a password, sorts the data in a worksheet and hides some lines. I want to apply this to two other worksheets in the same workbook call YEAR ONE & FOUNDATION but cant seem to get it to work. Anybody got any advice or pointers. After the sorting I still need it to select cells A1:A5 in YEAR TWO worksheet.


    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    03-13-2010
    Location
    Bedfordshire, England
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: Sorting data on workbook opening

    I have tried the following hoping it would sort YEAR ONE then move to YEAR TWO worksheet and sort that but I get an error, I'm just starting out in VBA and don't really understand what is wrong.

    Any help gratefully recieved.


    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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