Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Function that makes excel work faster

Hi there,

I trying to insert into excel sheet values what im getting from sql. If
you have 1 report that takes 10 min time to create maybe ok. But if you
have more then 10.....

What can use to make excel work faster?

xlApp.UserControl = False

What else?

using win2000, vs2003 (vb) Mic. Excel 9,0 object libary

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Function that makes excel work faster

Application.ScreenUpdating = False

--
Kind regards,

Niek Otten

wrote in message oups.com...
| Hi there,
|
| I trying to insert into excel sheet values what im getting from sql. If
| you have 1 report that takes 10 min time to create maybe ok. But if you
| have more then 10.....
|
| What can use to make excel work faster?
|
| xlApp.UserControl = False
|
| What else?
|
| using win2000, vs2003 (vb) Mic. Excel 9,0 object libary
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Function that makes excel work faster

Maybe also

Application.Calculation = xlCalculationManual

remember to reset at the end.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Niek Otten" wrote in message
...
Application.ScreenUpdating = False

--
Kind regards,

Niek Otten

wrote in message

oups.com...
| Hi there,
|
| I trying to insert into excel sheet values what im getting from sql. If
| you have 1 report that takes 10 min time to create maybe ok. But if you
| have more then 10.....
|
| What can use to make excel work faster?
|
| xlApp.UserControl = False
|
| What else?
|
| using win2000, vs2003 (vb) Mic. Excel 9,0 object libary
|




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 400
Default Function that makes excel work faster

IF you can determine the insertion cell for each SQL,
ANDIF the recordset has the desired order for insertion in Excel.

you might use CopyFromRecordSet : see the help file.

" wrote:

Hi there,

I trying to insert into excel sheet values what im getting from sql. If
you have 1 report that takes 10 min time to create maybe ok. But if you
have more then 10.....

What can use to make excel work faster?

xlApp.UserControl = False

What else?

using win2000, vs2003 (vb) Mic. Excel 9,0 object libary


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Function that makes excel work faster

Im using CopyFromRecordSet...

Application.ScreenUpdating = False --not helping....



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Function that makes excel work faster

Is it Excel that is slow, or is it your query? I am guessing it is probably
the query - Excel is probably just waiting for the results. I think you
probably need to see if you can optimize your query instead of trying to
speed up Excel.
--
- K Dales


" wrote:

Hi there,

I trying to insert into excel sheet values what im getting from sql. If
you have 1 report that takes 10 min time to create maybe ok. But if you
have more then 10.....

What can use to make excel work faster?

xlApp.UserControl = False

What else?

using win2000, vs2003 (vb) Mic. Excel 9,0 object libary


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
Linking makes filter macro not work dzelnio Excel Discussion (Misc queries) 0 June 14th 07 08:30 PM
Make Excel work faster Siva[_2_] Excel Programming 8 April 9th 06 04:02 PM
How to get Excel to work faster Siva Excel Worksheet Functions 4 April 7th 06 01:48 PM
Make Excel Work faster Siva New Users to Excel 1 April 7th 06 10:33 AM
Can faster CPU+larger/faster RAM significantly speed up recalulati jmk_li Excel Discussion (Misc queries) 2 September 28th 05 10:24 AM


All times are GMT +1. The time now is 09:26 AM.

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"