+ Reply to Thread
Results 1 to 6 of 6

Offset and ShowAllData

  1. #1
    Registered User
    Join Date
    08-29-2016
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    41

    Offset and ShowAllData

    Dear all

    I have the following VBA

    Please Login or Register  to view this content.
    I have 2 questions.

    1) I would like to maintain 2 rows gap between the 2 tables. However, the offset function will delete 1 row. Is there any workaround besides adding a row?

    2) Is it possible to ShowAllData after .Offset(1).EntireRow.Delete instead of putting .AutoFilter x2?

    Attached below is the excel.

    Thanks and appreciate any help.
    Attached Files Attached Files
    Last edited by fantasylo; 02-15-2020 at 09:34 AM.

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Offset and ShowAllData

    For question 1
    Please Login or Register  to view this content.
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Offset and ShowAllData

    And why not
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    08-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, Office 365
    Posts
    467

    Re: Offset and ShowAllData

    Hi fantasylo

    ..maybe you should look at using SUBTOTAL

    see attached example

    (you could hide the 'helper' columns)

    zeddy
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-29-2016
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    41

    Re: Offset and ShowAllData

    Thank you PCI and zzzeddy!

  6. #6
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Offset and ShowAllData

    You're welcome and thx for the Rep.

+ 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. Macro Autofilter ShowAlldata does not work
    By WeirnetherlandsBart in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2013, 08:14 AM
  2. [SOLVED] ShowAllData - Filter
    By bcn1988 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2013, 12:38 PM
  3. Using ShowAllData on Filters
    By JezLisle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2010, 08:04 AM
  4. Repeatedly Using 'ShowAllData'
    By JONNY981 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2009, 11:24 AM
  5. Problem with funtion ShowAllData
    By oscar_acm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-10-2006, 07:04 PM
  6. [SOLVED] Troubles with ActiveSheet.ShowAllData
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-01-2006, 03:50 PM
  7. [SOLVED] ShowAllData
    By Pat in forum Excel General
    Replies: 3
    Last Post: 04-14-2005, 06:06 PM
  8. [SOLVED] ShowAllData in all workbooks and sheets
    By Robert Christie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-29-2005, 12:06 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