eArticleSubmit.com | Working to get the Maximum User Exposure to your Content
Translate Page To German Tranlate Page To Spanish Translate Page To French Translate Page To Italian Translate Page To Japanese Translate Page To Korean Translate Page To Portuguese Translate Page To Chinese

  Number of Times Read : 4

category

select Advice (1294)
select Aging (337)
select Arts and Entertainment (6712)
select Automotive (2045)
select Break-up (102)
select Business (28635)
select Business Management (1344)
select Cancer Survival (112)
select Career (3154)
select Cars and Trucks (2739)
select Celebrities (55)
select Cheating (64)
select Communications (583)
select Computers (3238)
select Computers and Technology (3504)
select Culture (301)
select Culture and Society (11738)
select Disease & Illness (1491)
select Environment (1031)
select Etiquette (47)
select Family Concerns (1349)
select Fashion (2892)
select Finance (16293)
select Finances (6477)
select Food & Beverage (734)
select Food and Drinks (898)
select Health & Fitness (12922)
select Hobbies (3769)
select Home & Family (7404)
select Home Management (4802)
select Inspirational (1)
select Internet (5025)
select Internet Business (9618)
select Jobs (469)
select Medical Business (565)
select Medicines and Remedies (3225)
select Opinions (262)
select Pets & Animals (217)
select Politics (463)
select Product Reviews (62)
select Recreation (2245)
select Recreation & Sports (12615)
select Reference & Education (5216)
select Relationships (1706)
select Religion (1213)
select Self Help (2345)
select Self Improvement (1472)
select Short Stories (32)
select Society (1755)
select Travel & Leisure (3809)
select Vehicles (480)
select Wellness, Fitness and Di (5823)
select Womens Interest (1775)
select Womens Issues (237)
select World Affairs (189)
select Writing & Speaking (1735)
 
Stats
Total Articles: 188696
Total Authors: 10662
Total Downloads: 1566229


Welcome to Our Newest Member
Shawn Joshi
 


Improve Performance Of Your Excel Macros
[Valid RSS feed]  Category Rss Feed - http://www.earticlesubmit.com/rss.php?rss=37
By : Christine Harrell    zero times read
Submitted 2008-11-26 05:44:11
Taking Microsoft Excel 2003 VBA courses is the first step in adding new functionality to your spreadsheet projects. However it is only the beginning. Efficient and powerful macro programming takes experience and practice to achieve.

Here are a few tips to get recent, or not-so-recent, graduates of Microsoft Excel 2003 VBA courses pointed in the right direction.

Reduce Traffic Between Worksheets And Macros
Passing data back and forth from cells on the worksheet to your macros is a very slow process. Minimizing this communication greatly speeds up macro function. Some users, inspired to use techniques learned in Microsoft Excel 2003 VBA courses, use macros for simple calculations better handled by worksheet functions. This may be for readability with complex formulas. It is easier to understand a macro name than a huge equation.

The problem is the more readable macro solution is slower because of the communication overhead. In a small spreadsheet the speed difference is undetectable, but in a large project unnecessary macros can slow calculations down dramatically.

Another aspect of worksheet-macro traffic that is not always covered in Microsoft Excel 2003 VBA courses is the number of read/write events. It is much faster to read a block of a thousand cells than to read each cell individually. If a macro is acting on a large range of data, read the range in first before looping through the data rather than looping and reading a cell on each iteration.

Avoid Worksheet Functions In Macros
Graduates of Microsoft Excel 2003 VBA courses often find it is convenient to use existing worksheet functions, from simple Max formulas to advanced numerical functions, rather than re-inventing the wheel. However worksheet functions are slow.

A large part of this is the communication problem from the last section however sometimes the existing function is simply too complex for the macro designer's needs. Excel functions are designed to cover a wide range of possibilities so contain many logic tests and extra code to cover eventualities that your macro may never face.

Even built in macro functions discussed in Microsoft Excel 2003 VBA courses are often less efficient than simply doing it yourself. If there is a VBA function you use often, try speed tests to see if it would be faster to enter equations directly instead.

Provide Feedback
A watched spreadsheet never calculates. Sometimes your macros may be a marvel of efficient design, a prime example of skills learned in Microsoft Excel 2003 VBA courses, but users may perceive it as slow.

Any time the user is going to have to wait for more than a few seconds, provide some kind of feedback. An updating dialogue, a progress bar, or a status cell on the sheet are ways you can give the user some indication of how much remains to be done.

Don't worry about predicting the time left, but a percentage complete at least lets the user decide whether to wait or go get a cup of coffee.
Author Resource:- Author is a freelance copywriter. For more information on Microsoft Excel 2003 VBA courses, visit http://www.MicrosoftTraining.net/.
Article From eArticles
Can't find what you're looking for? Try Google Search!
Custom Search
Social Bookmark this Article
Related Articles :

HTML Ready Article. Click on the "Copy" button to copy into your clipboard.




Firefox users please select/copy/paste as usual
Sign up
learn more
 
 
Directory Menu
Home
Login
Submit Articles
Submission Guidelines
Top Articles
Link Directory
About Us
Contact Us
Privacy Policy
RSS Feeds
Navigation Menu
select
Mortgage Accelerator Scam!
select
Electricity Bill Killer!
select
Forex Secret Code
select
The Fortune Key
select
Law of Attraction Workbook!
select
Six Figure Yearly
select
Easy Automated Income
select
Top Secret Ad Secret
select
Build Muscle&Burn Fat
select
Run Car on Water!
select
Xbox360 3Redlights fix!

Actions
Print This Article
Add To Favorites




 
 

 

Powered By: Article Friendly | Design By Dynamic web solutions

eXTReMe Tracker