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

how do i auto create a chart using Vba for the range A1: C14 right
after cell C14 has a value in it?

thanks in advance :)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 473
Default autocreate chart

Paradise wrote:
how do i auto create a chart using Vba for the range A1: C14 right
after cell C14 has a value in it?


So you want to take action when the value in C14 changes?
That suggests a Worksheet_Change procedure in the module belonging to
the sheet.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Intersect(Target, Me.Range("C14")) Is Nothing Then Exit Sub
If IsEmpty(Me.Range("C14")) Then Exit Sub ' must have been cleared
' code to create the chart (you could macro record this).
End Sub

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup

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
Dynamic chart- curve dropping to zero ( chart type- Line) vmohan1978 Charts and Charting in Excel 0 February 1st 10 09:11 AM
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard Julius Charts and Charting in Excel 2 March 6th 09 04:43 PM
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard Julius Setting up and Configuration of Excel 1 March 6th 09 01:57 AM
Autocreate Worksheet Kevin Excel Discussion (Misc queries) 1 August 29th 07 05:36 PM
Autocreate folders Mike Excel Discussion (Misc queries) 1 May 2nd 06 01:27 AM


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