Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Carts and Acticesheet.Range

Am having problem with setting Active.Range in chart Data Range Excel 2000
Error:
Formual you typed contains and error
='Activesheet.Range!("$A$114:$M$116€¯,"$A$119: $M$119").select

I followed existing format for setting up chart but sub'ed above based on
following for MS KB website.
How to Select a Range of Cells on the Active Worksheet
To select the range C2:D10 on the active worksheet, you can use any of the
following examples:
ActiveSheet.Range(Cells(2, 3), Cells(10, 4)).Select

ActiveSheet.Range("C2:D10").Select

--ActiveSheet.Range("C2", "D10").Select

Also are there any different problems when setting the other chart
paramenters?
Thxs
--
RickLM
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Carts and Acticesheet.Range

If you're not sure what's going to work, type the command into the Immediate
Window and press Enter, then see what Excel did.

Activesheet.Range("$A$114:$M$116","$A$119:$M$119") .select

selected A114:M119, while

Activesheet.Range("$A$114:$M$116,$A$119:$M$119").s elect

selected A114:M116 and A119:M119

You should post more than one line of code so we can see what you're up to.
There's usually a better way than selecting ranges.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______



"RickLM" .(donotspam) wrote in message
...
Am having problem with setting Active.Range in chart Data Range Excel 2000
Error:
Formual you typed contains and error
='Activesheet.Range'!("$A$114:$M$116","$A$119:$M$1 19").select

I followed existing format for setting up chart but sub'ed above based on
following for MS KB website.
How to Select a Range of Cells on the Active Worksheet
To select the range C2:D10 on the active worksheet, you can use any of the
following examples:
ActiveSheet.Range(Cells(2, 3), Cells(10, 4)).Select

ActiveSheet.Range("C2:D10").Select

--ActiveSheet.Range("C2", "D10").Select

Also are there any different problems when setting the other chart
paramenters?
Thxs
--
RickLM



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
How do I enter formula sum(range+range)*0.15 sumif(range=3) tkw Excel Discussion (Misc queries) 2 October 1st 09 09:17 PM
Multiple data on 2 carts PastaMan Charts and Charting in Excel 0 March 10th 08 08:31 PM
Excel Addin:Setting the range to the Excel.Range object range prop Rp007 Excel Worksheet Functions 5 November 24th 06 04:30 PM
Range.Find returns cell outside of range when range set to single cell Frank Jones Excel Programming 12 June 10th 04 04:22 AM
how to? set my range= my UDF argument (range vs. value in range) [advanced?] Keith R[_3_] Excel Programming 2 August 11th 03 05:55 PM


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