Forum Discussion
2 Replies
- RobbSalzmannValued Contributor IIAlt-F11 to open the VBA Editor 
 Insert a new module
 Add your code:
 Function XFMemberOffset(referenceValue As Double, memberValue As Double) As Double
 Dim Result as double
 ' Calculate something here
 'return the calculated value
 XFMemberOffset = Result
 End Function
 Save your workbook as macro enabled (.xslm)
 Alt+Q to close the VBA Editor
 In any cell in your workbook, you can now use your custom function: =XFMemberOffset(A1, B1)- JuleneDSNew Contributor IIThis is what we did, we were wondering if there is some way to add our custom function to the list above so that users can select it when creating their own reports. 
 
Related Content
- 2 years ago
- 2 years ago
- 3 days ago
- 3 years ago