+ Reply to Thread
Results 1 to 3 of 3

Im New...if subtotal exists then remove. if subtotal doesnt exist do nothing

  1. #1
    Registered User
    Join Date
    01-30-2015
    Location
    Canada
    MS-Off Ver
    Office 2003
    Posts
    2

    Im New...if subtotal exists then remove. if subtotal doesnt exist do nothing

    I'm new and need help with VBA.

    Trying to remove subtotals with a command button.

    I have

    Please Login or Register  to view this content.
    Cant hit the button twice or get a run time error. Need help with this simple code.

    Thanks in advance.
    Last edited by FDibbins; 01-30-2015 at 04:49 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Im New...if subtotal exists then remove. if subtotal doesnt exist do nothing

    Hi, we3lcome to the forum

    I know its not much code, but please read Rule 3 of our Forum [/I]RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    I have added them for you - this time
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-30-2015
    Location
    Canada
    MS-Off Ver
    Office 2003
    Posts
    2

    Re: Im New...if subtotal exists then remove. if subtotal doesnt exist do nothing

    I apologize for not reading the rules. Thank you for adding, I will add in the future.

    Any chance you know how to solve the problem?

+ 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. Test if subtotal exists
    By jmicdk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-03-2016, 12:51 PM
  2. Remove only 1 subtotal layer from Multi Nested Subtotal
    By goawohl in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 10-16-2014, 10:10 AM
  3. Macro to Replace Row if Exists or copy to new row if doesnt exist
    By jgibs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2012, 01:23 PM
  4. Subtotal - Delete zero Subtotal and prior rows that calculate to that zero Subtotal
    By Whatsherface in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2012, 08:37 PM
  5. Macro to determine if log file exists or doesnt exist
    By fcomino in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-19-2010, 08:41 AM

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