Darth_Sullivan
New Member
- Joined
- Oct 23, 2013
- Messages
- 48
First, let me start by saying I've spent the last 2 hours going around in circles trying to search for the answer to this problem. So, sorry if the answer is out and I could not find it.
To put my question simply, I have a macro in Sheet2 named SaveNewRecord. Sheet1 contains the "Save" button that I want to trigger this macro. I only want this macro to run in Sheet2 and in no other sheet.
In Sheet1 I currently have:
Sheets("Sheet2").Activate.SaveNewRecord
Which I thought was my answer but, instead I get a Run-Time Error '424': Object Required
Can someone help me? Or at least point me in a positive direction?
Thank you.
To put my question simply, I have a macro in Sheet2 named SaveNewRecord. Sheet1 contains the "Save" button that I want to trigger this macro. I only want this macro to run in Sheet2 and in no other sheet.
In Sheet1 I currently have:
Sheets("Sheet2").Activate.SaveNewRecord
Which I thought was my answer but, instead I get a Run-Time Error '424': Object Required
Can someone help me? Or at least point me in a positive direction?
Thank you.