Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Sumary of 150 sheets info in one sheet

People,

I have a workbook with 150 sheets, being each one a form of a little
research i've made with some clients. Now, i want to put all that information
in a single sheet, making a line per sheet and a col. per info i want. By the
way, all the 150 sheets are equal and obey a singular name (like, FORM (1),
FORM (2), FORM (3), ..., FORM (150)).

For example, my sheets have three relevant informations: my client's name,
his phone number and his e-mail. so, i've put in my "Results Sheet" 4
columns: 1 for the sequential number (1, 2, 3, 4, 5, etc.), 1 for the name, 1
for the phone and 1 for the e-mail. Then, i've linked the first line with the
apropriate cell on the FORM (1) sheet. Beautiful. But now, i want to do the
same thing to the other 149 sheets and, of course, don't wanna do it manually.

Could u people give a little world of advice, plz??

Thx a lot!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default Sumary of 150 sheets info in one sheet

This macro will do it, altho you may need to adjust the cell
references. The macro will start writing formulas starting at whatever
cell is highlighted when you run this.

Sub All_Tabs()
Dim K As Byte

For K = 1 To 150
'column A
ActiveCell.Offset(K - 1, 0).Formula = "='Form (" & K & ")'!a1"
'column B
ActiveCell.Offset(K - 1, 1).Formula = "='Form (" & K & ")'!b1"
'column C
ActiveCell.Offset(K - 1, 2).Formula = "='Form (" & K & ")'!c1"
'column D
ActiveCell.Offset(K - 1, 3).Formula = "='Form (" & K & ")'!d1"
'column E
ActiveCell.Offset(K - 1, 4).Formula = "='Form (" & K & ")'!e1"
Next K

End Sub

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Sumary of 150 sheets info in one sheet


Ty a lot man!!! God bless u for that!



"Dave O" escreveu:

This macro will do it, altho you may need to adjust the cell
references. The macro will start writing formulas starting at whatever
cell is highlighted when you run this.

Sub All_Tabs()
Dim K As Byte

For K = 1 To 150
'column A
ActiveCell.Offset(K - 1, 0).Formula = "='Form (" & K & ")'!a1"
'column B
ActiveCell.Offset(K - 1, 1).Formula = "='Form (" & K & ")'!b1"
'column C
ActiveCell.Offset(K - 1, 2).Formula = "='Form (" & K & ")'!c1"
'column D
ActiveCell.Offset(K - 1, 3).Formula = "='Form (" & K & ")'!d1"
'column E
ActiveCell.Offset(K - 1, 4).Formula = "='Form (" & K & ")'!e1"
Next K

End Sub


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default Sumary of 150 sheets info in one sheet

Glad to help!

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
Data exctraction from multiple sheets wunder boy Excel Discussion (Misc queries) 16 July 6th 07 12:56 PM
Summary Sheet help with multiple sheets lacey125 Excel Discussion (Misc queries) 1 September 21st 06 08:40 PM
Auto "copy and paste" individual cells from various sheets into one sheet ?? [email protected] Excel Discussion (Misc queries) 2 March 1st 06 03:19 AM
Selecting Last Sheet Bonbon Excel Worksheet Functions 17 February 22nd 06 04:16 PM
Compare 2 Sheets and Extract Unique Info to a 3rd Sheet kilo1990 Excel Discussion (Misc queries) 7 December 19th 05 10:36 PM


All times are GMT +1. The time now is 05:33 PM.

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

About Us

"It's about Microsoft Excel"