Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Dynamic Range in VBA

Hi all,

I'm sure this is any easy one,

How do you make a got to range/reference dynamic?

You see I want to goto to use the range stated in a cell

Ie

Application.Goto Range("c3")

But this code only goes to the cell not the range in the cell??

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Dynamic Range in VBA

Dim S as String
S = Range("C3").Value
Application.Goto Range(S)
--
Gary's Student


" wrote:

Hi all,

I'm sure this is any easy one,

How do you make a got to range/reference dynamic?

You see I want to goto to use the range stated in a cell

Ie

Application.Goto Range("c3")

But this code only goes to the cell not the range in the cell??

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Dynamic Range in VBA

Perfect,

Thanks a lot for that.

I really needed it

Thanks
again

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Dynamic Range in VBA

You are very welcome !
--
Gary's Student


" wrote:

Perfect,

Thanks a lot for that.

I really needed it

Thanks
again


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
getting the absolute range address from a dynamic named range junoon Excel Programming 2 March 21st 06 01:29 PM
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
copying dynamic range based on cell outside of range xcelelder Excel Programming 3 September 29th 05 05:08 PM
select dynamic range with dynamic start point Juli Excel Programming 1 August 31st 05 12:05 AM
Excel 2000 VBA - Set Print Range in dynamic range sub_pop[_5_] Excel Programming 2 July 27th 04 08:01 PM


All times are GMT +1. The time now is 06:24 PM.

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"