Selecting the same cells in multiple worksheets?

Pezgordo

Board Regular
Joined
Jan 28, 2011
Messages
61
How can I select the same cell range in multiple worksheets and than copy them all into a separate worksheet and/or workbook so that they show up on one page (ideally one on top of the other)? For example, I have 120 worksheets in a workbook. I want to copy and paste the same cells for each worksheet into a separate workbook, but I want all the information to appear on one page (worksheet).
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
A macro that does that would go something like this:

Rich (BB code):
Option Explicit

Sub SummaryList()
Dim ws As Worksheet
Dim NR As Long

Sheets.Add After:=Sheets(Sheets.Count)
NR = 1

For Each ws In Worksheets
    If ws.Name <> ActiveSheet.Name Then
        Range("A" & NR) = ws.Range("B10")
        Range("B" & NR) = ws.Range("C12")
        Range("C" & NR) = ws.Range("E44")
        NR = NR + 1
    End If
Next ws

ActiveSheet.Move

End Sub


The colored section shows how to put values from various cell into a single row, then repeat for the next row/worksheet.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,717
Members
452,939
Latest member
WCrawford

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