+ Reply to Thread
Results 1 to 3 of 3

Undo VBA code repeats only on table header for some reason. Can't figure out why.

  1. #1
    Registered User
    Join Date
    03-07-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003, 2007, & 2010
    Posts
    52

    Undo VBA code repeats only on table header for some reason. Can't figure out why.

    So I have a sheet that I am attempting to lock down certain cells with VBA. (I can't use the protect feature for this for a few reasons). The code I have appears to work just fine everywhere except for on a table header. It appears to repeat itself once essentially redoing the action it just undid and bringing the error message back up. Any ideas what I could do to fix this? Below is the code.

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    03-07-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003, 2007, & 2010
    Posts
    52

    Re: Undo VBA code repeats only on table header for some reason. Can't figure out why.

    Okay so I think I know why it is doing it. When I delete the header the table automatically fills in the "Column #" in place of it since it can't be blank. It is recognizing this as an action and undoing it. Any way I can prevent this from happening?

  3. #3
    Registered User
    Join Date
    03-07-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003, 2007, & 2010
    Posts
    52

    Re: Undo VBA code repeats only on table header for some reason. Can't figure out why.

    No suggestions on how I could fix this bug? Still open to any ideas 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