Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro for Graphing Current Sheet?


I would like to have my macro graph the sheet I am on without having t
type in different names as I change different files. The SourceDat
looks like this right now:

ActiveChart.SetSourceData Source:=Sheets("sName").Range("A1:B400")
PlotBy _
:=xlColumns

Is there any way I can get sName to be the name of the curren
worksheet I am viewing

--
Loss
-----------------------------------------------------------------------
Losse's Profile: http://www.excelforum.com/member.php...fo&userid=2481
View this thread: http://www.excelforum.com/showthread.php?threadid=38368

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
Display current sheet name being processed in macro Ann New Users to Excel 5 April 17th 07 01:18 PM
How can I Run a query from VB macro with out affect current data in the same sheet? oafdl Excel Discussion (Misc queries) 0 May 29th 06 09:42 PM
Graphing past months (totals) and current month (weekly total) in Davin Charts and Charting in Excel 1 July 27th 05 05:01 PM
Return to Current Sheet in On (sheet activate) event macro Paul Moles Excel Programming 1 March 27th 05 03:16 PM
Use current sheet name in Macro Bernie Deitrick Excel Programming 0 January 21st 04 04:48 PM


All times are GMT +1. The time now is 05:44 PM.

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"