VBA for "copy A1 data in Book1 - Excel and paste into another worksheet A1 in Personal - Excel (macro enabled)."
VBA for "copy A1 data in Book1 - Excel and paste into another worksheet A1 in Personal - Excel (macro enabled)."
Try the following
Sub CopyData() With Sheets("Sheet1") Range("A1").Copy With Sheets( Sheet2") ActiveSheet.Paste End Sub
Last edited by SamT; 08-24-2013 at 07:05 AM. Reason: missing code tag bracket
Remember To Do the Following....
Use [Code].... [/Code] tags when posting code to the thread.
Mark your thread as Solved if satisfied by using the Thread Tools options.
If posting the same issue to another forum please show the link
Personal.xlsm should not be used for data storage. It should only be used to store Macros that you want available in any and all other workbooks that you open.
Tell us about your existing scenario and what you ultimately want to accomplish. We can help you decide how to do that in the most usable way.
I expect the student to do their homework and find all the errrors I leeve in.
Please take the time to read the Forum FAQ
problem solved