Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you create a chart in excel using vbscript?

Status
Not open for further replies.

Smithsco

Technical User
Mar 30, 2003
89
AU
I am editing an existing file by
dim appXL
set appXL = wscript.createobject("Excel.application")
appXL.visible = True
appXL.workbooks.open("d:\book3.xls")
appXL.activesheet.cells(2,2).value = "blah"
appXL.activeworkbook.save
appXL.quit

How can I make a bar chart (A1 to A12) using VBS?
 
Smithsco,

Some pages to check, with code include:

ASP and Excel Charts

Excel and asp (charts)

For more, suggest you go to Google and try "vbscript excel charts" or "asp excel charts". Although these examples may wrap the VBScript in html, you can easily strip that off and work on it from there.

Hope this helps.
DougCranston
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top