PC Review


Reply
Thread Tools Rate Thread

Charting DBF files in Excel using VBA?

 
 
cjr01778
Guest
Posts: n/a
 
      24th Mar 2004
I have a DBF (dBase table) file from which I need to create stacked-ba
charts -- one for every record in the table. In addition to all th
values and labels to appear on the graph, also stored in the DBF is
field which contains a unique filename used to save the created char
to a disk. Has anybody done this before using Excel/VBA? Could yo
perhaps post a sample of the code you used to accomplish this? Many
many thanks!

PS: I used to use DGE Graphics (DOS version) for this, but have lon
since lost the disks

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
 
 
 
Tushar Mehta
Guest
Posts: n/a
 
      24th Mar 2004
Turn on the macro recorder (Tools | Macro > Record new macro...), open
the file, create a file based on one record, save the result using the
desired file name, and turn off the recorder. Share the code XL
generates (not as an attachment, please) together with some more
information about how many records are there in the file (or how to
recognize the last record) and, hopefully, someone will be able to
provide you with the necessary additional code to process all the
records.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article <(E-Mail Removed)>, cjr01778
<<(E-Mail Removed)>> says...
> I have a DBF (dBase table) file from which I need to create stacked-bar
> charts -- one for every record in the table. In addition to all the
> values and labels to appear on the graph, also stored in the DBF is a
> field which contains a unique filename used to save the created chart
> to a disk. Has anybody done this before using Excel/VBA? Could you
> perhaps post a sample of the code you used to accomplish this? Many,
> many thanks!
>
> PS: I used to use DGE Graphics (DOS version) for this, but have long
> since lost the disks.
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Charting from Multiple Excel Files ACFalcon Microsoft Excel Misc 0 7th Jul 2009 09:11 PM
Charting data from many files =?Utf-8?B?U0RlYW0=?= Microsoft Excel Misc 0 4th Apr 2005 11:37 PM
charting series that are into different files (prompting each time) uriel78 Microsoft Excel Programming 0 9th Mar 2005 06:48 AM
linking/updating two files for charting boris Microsoft Excel Charting 1 6th Mar 2005 01:59 AM
Large files & charting data Cameron Microsoft Excel Misc 0 2nd Sep 2003 06:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:46 PM.