Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Workbooks and worksheets.

Working in one workbook with many worksheets.
Looking to make a summary, orlisting sheet.
?In multiple sheets C5 = name G5 = amount owed.
Would like to create a itemized summary sheet listing all names and
corresponding amounts.

I have no idea.

THanks in advance.

Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Workbooks and worksheets.

This will put the values of C5 & G5 from each sheet on sheet1 in columns C&D
starting on row 5, with headers on row 4.

Sub list()
Dim sh As Worksheet
Dim rownum As Integer

rownum = 4

For Each sh In Worksheets
Sheet1.Range("C" & rownum).Value = sh.Range("C5").Value
Sheet1.Range("D" & rownum).Value = sh.Range("G5").Value
rownum = rownum + 1
Next sh
Sheet1.Range("C4") = "NAME"
Sheet1.Range("D4") = "AMOUNT OWED"
End Sub

Mike F

"Mike" wrote in message
...
Working in one workbook with many worksheets.
Looking to make a summary, orlisting sheet.
?In multiple sheets C5 = name G5 = amount owed.
Would like to create a itemized summary sheet listing all names and
corresponding amounts.

I have no idea.

THanks in advance.

Mike



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
Copy/ move selected data from workbooks to seperate worksheets or workbooks Positive Excel Worksheet Functions 1 August 30th 07 04:54 PM
About Worksheets & Workbooks. Bharat Excel Worksheet Functions 1 March 30th 07 07:36 PM
Create workbooks from worksheets Ian in Ankara Excel Discussion (Misc queries) 3 February 28th 06 03:33 PM
Worksheets and Workbooks Tia Excel Discussion (Misc queries) 1 June 9th 05 11:33 PM
Compareing 2 Worksheets in different workbooks techgirl4u Excel Programming 0 November 19th 04 08:48 PM


All times are GMT +1. The time now is 12:08 AM.

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"