Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel 2000 subtotals with matching names

I am using Excel 2000 with Windows 2000.

I am working on a macro that pulls in a cell from a subtotal off to the
right of my
totals section.

Here is the code so far:


ActiveCell.FormulaR1C1 = "=R[-1]C"
Range("B3").Select
Selection.Copy
Range("B5:B11").Select
Selection.SpecialCells(xlCellTypeVisible).Select
Selection.PasteSpecial Paste:=xlFormulas, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False
End Sub


How do I set this up as a loop to load in the text for each of the
cells all the way until
the cell says "Grand Total"?

Thank you in advance for your 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
Sorting and matching rows of names with Socials with master list and eliminating the extra names Giacomo Excel Worksheet Functions 1 March 10th 07 01:52 AM
Matching Subtotals Bobby Excel Worksheet Functions 4 March 31st 06 06:55 PM
Microsoft Excel 2000 Subtotals with Group Name [email protected] Excel Worksheet Functions 1 August 14th 05 01:20 PM
Copying subtotals in Excel 2000 pearsall Excel Discussion (Misc queries) 3 April 21st 05 01:05 PM
Excel 2000 VBA date format changes in subtotals Kris Ernst Excel Programming 3 August 20th 04 10:44 AM


All times are GMT +1. The time now is 07:06 AM.

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"