Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Howto Improve speed?

My current program is written in VB .NET in VS
Studio .NET.

It opens an excel applications in the background (ugh,
the slowness) and then make it invisible and reads data
from about 20+ workbooks as the data is needed. (Read
Only)

Problem: SLOW...

Any possibilites to shorten load time?

I have minimized the amount of interaction and calling to
Excel to somewhat of a success by using:
Data_Array = WS.Range("A1", WS.Cells.SpecialCells
(XlCellType.xlCellTypeLastCell)).Value
And then reading from the Data_Array that is created
instead of repeatedly asking Excel for data.

Second Problem: Program Crash makes Excel not close

If my program should hit a fatal error (Still in beta,
working those out now) The Excel App does not close and
because it is hidden the only way to close is through the
Task Manager... Anyway to make it close with my program?
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
Improve speed of saving a large Excel file Elmer Excel Discussion (Misc queries) 3 February 5th 07 07:15 AM
howto: concat (x1:x3) Marc Hebert New Users to Excel 3 December 15th 06 07:52 PM
Can you speed UP drag speed? Ryan W Excel Discussion (Misc queries) 1 October 24th 05 06:09 PM
HOWTO Replace from Row Don Guillett[_4_] Excel Programming 9 August 24th 03 03:14 PM
HOWTO Replace from Row SolaSig AB Excel Programming 0 August 22nd 03 12:12 PM


All times are GMT +1. The time now is 01:53 PM.

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

About Us

"It's about Microsoft Excel"