+ Reply to Thread
Results 1 to 5 of 5

Please help me find the bug (very short code)

  1. #1
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Boston, MA
    MS-Off Ver
    Office 2010
    Posts
    172

    Please help me find the bug (very short code)

    Hi,

    Can anyone tell me why this won't work? I'm getting an error at Selection.EntireRow.Delete that says "Cannot shift cells in a filtered range or table."

    Please Login or Register  to view this content.
    Thanks!

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Please help me find the bug (very short code)

    Is this being run on a sheet that is a table?
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Boston, MA
    MS-Off Ver
    Office 2010
    Posts
    172

    Re: Please help me find the bug (very short code)

    Yes, it's a table

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Please help me find the bug (very short code)

    The way I understand it, you cannot shift cells on a filtered sheet (Table). You have to un-filter the range first.

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Please help me find the bug (very short code)

    Hi AstToTheRegionalMGR

    Try this
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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. short a long code with loop
    By Mamud in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-04-2014, 05:16 PM
  2. Userform find/search text, can i make it's short code ?
    By johnreid7477 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-03-2014, 04:28 PM
  3. Error in Code. Very short...please assist. Thanks
    By simplificated in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2013, 10:04 AM
  4. [SOLVED] debugging short piece of code
    By umbata in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-04-2013, 04:08 PM
  5. [SOLVED] Could you please check why the code (it's short) does not work...
    By Shishek in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-2013, 12:37 PM
  6. Why isn't this short code working?
    By larryg003 in forum Excel General
    Replies: 2
    Last Post: 08-20-2010, 06:16 PM
  7. short in in code
    By matrixknow in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2007, 07:37 AM
  8. [SOLVED] need short cuts in the find option
    By Trisher75 in forum Excel General
    Replies: 6
    Last Post: 03-03-2005, 08:58 PM

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