+ Reply to Thread
Results 1 to 3 of 3

Add macro to run clear sheet

  1. #1
    Registered User
    Join Date
    07-20-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    16

    Add macro to run clear sheet

    Hi All,

    I am looking to have the macro adjusted on the Inventory Pick List sheet with the clear pick list button to only clear the list with an N in Column Q titled Backorder.

    When you click the clear list button it clears the whole sheet. (This is what the button is meant to do).
    This is an Excel template so I'm not a 100% where the visual basic sheet is.

    I have attached the workbook.

    Thanks in advance Geoff.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Add macro to run clear sheet

    Not a big fan of Excel table, but if you press Alt + F11 keys together, the VBA window editor should show up and from there you can revise the VBA code.

    Give this VBA code a try
    Please Login or Register  to view this content.
    Last edited by JieJenn; 06-04-2018 at 10:34 PM.

  3. #3
    Registered User
    Join Date
    07-20-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Add macro to run clear sheet

    Awesome works perfectly!!!!

+ 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. [SOLVED] Help with a macro to copy data to other sheet and clear cells
    By bazofio in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-17-2014, 07:59 PM
  2. [SOLVED] I need to keep this macro from clear the entire sheet.
    By TomRet in forum Excel Programming / VBA / Macros
    Replies: 37
    Last Post: 04-08-2014, 11:11 PM
  3. exclude cell from sheet clear macro
    By cowboy560 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-20-2012, 01:52 PM
  4. Clear all data from sheet 1 macro
    By cmb80 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-09-2012, 08:07 AM
  5. Clear sheet contents before continuing with macro
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2009, 07:06 AM
  6. Macro is deleting sheet, and I would like it to clear contents
    By stevewilk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2009, 06:05 PM
  7. macro to save to new workbook and clear sheet
    By groundhog in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-26-2007, 01:15 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