Results 1 to 5 of 5

Have to run macro twice, in order for it to work?

Threaded View

  1. #1
    Registered User
    Join Date
    03-07-2017
    Location
    Texas
    MS-Off Ver
    Office 2016
    Posts
    39

    Have to run macro twice, in order for it to work?

    Hello, everyone! Having some trouble with a macro I've been working on. It's used to delete blanks (over a million blank rows) when another separate macro is run. If I get this one working, I would like to merge the two macros together.

    First time it is clicked, it loads and acts like it's going to work. Less than a minute after loading...nothing happens (at least, visually). I click it again and it runs quickly; this time, it works.

    Here is my very simple code:
    Sub deleteBlankRows()
    On Error Resume Next
    ActiveSheet.Columns("A").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
    End Sub
    Last edited by cluelessdood; 11-15-2018 at 01:51 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 03-25-2016, 10:16 AM
  2. Work order
    By efadmn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-13-2015, 08:48 AM
  3. Work Order Tracking
    By BigF'inG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2014, 05:18 AM
  4. Open Word Work Order Template with excel generated work order #
    By Tivka in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-26-2012, 02:24 PM
  5. [SOLVED] Pricelist to work order
    By gluktar in forum Excel General
    Replies: 9
    Last Post: 04-19-2012, 03:37 PM
  6. Macro for Issuing a "Work Order"
    By umrebelfan69 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-22-2008, 02:41 PM
  7. [SOLVED] Service work order
    By schoolgeek63 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-07-2005, 05:06 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