![]() |
|
|
|
#1
|
|||
|
|||
|
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 Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| 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 |
How to write a macro to find a specified name in a list of data?
|
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 |
Macro or Function to know wether a string is included in a text
|
Eduardo | Word VBA | 5 | 06-15-2009 01:55 AM |
Help! for using an appropriate function/Macro in Excel
|
pawan2paw | Excel | 1 | 06-04-2009 12:28 PM |