Okay lets try this, remove the code I gave you from the place you placed it in. Instead...
1. After the End Sub of you Button2 macro copy and paste the below code
So your Module should look like:
2. In your Button2 macro you can call the AssignValToG macro by merely placing the text AssignValToG in the position you want the macro to start running. For example if you wanted the AssignValToG macro to run after the Button2 macro your code would look like this: (I've highlighted where it calls the macro)
Bookmarks