Hi. I've spent a couple days already trying to figure out how to assign a function in a module to a button on a worksheet.
I don't know VBA but i looked around trying to understand how to call the function from a subroutine so I could assign it to a form control button.
Then I tried to do the same with and ActiveX button, same result. The debugger game me different errors as i tried with different combinations.
The function (currency exchanger) works just fine. It starts like this:
And tried calling it mostly using this:![]()
Please Login or Register to view this content.
I also tried with Public and Private Subs and putting the function in the worksheet but I bet it requires more than that. Maybe declaring some variable?![]()
Please Login or Register to view this content.
Bookmarks