473,387 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Excel Chart automation through Access

5
I am developing a small routine that exports data from an Access database to Excel and plots a chart.

At this stage the routine successful exports the data to excel but I am having a problem with the chart plotting part.

Even though the code for generating the plot is fine, the routine does not like some chart required parameters such as

.Axes(xlCategory, xlPrimary)
.ChartType=xlXYScatter

and the like. I need to plot a scattered graph and need to state the parameters with out which I am getting a bar chart.

I believe I have set ticked all the references required which are listed below.

1) Visual Basic for Application
2) Microsoft Access 11.0 Object Library
3) OLE Automation
4) Microsoft DAO 3.6 Object Library
5) Microsoft ActiveX Data Objects 2.1 Library
6) Microsoft Office web components 11.0
7) Microsoft Office XP Web Components
8) Microsoft forms 2 Object Library
9) Microsoft ADO Ext 2.8 for DDL and Security
10) Microsoft Excel 11.0 Object Library

I have, however, a missing Macrobrowser and I was not able to restore it or find any information about.

I would appreciate it if u could give me an idea as to what is happening.

Thanks
Mar 12 '07 #1
5 1741
willakawill
1,646 1GB
Are you doing this in access, vb or vb.net?
Mar 12 '07 #2
hayuti
5
No I am doing it in Access and populating the Excel sheet
and ploting in Excel
Mar 12 '07 #3
willakawill
1,646 1GB
Then off we go to the access forum
Mar 12 '07 #4
hayuti
5
Oh Sorry I didn't know I will repost it in the Access forum
Mar 13 '07 #5
willakawill
1,646 1GB
Oh Sorry I didn't know I will repost it in the Access forum
You don't need to. I have moved the thread.
Mar 13 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Mark Day | last post by:
Hi All, I am using Access 2000 to generate over 40 Excel charts and pivot tables using early binding to the Excel 9.0 object library. I am finding that if I show the Excel object while processing...
8
by: deko | last post by:
When using automation (and especially with early binding) I've heard it is best to use explicit references to everything. For example: Dim xlChart as Excel.Chart rather than Dim objChart...
1
by: Robin Tucker | last post by:
Heres and interesting problem: I have a VB.NET program that creates reports via. Word Automation. This all works fine. What I want to do as part of this report generation process is to embed a...
6
by: Thelma Lubkin | last post by:
I am trying to modify an Access form that allows a user to specify the information s/he needs from a census-type database. The form's code builds a SQL statement from the user's request, and...
5
by: Takeadoe | last post by:
I'm doubtful that the group is unbiased, but I will ask anyhow :o). If one intends to plot lots of data, primarily XY line and scatter plots, and mass produce them (in many cases I will be doing...
0
by: Robbe Morris [C# MVP] | last post by:
We own a variety of components that work with Excel files in a web environment (of course we can't use Excel automation in a high traffic web environment). SpreadSheet Gear (great component),...
3
by: saragoesnuts | last post by:
I have a program that automates to Excel with information in tables. I want to add charts to the excel file (pie charts, bar charts, etc). Is this possible?
3
by: hayuti | last post by:
Hi there This Question was posted on a wrong site. Just as introduction I am working in Access VBA where I coded a routine to retrive data from Access Database, exporting it on to Excel file...
3
by: dorlesky | last post by:
I've tried numerous times to get Excel to recognise the Excel Chart Object inserted into an Access Report. No Luck. I can get Access to start an instance of Excel, I can get Access to send the...
2
by: DaveD170 | last post by:
Hi everybody, I'm newbie in c# and I'm having trouble in creating an excel chart. I have vector of data that my program calculated. It's in the next format: X Y 0.1 100 0.2 90...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.