|
|
Compress Excel file after export
I have a database where the user clicks a button and it exports the 8
tables to an excel file. I've noticed that after the file is
exported, the excel file is bloated, but if i open the excel file and
resave it, the file size reduce by about half.
Is there some VB code I could use to programmatically compress the
excel file after export?
Another solution would be for me to export the tables to a csv file,
but after the export, I want the users to email the file to me and I
don't want them to have to attach 8 csv files to an email. But if
there was a way to zip the 8 files together or bundle them in some
way, that'd be a solution.
Any thoughts are appreciated.
|
|
0
|
|
|
|
Reply
|
mpfohl
|
5/3/2007 8:55:41 PM |
|
On May 3, 3:55 pm, mpf...@hotmail.com wrote:
> I have a database where the user clicks a button and it exports the 8
> tables to an excel file. I've noticed that after the file is
> exported, the excel file is bloated, but if i open the excel file and
> resave it, the file size reduce by about half.
>
> Is there some VB code I could use to programmatically compress the
> excel file after export?
>
> Another solution would be for me to export the tables to a csv file,
> but after the export, I want the users to email the file to me and I
> don't want them to have to attach 8 csv files to an email. But if
> there was a way to zip the 8 files together or bundle them in some
> way, that'd be a solution.
>
> Any thoughts are appreciated.
Why dont you use automation to duplicate the manual process? Open the
spreadsheet in code, save it, and see if that process exhibits the
same behavior.
|
|
0
|
|
|
|
Reply
|
robert
|
5/5/2007 11:59:10 AM
|
|
My database will use Visutal Studios to produce a runtime version to
run on a user's computer even if access isn't installed. I'm worried
that if my code tries to open excel and they don't have excel
installed on their computer either, it may fail? maybe this just
becomes a matter for trial and error.
|
|
0
|
|
|
|
Reply
|
mpfohl
|
5/6/2007 2:50:36 PM
|
|
|
2 Replies
589 Views
(page loaded in 0.078 seconds)
Similiar Articles: Compress Excel file after export - microsoft.public.access ...I have a database where the user clicks a button and it exports the 8 tables to an excel file. I've noticed that after the file is exported, the exce... How to reduce excel file size having pivot tables - microsoft ...Compress Excel file after export - microsoft.public.access ... I did an export from CRM (Excel Dynamic pivot table). It seems that all of the data ... How to compress an Excel work book? - microsoft.public.excel ...Compress Excel file after export - microsoft.public.access ... Compressing Workbook How do you compress an excel file, such that compressing the file reduces the file size. ... How to reduce size of ms excel file-2003 - microsoft.public.excel ...How to reduce size of ms excel file-2003 - microsoft.public.excel ... reduce excel ... Compress Excel file after export - microsoft.public.access ... How to reduce excel file ... Double quotes when exporting to tab delimited file - microsoft ...Compress Excel file after export - microsoft.public.access ... Double quotes when exporting to tab delimited file - microsoft ... Compress Excel file after export ... exporting/saving recent files list - microsoft.public.excel.misc ...Compress Excel file after export - microsoft.public.access ... exporting/saving recent files list - microsoft.public.excel.misc ... In Excel 2007 ... Return Focus to Access after Excel Export - microsoft.public ...Compress Excel file after export - microsoft.public.access ... Return Focus to Access after Excel Export - microsoft.public ... How to reduce excel file size having pivot ... Exporting to Excel 2007 format from asp.net application ...Exporting to Excel 2007 format from asp.net application ... Visual Fox Pro export to Excel - microsoft.public.excel.misc ..... files to Excel and how to export Excel ... Export multiple Excel sheets to a single text file - microsoft ...Compress Excel file after export - microsoft.public.access ... Export multiple Excel sheets to a single text file - microsoft ..... to a tab delimited text file ... Programmatically Export to Excel - microsoft.public.access ...Compress Excel file after export - microsoft.public.access ... Is there some VB code I could use to programmatically compress the excel file after export? Excel export file size TOO large, How to compressI am having issue that when i do export to excel it does creates file 34 MB but when i do Re save(manually) it, it gets compressed to 14 MB data But we ... Compress Excel file after export - microsoft.public.access ...I have a database where the user clicks a button and it exports the 8 tables to an excel file. I've noticed that after the file is exported, the exce... Excel export file size TOO large, How to compressExcel export file size TOO large, How to compress: I am having issue that when i do export to excel it does creates file 34 MB ... Compress Excel File Windows - Free Software DownloadExcel file repair tool supports almost all existing versions of .xls formats like ... gives you the opportunity to scan, backup and compress your registry.After compress,the ... How to Compress an Excel Spreadsheet | eHow.comHow to Reduce the Size of Excel Files. Many businesses use Excel to track their data and expenses. However, you can run into problems when files grow too big. Try... 7/24/2012 12:16:01 AM
|
|
|
|
|
|
|
|
|