Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 23rd, 2004, 03:35 PM
Authorized User
 
Join Date: May 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem openning huge xls file

Hi all

About 10,000 row and 30 column Xls file, the Excel can not open it......(full of formulas and macros)

i do not why........

could any one pls give some hints?

yours
hesham

 
Old June 27th, 2004, 11:08 AM
Authorized User
 
Join Date: Aug 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hesham,

You could try setting your security level to Highest and then disabling the macros when you open the Workbook and/or set Recalculation to "Manual" rather than automatic.

CarlR
www.vba-programmer.com

 
Old September 22nd, 2004, 08:28 PM
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Excel usually takes longer to open big files, specially, if you have formulas (i.e. vlookups) in one of your fields or columns and you save it in a share drive. If there is more than one user and somebody got impatient and cancelled the program while Excel was trying to open the file. It is possible the file has been damaged. That's probably why you cannot open it.

If you are the owner of this big files like this, always save it in your desktop aside from the share drive. It does'nt matter how big the file is. Excel can open faster and with ease. You can always update the file in the share drive.

Goodluck



Quote:
quote:Originally posted by helmekki
 Hi all

About 10,000 row and 30 column Xls file, the Excel can not open it......(full of formulas and macros)

i do not why........

could any one pls give some hints?

yours
hesham

 
Old October 5th, 2004, 04:43 AM
Authorized User
 
Join Date: Jun 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had a similar problem with a large workbook, one sheet contain 80,000 formulas. It took forever to load, save, recalculate, and it frequently crashed.

I replaced the 80,000 formulas with about 200 lines of code, it reduced the size of the workbook by about 80% and everything worked much better.

If you can put those formulas into the code with recalculated values being written back into the cells then you should find it works much better.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Representing Huge Amount of Data In a Html file me_zeta HTML Code Clinic 7 November 6th, 2006 11:23 PM
Huge problem with access 2003 andy45 Access 10 May 24th, 2005 10:08 AM
Openning a PDF file mcinar Classic ASP Basics 5 February 11th, 2005 11:49 PM
Download huge file using ASP iniro Classic ASP Basics 4 September 27th, 2004 11:56 PM
Help with reading huge XML file hitesh_kapadia ASP.NET 1.x and 2.0 Application Design 0 August 6th, 2004 02:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.