Accessing/Writing to Excel files 
Author Message
 Accessing/Writing to Excel files

Quote:

>Hi everyone,

>I now use VB6 and I want to write a program to access and write to an Excel
>97 spreadsheet.

How are you doing that?  Automating Excel?

Quote:

>I've done this successfully in VB5 but everytime my program finishes, the
>spreadsheet crashes Excel when I try to load it.

So if you are writing the file manually?  What specs are you using?
Quote:

>Does anyone have any advice/experience?

>Thanks,

>Pete



Wed, 02 Oct 2002 03:00:00 GMT  
 Accessing/Writing to Excel files


Quote:


> >Hi everyone,

> >I now use VB6 and I want to write a program to access and write to an
Excel
> >97 spreadsheet.

> How are you doing that?  Automating Excel?

In VB5, you can use the OpenDatabase command specifying file format as
"EXCEL 8.0", giving you access to the Excel file.

However, doing this in VB6 seems to corrupt the file as I can't subsequently
open up the file in Excel.



Fri, 04 Oct 2002 03:00:00 GMT  
 Accessing/Writing to Excel files
Sounds like a bug in the Excel provider.  Did you try the KB?


Quote:




> > >Hi everyone,

> > >I now use VB6 and I want to write a program to access and write to an
> Excel
> > >97 spreadsheet.

> > How are you doing that?  Automating Excel?

> In VB5, you can use the OpenDatabase command specifying file format as
> "EXCEL 8.0", giving you access to the Excel file.

> However, doing this in VB6 seems to corrupt the file as I can't
subsequently
> open up the file in Excel.



Wed, 09 Oct 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. VB6: Accessing/Writing to Excel files

2. Writing to an Access or Excel file

3. Write a Excel File Without Excel App

4. Write to an Excel file from VB without Excel present

5. Writing Excel Files W/O Existing Excel Application

6. Writing Excel-files w/o Excel present?

7. read excel file in access 2000 lire fichier excel dans access 2000

8. ANNOUNCE : Platform independent toolkit for writing excel file format files

9. Opening an excel file through a form/running excel macros through access

10. Save embedded excel spreadsheet in access to excel file

11. Accessing an Excel file without opening Excel

12. Write data from excel to MS-Access using VBA

 

 
Powered by phpBB® Forum Software