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