+ Reply to Thread
Results 1 to 4 of 4

Getting a MsgBox for non-Zero Balances

  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    Austin, TX
    MS-Off Ver
    Excel 2007
    Posts
    84

    Getting a MsgBox for non-Zero Balances

    In theory the code should work. Reality says otherwise....Do you know what is wrong? Please check out the workbook.

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

  2. #2
    Forum Contributor
    Join Date
    09-03-2015
    Location
    IE
    MS-Off Ver
    2003 - 2016
    Posts
    258

    Re: Getting a MsgBox for non-Zero Balances

    Perhaps if you explain what Reality is?

    The code seems to work. No message when the cell value <> 0, message when it is.

  3. #3
    Registered User
    Join Date
    01-17-2013
    Location
    Austin, TX
    MS-Off Ver
    Excel 2007
    Posts
    84

    Re: Getting a MsgBox for non-Zero Balances

    ...Reality is I'm not the best at communicating online. I would like to get the code to work so a message box pops up if there is a non-zero number i.e. if 1 than msgbox, if 0 then no msgbox.

    Thanks for your help.

  4. #4
    Forum Contributor
    Join Date
    09-03-2015
    Location
    IE
    MS-Off Ver
    2003 - 2016
    Posts
    258

    Re: Getting a MsgBox for non-Zero Balances

    Concentrate on this line...

    Please Login or Register  to view this content.
    VBA uses <> to indicate 'Not Equal To'...

+ 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. LIFO Balances and P&L
    By ccop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-14-2015, 06:04 PM
  2. Macro to capture MsgBox prompt to a string variable but ignore the MsgBox
    By BuglerDobbs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2015, 10:56 AM
  3. [SOLVED] Problem with VBA Editor uses lower case on some lines (ex. msgbox instead of MsgBox)
    By stubbsj in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-14-2013, 06:59 PM
  4. [SOLVED] Choose from different balances in VBA
    By Jonathan78 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-01-2012, 03:32 PM
  5. How to sum balances that have same SSN/EIN???
    By jgomez in forum Excel General
    Replies: 2
    Last Post: 01-25-2012, 12:13 PM
  6. Running Balances
    By Sal in forum Excel General
    Replies: 3
    Last Post: 07-11-2006, 04:32 PM
  7. Showing zero balances
    By Ed in forum Excel General
    Replies: 2
    Last Post: 08-09-2005, 02: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