+ Reply to Thread
Results 1 to 2 of 2

Adding and Deleting Rows with a Hide Row Macro CheckBox

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    New Orleans, LA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Post Adding and Deleting Rows with a Hide Row Macro CheckBox

    Hello

    I currently have the following Macro for one of my many checkboxes in 2007 Excel:

    Please Login or Register  to view this content.
    It works perfectly until additional rows are added/deleted before the indicated rows in the code (It changes the number sequence in the workbook). The number sequence stays the same in the code which means I am now hiding rows either before (delete rows) or after (insert rows) the intended rows I want to be hidden. Is there a way to change the above code to remain with the assigned rows regardless of the adding/deleting of rows before it?

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Adding and Deleting Rows with a Hide Row Macro CheckBox

    Name the range.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to hide/unhide rows using more than one checkbox
    By tsou in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-29-2013, 08:37 AM
  2. [SOLVED] Need Help with VBA Macro - adding/deleting rows (New to Macros)
    By sambuka in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2012, 11:56 AM
  3. Macro to hide/unhide rows using checkbox
    By jdp554 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-23-2011, 11:57 AM
  4. Macro cannot hide rows based on cell linked to checkbox
    By fernaldd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-04-2009, 11:46 AM
  5. hide rows from checkbox
    By Qaspec in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2005, 05:43 PM

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