Urgent : Exporting Access 97 data to Excel 97 
Author Message
 Urgent : Exporting Access 97 data to Excel 97

Hi -
I'm having a few problems generating Excel 97 reports with
Access 97. First of all, it reads certain fields as
Numeric that should be read as Text or General (for
instance, with Id numbers that begin with leading zeroes,
the zeroes are cut off.) Second of all, the Excel file
winds up being in Excel 95 format!!
Any way I can change this (besides upgrading to XP? The
place I'm working at doesn't have the budget for it :( )?

Thanks

Erik



Fri, 16 Jan 2004 23:03:35 GMT  
 Urgent : Exporting Access 97 data to Excel 97
Erik wrote

Quote:
> Hi -
> I'm having a few problems generating Excel 97 reports with
> Access 97. First of all, it reads certain fields as
> Numeric that should be read as Text or General (for
> instance, with Id numbers that begin with leading zeroes,
> the zeroes are cut off.)

Try using transferText to a CSV along with an export specification (see
Help).

Quote:
> Second of all, the Excel file
> winds up being in Excel 95 format!!

For that, you'll need to use TransferSpreadSheet with
acSpreadsheetTypeExcel8.

Seems like you're better off automating Excel for this feature.

  -- Dev



Sat, 17 Jan 2004 20:14:03 GMT  
 Urgent : Exporting Access 97 data to Excel 97

Quote:
>-----Original Message-----
>Erik wrote

>> Hi -
>> I'm having a few problems generating Excel 97 reports
with
>> Access 97. First of all, it reads certain fields as
>> Numeric that should be read as Text or General (for
>> instance, with Id numbers that begin with leading
zeroes,
>> the zeroes are cut off.)

>Try using transferText to a CSV along with an export
specification (see
>Help).

>> Second of all, the Excel file
>> winds up being in Excel 95 format!!

>For that, you'll need to use TransferSpreadSheet with
>acSpreadsheetTypeExcel8.

>Seems like you're better off automating Excel for this
feature.

>  -- Dev
>.

Thanks for the help. I guess I'll have to format the Excel
file after the export and do "Save As." I think it would
be easier just to import the file into Excel instead of
fooling with the Access part, but it's not really up to
me :(


Sat, 17 Jan 2004 21:18:29 GMT  
 Urgent : Exporting Access 97 data to Excel 97
in excel, select the column that you want to keep the leading 0's in
and go to Format->Cells, Under the Number tab choose Custom, in the
Type field go something like:

00000000

.... to have a field that will keep the leading 0's and be 8
characters long.

r

Quote:

> >-----Original Message-----
> >Erik wrote

> >> Hi -
> >> I'm having a few problems generating Excel 97 reports
>  with
> >> Access 97. First of all, it reads certain fields as
> >> Numeric that should be read as Text or General (for
> >> instance, with Id numbers that begin with leading
>  zeroes,
> >> the zeroes are cut off.)

> >Try using transferText to a CSV along with an export
>  specification (see
> >Help).

> >> Second of all, the Excel file
> >> winds up being in Excel 95 format!!

> >For that, you'll need to use TransferSpreadSheet with
> >acSpreadsheetTypeExcel8.

> >Seems like you're better off automating Excel for this
>  feature.

> >  -- Dev
> >.

> Thanks for the help. I guess I'll have to format the Excel
> file after the export and do "Save As." I think it would
> be easier just to import the file into Excel instead of
> fooling with the Access part, but it's not really up to
> me :(



Sun, 18 Jan 2004 12:33:42 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Exporting Access 97 data to Excel 97

2. Sending and manipulating data from Access 97 to Excel 97

3. Importing/Exporting data from a custom Outlook 97 Form into an Excel Spreadsheet

4. Exporting Data From VB 5 to Excel 97

5. Insert data from Excel 97 into Word 97

6. MS Access 97 - Exporting Queries to Excel

7. Export Access 97 to Excel 95 via OLE

8. Export from Access 2000 to Excel 97

9. vba code to copy table from access 97 to excel 97

10. Automation Problem with Access 97/Excel 97

11. importing excel 97 srpeadsheets to access 97

12. Import from Excel 97 to Access 97 table

 

 
Powered by phpBB® Forum Software