Forum home » Delegate support and help forum » Microsoft Excel Training and help » Macros
Macros
Resolved · Low Priority · Version 2003
Macros
what do i enter into into VBE to create a new function?For upcoming training course dates see: Pricing & availability
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.
|
|
» Forum post: Intemediate/Advanced |



Course updates

