98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Macros
Macros
Resolved · Low Priority · Version 2003
James has attended:
Excel Introduction course
Excel Intermediate course
Excel Advanced course
Access Introduction course
Access Intermediate course
Access Advanced course
Macros
what do i enter into into VBE to create a new function?
RE: macros
Hi James,
Thank you for your question.
The first thing you would need to do is go into the Visual Basic Editor through Tools and Macro.
Insert a new module and start the code with the following:
Function AddUp (Field1 as Currency, Field2 as currency) as currency
Then define what The function will do:
AddUp =(field1-field2)
End Function
I hope this answers your question.
Regards
Simon
Tue 26 May 2009: Automatically marked as resolved.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Screen Splitters in ExcelScreen splitter icons can be set from the ribbon bar, or dragged from the scroll bars. The icon just above the up arrow on the right scroll bar controls the horizontal splitter; the icon to the right of the right arrow on the bottom scroll bar controls the vertical splitter. |