Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2013, 10:25 AM
BobBridges's Avatar
BobBridges BobBridges is offline How do you write a macro with an IF Function Windows 7 64bit How do you write a macro with an IF Function Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

Normally, yes, CGM3. But I looked at the sample workbook; purchases are negative and sales are positive, so it's the other way around.
Reply With Quote
  #2  
Old 06-05-2013, 05:32 AM
CGM3 CGM3 is offline How do you write a macro with an IF Function Windows XP How do you write a macro with an IF Function Office 2007
Advanced Beginner
 
Join Date: Oct 2009
Posts: 38
CGM3 is on a distinguished road
Default

Quote:
Originally Posted by BobBridges View Post
Normally, yes, CGM3. But I looked at the sample workbook; purchases are negative and sales are positive, so it's the other way around.
So use:

If Balance < ABS(XctAmt) Then

(Has the advantage of implying, for the unfamiliar user, that XctAmt might be negative)
Reply With Quote
Reply

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 do you write a macro with an IF Function 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
How do you write a macro with an IF Function Macro or Function to know wether a string is included in a text Eduardo Word VBA 5 06-15-2009 01:55 AM
How do you write a macro with an IF Function Help! for using an appropriate function/Macro in Excel pawan2paw Excel 1 06-04-2009 12:28 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft