Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default Dim SheetName in chart plot

How would I Dim the name of the current sheet, obviously Sheet1 is not
my sheet name

ActiveChart.SeriesCollection(1).XValues = "=Sheet1!R4C1:R14C1"

Thanks in advance
-mike

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Dim SheetName in chart plot


Hello Mike,

If by current you mean the active worksheet then...

ActiveChart.SeriesCollection(1).XValues = "=" & ActiveSheet.Name
"!R4C1:R14C1"

Sincerely,
Leith Ros

--
Leith Ros
-----------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...fo&userid=1846
View this thread: http://www.excelforum.com/showthread.php?threadid=50306

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
Removing Plot lines between plot points on a line chart JDKapono24 Charts and Charting in Excel 2 April 2nd 23 07:07 PM
Auto insert sheetname into chart title? Ian R[_3_] Excel Worksheet Functions 5 May 9th 10 03:53 PM
plots sent to to a chart tab do not show plot & I loss the plot Sim Charts and Charting in Excel 0 September 22nd 09 03:13 PM
Automatically update SheetName in workbook sub if SheetName changes [email protected] Excel Discussion (Misc queries) 3 February 29th 08 04:33 PM
how to plot a polar chart / plot Aparna Charts and Charting in Excel 1 September 30th 06 12:38 PM


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