I download the file :Pass-Arguments-to-a-Macro-Called-from-a-Button-or-Sheet-in-Excel_1893.xlsm
But the button is not working.
I download the file :Pass-Arguments-to-a-Macro-Called-from-a-Button-or-Sheet-in-Excel_1893.xlsm
But the button is not working.
Hi and Jan2 welcome to the Forum.
I assume you're referring to the file from Pass Arguments to a Macro Called from a Button or Sheet in Excel and that when you open the file you get a message like "Cannot run the macro... all macros may have be disabled"
Assuming you can run macros normally (i.e. you have them enabled), then go via the ribbon File/ Options/ Trust Center and click Trust Center Settings... Pick Trusted locations then click Add new location... Then browse to the file's location (probably your Downloads folder but you might want to change that) and click OK. Click OK twice again to close the dialogs then close the file.
Re-open the file and click the blue Button- you now should get the message "I clicked a button!"
Hope this fixes your problem. If so, please be sure toreturn and mark this Answer as Selected.