LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Relative Range Selection & Paste

This is probably a really simple question but I haven't been able to find the
right VBA language to make it happen yet. I have a report that I need to add
a formula to in column "C". I want this formula to be copied into each cell
in column "C" until there are no more active rows. Then I want to highlight
the cells that I just filled with the formula, copy them and paste special
(values). Here's what I have so far. It looks like it will only handle the
absolute range of "C3:C93". Any ideas?

Range("C3").Select
Selection.AutoFill Destination:=Range("C3:C93")
Range("C3:C93").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False

Thanks,

Have_Data_Will_Travel
 
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 and Paste of Relative Cell References Skyscan Excel Worksheet Functions 1 August 20th 07 07:39 AM
Identifying a selection of a selection of a range swimfast Excel Worksheet Functions 1 March 1st 07 02:51 AM
Named formulas in CHOOSE need to be Relative references when paste bill ch Excel Worksheet Functions 2 April 10th 06 04:13 PM
XL2K - Conditional Formatting relative to cell selection Lezh Excel Discussion (Misc queries) 3 December 31st 05 09:56 AM
Copy/Paste of QueryTable doesn't adjust relative parameters btait1 Excel Discussion (Misc queries) 1 September 30th 05 06:51 PM


All times are GMT +1. The time now is 02:29 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"