+ Reply to Thread
Results 1 to 2 of 2

MACRO FOR GO TO SPECIAL for clearing data in all sheets

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    MACRO FOR GO TO SPECIAL for clearing data in all sheets

    Dear All,

    Good evening.

    I want to clear the data from all sheets with a single click

    What I do normally is, Press (go to special ), type A72, select total row & select all the data above this 72th row. Press F5 (go to special ) once again, click special -> Constants -> Unselect the check boxes text, logicals & errors & DELETE THE DATA

    So I'm going to delete constants in first 29 sheets, after deleting constants in these sheets I have to delete text as well in B35 to B39, E35 to E38, P67 to P70

    I used to do it with short cuts, if it is the case then press F5 -> Type A72 ->select 72th total row ->Press F5->ALT+S->ALT+O->PRESS TAB->UNSELECT TEXT, LOGICALS & ERRORS -> DELETE

    Please provide VB code for above requirement and do the needful.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: MACRO FOR GO TO SPECIAL for clearing data in all sheets

    1) if you do this often make a template

    2) use the macro recorder to record the VBA code.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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 filter data clearing issue
    By kingsp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-28-2014, 09:08 AM
  2. [SOLVED] Clearing data from sheets in a different Workbook
    By tjamestx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2012, 03:59 PM
  3. Clearing all data filters by macro
    By Andrew-Mark in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-17-2011, 09:58 PM
  4. Macro to paste special multiple sheets
    By alxcora5 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-26-2010, 10:14 AM
  5. Macro to Paste Special Values, Remove Sheets and Save
    By Dexta_Dark in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2008, 11:58 PM
  6. clearing data when in several sheets at once
    By oakman in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-03-2007, 07:13 AM
  7. macro to sum special to new sheets.
    By J_J in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-28-2005, 11:05 AM

Tags for this Thread

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