Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 07-27-2009, 01:01 AM
Lewis1 Lewis1 is offline
Registered User
 
Join Date: 21 Jul 2009
Location: Sydney, Australia
MS Office Version:Excel 2003
Posts: 16
Lewis1 is becoming part of the community
Chart creation in VBA

Please Register to Remove these Ads

Hi,

I would like to create a chart using VBA. However, my x and y axis data can change (ie. it may be 30 rows long one time and then next time only be 20 rows long)

Is there a way that the code can adjust for this and look for all the relevant data in the Column?

Please note - I wish to create the chart on Sheet 2 and the Data is on Sheet 1.

THANKS!

Kind regards,
Lewis
Reply With Quote
  #2  
Old 07-27-2009, 03:56 AM
Andy Pope's Avatar
Andy Pope Andy Pope is offline
Forum Guru
 
Join Date: 10 May 2004
Location: Essex, UK
MS Office Version:2003 & 2007 sp2
Posts: 7,220
Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding
Re: Chart creation in VBA

See this previous thread with similar request.
http://www.excelforum.com/excel-prog...le-charts.html
__________________
Cheers
Andy
www.andypope.info
Reply With Quote
  #3  
Old 07-28-2009, 05:39 AM
Lewis1 Lewis1 is offline
Registered User
 
Join Date: 21 Jul 2009
Location: Sydney, Australia
MS Office Version:Excel 2003
Posts: 16
Lewis1 is becoming part of the community
Re: Chart creation in VBA

Thanks Andy, I will check it out.
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump