+ Reply to Thread
Results 1 to 1 of 1

Shapes Appear to be Locked to Hidden Cells when Auto Filter is Used

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    Shapes Appear to be Locked to Hidden Cells when Auto Filter is Used

    I wrote a macro to place a semi transparent box (Rectangle 1) around the previous visible row and (Rectangle 2) around the next visible row of my active cell as well as many other things. My code runs as expected until I use the autofilter function. When I use the autofilter, one of two things happen,
    1) If Rectangle 1 & 2 are in rows that remain visible after the filter is enabled the code executes as is expected by placing Rectangle 1 in the previous visible row and placing Rectangle 2 in the next visible row.
    2) If either Rectangle 1 or 2 are in a row that will be hidden after the filter is enabled, the affected Rectangles appear to get locked into the hidden area and thus are no longer visible and free to move to the previous and next visible rows
    I have tested my code to ensure that the proper row offsets are being passed and it appears that they are. Is there a way to either keep the Rectangles from getting locked into hidden cells or if they do get locked into hidden cells, break them out again so they are able to be seen and move appropriately? I have attached my code below as well as a dummy version of my spread sheet.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by NCHorst; 08-18-2015 at 09:16 AM. Reason: Forgot to upload the attachment.

+ 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. Replies: 0
    Last Post: 01-22-2014, 01:53 PM
  2. Delete Rows hidden by either Auto Filter and Advanced Filter
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2013, 10:29 AM
  3. Use Auto Filter on Protected Sheet with Locked Cells
    By lsargent in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-28-2013, 04:14 AM
  4. Locked cells with VBA - wanting ability to filter
    By No.Solutions. in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2011, 05:51 AM
  5. Auto Hide/Show & Pasting, which ignores locked cells.
    By Trezier in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-24-2010, 12:40 PM
  6. choose Locked & Hidden :Hidden Cells
    By Khalil Handal in forum Excel General
    Replies: 2
    Last Post: 12-14-2005, 04:50 PM
  7. how can identify locked/hidden cells at a glance
    By Merlin in forum Excel General
    Replies: 2
    Last Post: 03-28-2005, 02:06 PM
  8. [SOLVED] How can i get more 3D shapes for Auto shapes in excel?
    By Ajey in forum Excel General
    Replies: 0
    Last Post: 03-03-2005, 06:06 AM

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