Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dannyboy213
 
Posts: n/a
Default Retrieve data from different sheets


How do I get datas from ALL of the worksheet within the file into a
"master worksheet". REMEMBER ALL WORKSHEETS

In the master worksheet:
Column A = worksheet name (example "Sheet 1")
Column B = get data in cell B1 from each worksheet
Column C = get data in cell B2 from each worksheet
Column D = get data in cell B3 from each worksheet
Column E = get data in cell K20 from each worksheet
Column F = get data in cell C26 from each worksheet


--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile: http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=525395

  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin
 
Posts: n/a
Default Retrieve data from different sheets

See your other thread

--
Regards Ron de Bruin
http://www.rondebruin.nl


"dannyboy213" wrote in message
...

How do I get datas from ALL of the worksheet within the file into a
"master worksheet". REMEMBER ALL WORKSHEETS

In the master worksheet:
Column A = worksheet name (example "Sheet 1")
Column B = get data in cell B1 from each worksheet
Column C = get data in cell B2 from each worksheet
Column D = get data in cell B3 from each worksheet
Column E = get data in cell K20 from each worksheet
Column F = get data in cell C26 from each worksheet


--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile: http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=525395



  #3   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Retrieve data from different sheets

Public Sub LoadFromWorksheets()
Dim Wks As Worksheet
Dim iRow As Integer

iRow = 1
For Each Wks In Application.ActiveWorkbook.Worksheets
If Wks.Name < "Master" Then
Sheet1.Cells(iRow, 1).Value = Wks.Name
Sheet1.Cells(iRow, 2).Value = Wks.Cells(1, 2).Value
Sheet1.Cells(iRow, 3).Value = Wks.Cells(2, 2).Value
Sheet1.Cells(iRow, 4).Value = Wks.Cells(3, 2).Value
Sheet1.Cells(iRow, 5).Value = Wks.Cells(20, 11).Value
Sheet1.Cells(iRow, 6).Value = Wks.Cells(26, 3).Value
iRow = iRow + 1
End If
Next
End Sub

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
In 3 active sheets in wkbk, determine& display the # of sheets that have data wrpalmer Excel Discussion (Misc queries) 1 November 4th 05 02:01 PM
hide sheets use data j2thea Excel Worksheet Functions 3 November 3rd 05 09:23 PM
Keeping data updated between 2 sheets... novice needs help. FatMagic Excel Discussion (Misc queries) 5 October 14th 05 09:38 PM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM
How do I transfer data between Excell sheets? Grafur Excel Worksheet Functions 2 February 19th 05 03:08 AM


All times are GMT +1. The time now is 11:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"