Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please
I can not move ranges located on separate sheets and gather them into one big range. On 7 sheets I have ranges: "monday", "tuesday" etc. Each range has the same # of columns only number of rows is a variable. How to collect all the data into one big range "week" located on separate sheet of course. It seemed to be easy for me. Thans Radomir |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
not quite sure but have a look at http://www.rondebruin.nl/copy2.htm -- Regards Frank Kabel Frankfurt, Germany "Radomir" schrieb im Newsbeitrag ... Please I can not move ranges located on separate sheets and gather them into one big range. On 7 sheets I have ranges: "monday", "tuesday" etc. Each range has the same # of columns only number of rows is a variable. How to collect all the data into one big range "week" located on separate sheet of course. It seemed to be easy for me. Thans Radomir |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This macro should do what you want. As written, this macro takes all the
data from Column A to Column J and as many rows as Column A has occupied, from every sheet in the file (except "Weeks") and copies it to the Weeks sheet. HTH Otto Sub CopyData() Dim ws As Worksheet For Each ws In ActiveWorkbook.Worksheets If ws.Name = "Week" Then GoTo Nextws With Sheets(ws.Name) .Range("A1", .Range("A" & Rows.Count).End(xlUp).Offset(, 10)).Copy _ Range("A" & Rows.Count).End(xlUp).Offset(1) End With Nextws: Next ws End Sub "Radomir" wrote in message ... Please I can not move ranges located on separate sheets and gather them into one big range. On 7 sheets I have ranges: "monday", "tuesday" etc. Each range has the same # of columns only number of rows is a variable. How to collect all the data into one big range "week" located on separate sheet of course. It seemed to be easy for me. Thans Radomir |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Average of absolute values of moving ranges | Excel Discussion (Misc queries) | |||
Moving Data between sheets in the same workbook and moving data between Workbooks. | Excel Worksheet Functions | |||
Moving Cell Information from one workbook into another workbook | Excel Worksheet Functions | |||
Moving data based on date ranges | Excel Worksheet Functions | |||
Summing moving ranges & dates | Excel Worksheet Functions |