Greetings,
I have a code named "Macro1" under Module1.
How can I transfer "Macro1" to under Sheet1 via vba code?
or,
I have a code named "Macro1" under Sheet1.
How can I transfer "Macro1" to under Sheet2 via vba code?
Regards.
Greetings,
I have a code named "Macro1" under Module1.
How can I transfer "Macro1" to under Sheet1 via vba code?
or,
I have a code named "Macro1" under Sheet1.
How can I transfer "Macro1" to under Sheet2 via vba code?
Regards.
Last edited by HerryMarkowitz; 08-11-2014 at 06:53 PM.
![]()
Sub DontForgetThese() If Your thread includes any code Then Please use code tags... If Your thread has been solved Then Please mark as solved... If Anybody has helped to you Then Please add reputation... End Sub
Please ensure you mark your thread as Solved once it is. Click here to see how.
If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.
Just copy and paste it, or cut and paste it.
But the Sheet Class Module should only have Event code and code that is specific to that sheet, for example, called by an Event Handler.
Normal/generic code should be in a Standard/Normal module.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
I take it your question has been answered?
I found the answer from following link.
http://www.cpearson.com/excel/vbe.aspx
Thanks everybody.
Ah, ok. Missed the "via vba code" bit, even though you said it twice.
Good reference though
Regards, and thanks for the rep, TMS
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks