+ Reply to Thread
Results 1 to 3 of 3

Perform same task on all worksheets in workbook

  1. #1
    Registered User
    Join Date
    07-15-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    77

    Perform same task on all worksheets in workbook

    Hi All

    I need to hide same rows on each worksheet in the workbook within a macro please.

    Rows to hide are: 1 to 400
    Then select cell A401

    I have tried to adapt the below code to do this for me but to no avail. Thanks for any help in advance.

    Please Login or Register  to view this content.
    Mark
    Last edited by markrennolds; 11-10-2010 at 11:24 AM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Perform same task on all worksheets in workbook

    Assuming your sheets are protected:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Perform same task on all worksheets in workbook

    Try this
    Change to suite.
    If the sheet is protected then add the unprotect code.
    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)

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