I'm having trouble making this macro I wrote run with a command button.
The macro is a demo macro I'm writing for a much larger project, and this is basically what it does:
It allows the user to browse for a pre-formatted file. It then reads the file, stores a few values and plugs it into the designated cells in the workbook the macro is running out of.
The macro itself works when I manually run the macro. However, when I run the macro through the command button, it will execute the first half but not the last half. More specifically, it searches for the file, opens it and makes it the active window, but does not plug in the values in the designated cells.
Am I not using the correct format for the command button? or is it something else?
Thanks,
Bookmarks