PC Review


Reply
Thread Tools Rate Thread

Carts and Acticesheet.Range

 
 
RickLM
Guest
Posts: n/a
 
      7th Mar 2008
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 C210 on the active worksheet, you can use any of the
following examples:
ActiveSheet.Range(Cells(2, 3), Cells(10, 4)).Select

ActiveSheet.Range("C210").Select

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

Also are there any different problems when setting the other chart
paramenters?
Thxs
--
RickLM
 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      8th Mar 2008
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").select

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" <(E-Mail Removed).(donotspam)> wrote in message
news:CDF4A46F-560F-4B6A-89F3-(E-Mail Removed)...
> 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 C210 on the active worksheet, you can use any of the
> following examples:
> ActiveSheet.Range(Cells(2, 3), Cells(10, 4)).Select
>
> ActiveSheet.Range("C210").Select
>
> -->ActiveSheet.Range("C2", "D10").Select
>
> Also are there any different problems when setting the other chart
> paramenters?
> Thxs
> --
> RickLM



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HP 74 & 75 XL Ink Carts RonM Printers 1 4th Dec 2008 06:36 AM
Pelikan carts? SleeperMan Printers 2 25th Apr 2005 02:59 PM
shopping carts =?Utf-8?B?SGFncmlkb3Jl?= Microsoft Frontpage 1 23rd Apr 2005 05:56 AM
HP with 45&78 carts Martin martin@mandeREMOVETHIS.plus.com Printers 4 13th May 2004 04:49 PM
Re: sent packets is off the carts Steve Nielsen Windows XP General 0 23rd Jul 2003 07:02 PM


Features
 

Advertising
 

Newsgroups
 


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