-
WSFredPC
AskWoody LoungerGeoff
I re-coded in an Array(8), vice 8 individual variable and found a slight (minimal) speed improvement. Not much of one, but enough to give me hope.
I was wrong about not having any trouble with the array. It took a fair amount of tinkering to get the darn thing to do what I wanted!
I was all set to re-code again, this time using 8 Array(8, x) that I would redim as x increased, to then create each of the 8 sheets from their respective arrays all at once… but someone else pointed me towards using Excels database objects instead.
I recorded a macro of Excel doing the “Get External Data” text import (the results are not pretty, but it is VERY fast) and discovered that it uses “QueryTables.Add”. I think I’ll go bark up that tree for a while… and see if it gets me anywhere.
Thanks for your help… and be prepared… I may very well end up back using the large multi-dimensional array approach… in which case I will probably be asking for help again!
Either way, I will keep you posted.
-
WSFredPC
AskWoody LoungerDavid
I stole your signature…
-
WSFredPC
AskWoody LoungerVery slick! (and professional)
Thanks for sharing, it’s given me a great idea for my own version.
-
WSFredPC
AskWoody LoungerDavid
Here are some code snippets I use…
Setting calculations to manual will keep Excel from updating any “dependant” cells until after your vba code is finished running… this may or may not have a huge effect on the speed of your vba code.
‘ Set Calculations to Manual
‘ Create a variable to save the user preference setting
Dim saveCalculation As String
‘ Save the users setting for the xlCalculation
saveCalculation = Application.Calculation
‘ Turn off calculations… speeds up VBA code
Application.Calculation = xlCalculationManual
‘ When done… reset back to user preferrence
Application.Calculation = saveCalculationTurning off screen updating sounds like exactly what you were asking about. Be aware though, ALL Excel screen updates are disabled by the following code, which can make your application appear to freeze. I always use some other activitiy indicator in conjunction with disabling screen updates… like setting a message in the status bar to “Please wait…” and, for long routines, updating the status bar message every so often throughout my code.
‘ Set StatusBar On & send a message
‘ Create a variable to save the user preference setting
Dim saveStatusBar As String
‘ Save the users setting for the StatusBar
saveStatusBar = Application.DisplayStatusBar
‘ Turn on the StatusBar
Application.DisplayStatusBar = True
Application.StatusBar = “This will take some time. Please be patient…”‘ Turn off screen updates… makes Excel appear to freeze!!!
Application.ScreenUpdating = False”” Run your time consuming routine here
‘ Turn screen updates back on
Application.ScreenUpdating = True‘ Send another message
Application.StatusBar = “Processing complete. Thank you for your patience…”‘ Set the StatusBar back to the user preferrence
Application.DisplayStatusBar = saveStatusBarBTW… love your signature! (a fellow Canadian)
Hope this helps…
-
WSFredPC
AskWoody LoungerGeoff
Thank you. That
-
WSFredPC
AskWoody LoungerGeoff
Your statement: “then at the end moving that array into the worksheet really speeded things up” really caught my attention.
I am working on something similar (importing ~ 50,000 lines of csv values into an excel workbook) and would love to see an example of the code you used for your “move-array” function. I am confident I can build the array without problems but have not found any examples of how to then move the array into a row of cells. I currently place each value individually… and yes, it is SLOW!
-
WSFredPC
AskWoody LoungerThanks Andrew (and Wassim)
As usual, a simple post to The Lounge made everything clear.
Thanks especially for the link to the other thread… a quick and effective method of providing me more information… and very applicable too.
-
WSFredPC
AskWoody LoungerSeptember 16, 2001 at 11:15 pm in reply to: How to Export Calendar Events (Outlook 2000 SP1) #542686I apologise for taking so long to post my response here
-
WSFredPC
AskWoody Lounger[indent]
Now, does anyone know why Linux distros use a Penguin?
[/indent]
It’s sad but true… the trusty penguin (the bird that can’t fly) seems to have come to stand for “Linux… it won’t fly on the desktop”!
-
WSFredPC
AskWoody LoungerIf all you want is to “just display a csv or tab delimited file” why not try List.
What does list do? Its a simple database. Modeled after the address book, it should be intuitive to use, its supposed to look just like every other pilot application. If you just want to use list on your Pilot you can stop reading here, go use it
List is compatible with ALL versions of PalmOS. (PalmOS1.0 -> PalmOS3.5)
Example input file:
===cut===
databasename,customfield1,customfield2,category1,category2
category1,field1data,field2data,notedata
===cut===URL: http://www.quux.net/list/download/listfull.zip
Page: http://www.magma.ca/~roo/list/list.htmlFrom what I have seen so far (I just found List myself) it seems to be a simple, easy to use solution for handling simple lists (go figure ).
Hope this helps…
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
3 hours, 45 minutes ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
7 hours, 43 minutes ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
7 hours, 45 minutes ago -
Unable to eject external hard drives
by
Robertos42
7 hours, 21 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
1 hour, 2 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
7 hours, 50 minutes ago -
Synology limits hard drives
by
Susan Bradley
1 day, 11 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
14 hours, 23 minutes ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
1 day, 17 hours ago -
Upgrade Sequence
by
doneager
1 day, 11 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 11 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
10 hours, 10 minutes ago -
The incredible shrinking desktop icons
by
Thumper
2 days, 15 hours ago -
Windows 11 Insider Preview Build 22635.520 (23H2) released to BETA
by
joep517
2 days, 16 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 12 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 1 hour ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
3 days, 1 hour ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
2 days, 6 hours ago -
Speeding up 11’s search
by
Susan Bradley
14 hours, 12 minutes ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
1 day, 2 hours ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
3 days, 15 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
3 days, 23 hours ago -
24H2 fixed??
by
CWBillow
2 days, 15 hours ago -
Uninstalr Updates
by
jv16
4 days, 4 hours ago -
Apple zero days for April
by
Susan Bradley
1 hour, 15 minutes ago -
CVE program gets last-minute funding from CISA – and maybe a new home
by
Nibbled To Death By Ducks
3 days, 2 hours ago -
Whistleblower describes DOGE IT dept rumpus at America’s labor watchdog
by
Nibbled To Death By Ducks
5 days, 3 hours ago -
Seeing BSOD’s on 24H2?
by
Susan Bradley
4 days, 10 hours ago -
TUT For Private Llama LLM, Local Installation and Isolated from the Internet.
by
bbearren
4 days, 17 hours ago -
Upgrade from Windows 10 to 11
by
Holdsworth8
5 days, 12 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.