Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to reference to a number/a group of chartobjects?

Hi,

I have several chartobjects - embedded charts - in a worksheet and want with
some buttons be able to choose which ones of these to hide and to show. They
are named individually already, but I want to be able to refere to a group
of them to be hidden/visible.

When I recorded an naming procedure I got an R1C1 syntax I didn't like and I
don't know how to convert it:
ActiveWorkbook.Names.Add Name:="slask", RefersToR1C1:= _
"=""R_Q_FB_31,R_ROI_FB_31,R_CF_FB_31"""

Instead I tried to define them as sopm kind of index, but isn't skilled
enough to continue with that.:
sr = Blad102.ChartObjects(R_Q_FB_31, R_ROI_FB_31, R_CF_FB_31).ShapeRange

Maybe it should be as some kind of array, but how? Arrays aren't mentioned
as an object to "Name" in "Help".

/Kind regards


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
Not allow selection of chartobjects ? Gunnar Johansson Charts and Charting in Excel 0 May 8th 05 01:40 PM
Marcowarnings when pasting chartobjects to powerpoint Marie J-son Charts and Charting in Excel 2 March 3rd 05 02:54 AM
ChartObjects Nick Excel Programming 2 August 19th 04 12:04 PM
Get the name of a group given the reference to a shape within the group Andrew[_16_] Excel Programming 5 January 1st 04 01:08 AM
Workbook-Events donīt work with ChartObjects geissma Excel Programming 0 September 16th 03 01:09 PM


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