+ Reply to Thread
Results 1 to 2 of 2

Need help code execute on all worksheet in workbook

  1. #1
    Registered User
    Join Date
    03-08-2013
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    39

    Need help code execute on all worksheet in workbook

    I found this code that looks for empty rows on the active worksheet and deletes the empty rows.

    I have several worksheets in a workbook. They have some empty rows in areas that I wan to delete. I would like to be able to highlight / select the range and delete all the empty rows in the selection of all the worksheets.

    Please Login or Register  to view this content.
    Thanks for any help you can provide on this.
    Last edited by prdponce; 03-14-2017 at 11:48 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: Need help code execute on all worksheet in workbook

    This should work, haven't tested it though,

    Please Login or Register  to view this content.

+ 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. Execute a macro in a closed workbook, or open and execute without the user noticing
    By cearaujo123 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2015, 06:44 PM
  2. code to execute a keyboard shortcut or to execute a toolbar button
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-09-2015, 12:16 PM
  3. how can i execute a macro in current workbook after another workbook opens?
    By sds1126 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-12-2014, 09:36 AM
  4. [SOLVED] Selectively step through workbook and execute code
    By K m in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-11-2013, 02:14 PM
  5. Need to check if worksheet exists and execute code
    By chiidzzz in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-25-2012, 08:55 PM
  6. [SOLVED] VBA code to execute a module in a different workbook
    By Need_help_please in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-06-2012, 06:27 AM
  7. execute code in one worksheet when change occurs in another
    By suzetter in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-16-2005, 02:05 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