+ Reply to Thread
Results 1 to 4 of 4

Macro to Clear Data on Sevral Sheet

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,749

    Macro to Clear Data on Sevral Sheet

    I have written code to clear fdata on sheets "SH" & "SM"

    Where there is data i row 2 onwards, macro works perfectly


    However, when there is no data, the headers are cleared in row1


    It would be appreciated if someone couldkindly amend my code

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Macro to Clear Data on Sevral Sheet

    Does not help like this?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,749

    Re: Macro to Clear Data on Sevral Sheet

    Many Thanks KOKOSEK

    Code works perfectly

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Macro to Clear Data on Sevral Sheet

    You welcome.
    Happy to help.
    Marry Xmas.

+ 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] Macro to clear Data from Speficic sheet to last sheet
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-26-2019, 08:28 AM
  2. [SOLVED] Add macro to run clear sheet
    By Geoff.D in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2018, 12:32 AM
  3. [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
  4. Replies: 1
    Last Post: 06-21-2013, 04:05 AM
  5. Macro to copy Dyanmic lists then copy sheet and clear the original data
    By twiggywales in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-30-2012, 01:06 PM
  6. 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
  7. we type data on one page and retun to sevral pages
    By Music master in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-17-2009, 08:01 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