Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Dynamic range selection

Hi,

I'm stuck with a macro. I want to select a range whose coordinates are
stored in variables. I tried
"Range(Cells(Row1,Col1):Cells(Row1+DeltaR,Col1+Del taC)).Select" but it
didn't work. Online help wasn't very helpful in this case.
What's the right way to do it ?

Thank you,
Fernando Ronci
E-mail:




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Dynamic range selection

Hi
try
Range(Cells(Row1,Col1),Cells(Row1+DeltaR,Col1+Delt aC)).Select

--
Regards
Frank Kabel
Frankfurt, Germany


Fernando Ronci wrote:
Hi,

I'm stuck with a macro. I want to select a range whose coordinates

are
stored in variables. I tried
"Range(Cells(Row1,Col1):Cells(Row1+DeltaR,Col1+Del taC)).Select" but

it
didn't work. Online help wasn't very helpful in this case.
What's the right way to do it ?

Thank you,
Fernando Ronci
E-mail:


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
Dynamic Range Selection Using VBA TEK Excel Discussion (Misc queries) 2 January 23rd 10 04:55 AM
Need Help on Dynamic Range Selection anshu[_2_] Excel Discussion (Misc queries) 5 July 12th 07 07:52 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Excel VBA - Range(Selection, Selection.End(xlDown)).Name issue. jonH Excel Programming 3 June 7th 04 09:13 PM
Dynamic Range Selection Todd Huttenstine Excel Programming 4 May 5th 04 08:54 PM


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