LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default row argument query...


Dear All,

In my (recorded) macro there is this bit...

Range("Y5:AB5").Select
Selection.Copy
Range("Y6").Select
Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select
ActiveSheet.Paste

this copies the formulae down to the last active cell and pastes
them...this is fine and is the only way I could think how to do
it...but i only want to paste down as far as the number of rows in the
adjacent "X" column next to the Range("Y5:AB5")...

The practical difference is pasting down only 200 or so rows as opposed
to the 3000 rows and therefore a considerable time/file size saving...

...I have tried to look up various solutions but I am struggling...

Jaime
(LVP!)


--
jaimetimbrell
------------------------------------------------------------------------
jaimetimbrell's Profile: http://www.excelforum.com/member.php...o&userid=26162
View this thread: http://www.excelforum.com/showthread...hreadid=508365

 
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
If argument DonaMil Excel Worksheet Functions 1 April 14th 10 04:20 PM
IF function - If false argument query Twishlist Excel Worksheet Functions 5 March 30th 08 09:40 AM
Can I use the argument: - IF, AND, THEN, ElSE Newie New Users to Excel 2 June 14th 07 01:49 PM
what is an argument? mcockrel Excel Discussion (Misc queries) 7 March 17th 06 03:21 PM
Function (array argument, range argument, string argument) vba Witek[_2_] Excel Programming 3 April 24th 05 03:12 PM


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