Copy macro

pvr928

Well-known Member
Joined
Oct 21, 2002
Messages
790
Does anyone have a macro that is able to copy specific data from one worksheet to another?

Any help greatly appreciated.

Cheers

pvr928
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
north

Thanks for your reply.

From a worksheet in one file to another worksheet in another file.

In each case the data is in the same template on each worksheet. There is a need to be able to copy the data because the data may be updated, and so a need to import/copy that data into the template.

Cheers

pvr928
 
Upvote 0
could you provide more detail? what is the range that needs to be copied? the location of the files? i.e...
 
Upvote 0
It sounds like I don't quite have the detail required!

The range is pending (but large - it woudl constitute specific parts of a worksheet).

I am envisaging having two files open on the screen, and the macro simply copying the new data from one into the other.

Is this what you are thinking of - or is there another way of doing it?

Cheers

pvr928
 
Upvote 0
that's definitely one way in which i was thinking.
else

link the worksheet to be updated to the original (i.e. in Workbook2 place in cell A1 "=[Workbook2]Sheet1!$A$1"

and do this with all the cells you want updated.

Otherwise, provide some more detail and we'll work from there.
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,669
Members
448,977
Latest member
moonlight6

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top