+ Reply to Thread
Results 1 to 4 of 4

Why is this macro not working?

  1. #1
    Registered User
    Join Date
    02-24-2015
    Location
    Albuquerque, USA
    MS-Off Ver
    2013
    Posts
    10

    Why is this macro not working?

    Hi Guys!

    I started this macro with
    If NLP = 4 Then , and was not working.
    Do you know why?

    Thanks a lot
    Detlef

    Then I tried If NLP > 3 Then, and it worked

    Please Login or Register  to view this content.
    Detlef Heun
    www.aircraft-trust.com

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Why is this macro not working?

    Well if NLP was anything but 4 then the condition couldn't be met whereas >3 allows many values for NLP - so, what, exactly, is NLP
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    02-24-2015
    Location
    Albuquerque, USA
    MS-Off Ver
    2013
    Posts
    10

    Re: Why is this macro not working?

    Thanks for your reply.
    It was something else.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Why is this macro not working?

    You're welcome and thanks for the rep!

    *That is, all too often, the case

+ 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. Replies: 7
    Last Post: 03-18-2015, 03:41 PM
  2. Replies: 1
    Last Post: 05-27-2014, 02:40 PM
  3. Macro not working while running multiple others macro..
    By calvinle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-07-2014, 11:27 AM
  4. [SOLVED] Macro to merge duplicate rows unique values - current macro not working
    By aimeecrystalaid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-06-2013, 03:42 PM
  5. Macro not working in Excel 2010 but working in Excel 2003
    By mvel_sky in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2013, 04:18 PM
  6. Converting workbook with Macro to a template causes the Macro to stop working
    By Skeeta in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2012, 02:00 PM
  7. Macro Stopped Working and Macro Not Listed
    By XLevel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-19-2011, 04:43 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