![]() |
#3
|
|||
|
|||
![]()
Actually, if Balance is the available amount, and XctAmt is the (positive) "cost" that will be deducted, methinks the code should be:
Code:
If Balance < XctAmt Then ' error message, etc Else ' deduct amount from balance End If |
Tags |
excel 2013, macros, vba excel |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro or user function to Extract row height | Catalin.B | Excel | 12 | 06-22-2011 09:21 AM |
![]() |
Jaffa | Excel | 1 | 10-23-2010 02:39 PM |
automatic start of macro + help on writing helper function | vsempoux | Word | 3 | 10-09-2009 03:01 AM |
![]() |
Eduardo | Word VBA | 5 | 06-15-2009 01:55 AM |
![]() |
pawan2paw | Excel | 1 | 06-04-2009 12:28 PM |