Copy User Defined Range to Same Place in Multiple Worksheets

Eruantano

Board Regular
Joined
Apr 12, 2008
Messages
59
Hi, I'm an old user of this message board, and I have searched for ways to get this particular task done on this board and on a few other boards, but have not gotten a workable solution. It seems that it should be relatively straightforward, yet I can't seem to figure my way around it.

Stated simply, I want the user to select a single, continuous range from worksheet 1 that will be pasted it into all other worksheets of the same workbook in the same exact place; e.g. user selects A1:D4 in worksheet 1, then the macro copies the range (including formulae) into all other worksheets in the same place (A1:D4). The other worksheets would be blank in that range.

Appreciate the help, sorry if I didn't search for the appropriate tags and missed a link that could have been helpful.

Joe.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Try
Code:
Sub Eru()
    Dim i, ws As Worksheet
    i = Selection.Address
    Selection.Copy
    For Each ws In ActiveWorkbook.Worksheets
        ws.Range(i).PasteSpecial Paste:=xlPasteAll
    Next
    Application.CutCopyMode = False
End Sub
 
Upvote 0
Try
Code:
Sub Eru()
    Dim i, ws As Worksheet
    i = Selection.Address
    Selection.Copy
    For Each ws In ActiveWorkbook.Worksheets
        ws.Range(i).PasteSpecial Paste:=xlPasteAll
    Next
    Application.CutCopyMode = False
End Sub

Thanks very much, Mark. It was the address I was having problems with initially, but I managed to figure it out just as you replied as well.
Appreciate the confirmation that I was on the right track!

Joe.
 
Upvote 0
Your welcome, happy you got there.
 
Upvote 0

Forum statistics

Threads
1,203,027
Messages
6,053,120
Members
444,640
Latest member
Dramonzo

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