LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 139
Default Retrieving Data: Speed of beating down rows vs retrieving from arr

Per Tom Ogilvy:

if I want multilple cells and I am using code it can use

With Worksheets("Sheet1")
set rng = .Range(.Cells(2,1),.Cells(2,1).End(xldown))
End with

res = Application.Match(Trim(ActiveCell & ActiveCell.Offset(0,1)), rng,0)
if not iserror(res) then
set rng1 = rng(res)
rng1.Offset(1,0).Resize(1,30).copy ActiveCell.offset(0,3)
End if

this eliminates all beating down.


That's the way I'm going to do it then.

Thanks again.
--
PeteCresswell
 
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
retrieving multiple corresponding values with variable rows/column soph Excel Worksheet Functions 4 September 15th 09 10:44 AM
Retrieving multiple rows of data Gringarlow Excel Discussion (Misc queries) 2 March 25th 09 05:54 PM
retrieving data Jess Excel Worksheet Functions 1 February 13th 07 04:54 PM
Retrieving data from another table or array .. sansk_23 Excel Worksheet Functions 1 October 26th 06 06:16 PM
Retrieving data from the web - help ! glynny Excel Worksheet Functions 0 February 20th 06 02:04 AM


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