Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Taking hours to save excel file

To save an excel file of about 32.602 MB size it takes 14hrs45min.
Currently it is implemented using threads in VC++.
Here a stingray studio function (OnSaveDocument) is used to save the file in
excel format.
Working on Visual Studio 2003
How can it be reduced to about 4 hrs??
Here before saving the data to the Excel file, the values are populated to a
grid after calculation.
To place the value in the grid we call CGXGridCoSetValueRange().
Now to improve the performance, I changed it to CGXData:StoreValueRowCol()
to place the values.
Also I tried using LockUpdate() along with this.

But all these did not have any effect.

Please help



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default Taking hours to save excel file

36 megs of data is by no means the biggest workbook I've worked with and that
seems like an outrageous time to save. What happens if you rule
stingray/vc++ out & just use Excel to do the save?


"Anna Rajan" wrote:

To save an excel file of about 32.602 MB size it takes 14hrs45min.
Currently it is implemented using threads in VC++.
Here a stingray studio function (OnSaveDocument) is used to save the file in
excel format.
Working on Visual Studio 2003
How can it be reduced to about 4 hrs??
Here before saving the data to the Excel file, the values are populated to a
grid after calculation.
To place the value in the grid we call CGXGridCoSetValueRange().
Now to improve the performance, I changed it to CGXData:StoreValueRowCol()
to place the values.
Also I tried using LockUpdate() along with this.

But all these did not have any effect.

Please help





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Taking hours to save excel file

The delay is for saving the data from the worksheet to excel file.
can you provide me with a VC++ code to save a huge data into excel file

"James Snell" wrote:

36 megs of data is by no means the biggest workbook I've worked with and that
seems like an outrageous time to save. What happens if you rule
stingray/vc++ out & just use Excel to do the save?


"Anna Rajan" wrote:

To save an excel file of about 32.602 MB size it takes 14hrs45min.
Currently it is implemented using threads in VC++.
Here a stingray studio function (OnSaveDocument) is used to save the file in
excel format.
Working on Visual Studio 2003
How can it be reduced to about 4 hrs??
Here before saving the data to the Excel file, the values are populated to a
grid after calculation.
To place the value in the grid we call CGXGridCoSetValueRange().
Now to improve the performance, I changed it to CGXData:StoreValueRowCol()
to place the values.
Also I tried using LockUpdate() along with this.

But all these did not have any effect.

Please help



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default Taking hours to save excel file

Actually - not using vc++ was kind of the point of what I was trying to get
you to do.

Are you saying it's getting the data from VC++ to Excel that's taking the
time and it actually has nothing to do with saving the file at all?


"Anna Rajan" wrote:

The delay is for saving the data from the worksheet to excel file.
can you provide me with a VC++ code to save a huge data into excel file

"James Snell" wrote:

36 megs of data is by no means the biggest workbook I've worked with and that
seems like an outrageous time to save. What happens if you rule
stingray/vc++ out & just use Excel to do the save?


"Anna Rajan" wrote:

To save an excel file of about 32.602 MB size it takes 14hrs45min.
Currently it is implemented using threads in VC++.
Here a stingray studio function (OnSaveDocument) is used to save the file in
excel format.
Working on Visual Studio 2003
How can it be reduced to about 4 hrs??
Here before saving the data to the Excel file, the values are populated to a
grid after calculation.
To place the value in the grid we call CGXGridCoSetValueRange().
Now to improve the performance, I changed it to CGXData:StoreValueRowCol()
to place the values.
Also I tried using LockUpdate() along with this.

But all these did not have any effect.

Please help



  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Taking hours to save excel file

The entire code is in VC++....It uses some stingray studio function to save
the data obtained from a table to an excel file. I would like to know if I
can get some way to write huge data into excel file

"James Snell" wrote:

Actually - not using vc++ was kind of the point of what I was trying to get
you to do.

Are you saying it's getting the data from VC++ to Excel that's taking the
time and it actually has nothing to do with saving the file at all?


"Anna Rajan" wrote:

The delay is for saving the data from the worksheet to excel file.
can you provide me with a VC++ code to save a huge data into excel file

"James Snell" wrote:

36 megs of data is by no means the biggest workbook I've worked with and that
seems like an outrageous time to save. What happens if you rule
stingray/vc++ out & just use Excel to do the save?


"Anna Rajan" wrote:

To save an excel file of about 32.602 MB size it takes 14hrs45min.
Currently it is implemented using threads in VC++.
Here a stingray studio function (OnSaveDocument) is used to save the file in
excel format.
Working on Visual Studio 2003
How can it be reduced to about 4 hrs??
Here before saving the data to the Excel file, the values are populated to a
grid after calculation.
To place the value in the grid we call CGXGridCoSetValueRange().
Now to improve the performance, I changed it to CGXData:StoreValueRowCol()
to place the values.
Also I tried using LockUpdate() along with this.

But all these did not have any effect.

Please help



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel files, periodically, taking a long time to save or open mavio Excel Discussion (Misc queries) 0 October 16th 09 04:43 PM
Excel File Taking Forever to Open MEAD5432 Excel Discussion (Misc queries) 5 June 11th 08 08:58 PM
Taking long time to save file to sub folder Bill A Excel Discussion (Misc queries) 3 July 19th 07 08:30 PM
How to save file in a macro taking new name from cell contents? LowIQ Excel Discussion (Misc queries) 3 May 31st 06 10:52 PM
Apply a macro to all sheets - save me from hours and hours of work Excel'ed Failures Excel Programming 3 January 30th 06 05:48 PM


All times are GMT +1. The time now is 11:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"