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


I'm trying to create a new graph BUT later i need to make some
enhancements in it. I'm trying to give the graph a NAME because I need
to refere it in another macro, but I can't give a graph a name inn
order to later select it. VB uses "GRAPH nn" as a standard name of
graphs... Any suggestions???


--
jormonal
------------------------------------------------------------------------
jormonal's Profile: http://www.excelforum.com/member.php...o&userid=34949
View this thread: http://www.excelforum.com/showthread...hreadid=546812

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Graps in macros

if it is on a separate chart sheet

Charts(1).Name = "MyName"

if it is on a worksheet

activesheet.ChartObjects(1).Charts(1).Name = "MyName"

Something along those lines.

--
Regards,
Tom Ogilvy



"jormonal" wrote:


I'm trying to create a new graph BUT later i need to make some
enhancements in it. I'm trying to give the graph a NAME because I need
to refere it in another macro, but I can't give a graph a name inn
order to later select it. VB uses "GRAPH nn" as a standard name of
graphs... Any suggestions???


--
jormonal
------------------------------------------------------------------------
jormonal's Profile: http://www.excelforum.com/member.php...o&userid=34949
View this thread: http://www.excelforum.com/showthread...hreadid=546812


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
weird saving of a document with macros resulting with macros being transfered to the copy alfonso gonzales Excel Programming 0 December 12th 04 09:19 PM
Macros inside macros, and pasting into macro code. pagelocator[_2_] Excel Programming 1 November 24th 04 09:11 AM
convert lotus 123w macros to excel macros rpiescik Excel Programming 1 September 18th 04 01:35 PM
Macro Size Limit / open macros with macros? andycharger[_7_] Excel Programming 6 February 13th 04 02:00 PM
Suppress the Disable Macros / Enable Macros Dialog Shoji Karai Excel Programming 5 September 24th 03 03:10 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"