+ Reply to Thread
Results 1 to 3 of 3

Hide Unhide Macro changes as rows are added

  1. #1
    Registered User
    Join Date
    06-20-2013
    Location
    United States
    MS-Off Ver
    Excel for Mac 2011
    Posts
    11

    Hide Unhide Macro changes as rows are added

    I have this code that works well to hide and unhide the selected rows. But if rows are added above I want the selected range to change in the macro. How do i do this?


    Please Login or Register  to view this content.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Hide Unhide Macro changes as rows are added

    Hi, ando,

    give a Name to Range A431 to A460 (here mySel) and try this code
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Last edited by HaHoBe; 06-25-2013 at 01:15 PM.
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    06-20-2013
    Location
    United States
    MS-Off Ver
    Excel for Mac 2011
    Posts
    11

    Re: Hide Unhide Macro changes as rows are added

    Thanks! This works perfectly!

+ 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