Feb 22 2009

Writing a Custom Function

Using VBA, Excel lets you write custom functions that you can call from any cell in your worksheet (You can also call them from macros you create in VBA, but we’ll revisit this later).  This feature is attractive when you are currently using a complicated formula to do some work in your spreadsheet, especially when [...]

Feb 12 2009

Difference Between Sub and Function

The difference between when to use Sub and Function in VBA can be confusing.  Let’s take a look at some of the differences between the two and when they should be used.  Using these two features correctly can greatly increase the flexibility of your designs.

Nov 4 2008

Using the Status Bar to Display Messages

Excel provides an easy way to show the end user messages about the status of a macro that is running. This can be a useful way of updating users, especially during long running macros, as to the status of the routine. Some users need updates from the system to let them know that the program [...]

TAGS:
Oct 16 2008

Count Rows with Data in a Macro

For this Excel tip, let’s look at an easy way to count the number of rows containing data in a spreadsheet.  One way would be to do use a for loop and a counting variable, but that contains unnecessary steps to get the job done. A simple way to count the number of rows in a spreadsheet [...]

TAGS: ,
Oct 12 2008

Using a For Loop in a Macro

If you’re new to macros, you might want to check out a previous post I made Familiarizing with the Visual Basic Editor and Use the Record Macro Feature.  Basically, the purpose of a macro in Excel is to provide you with a way of quickly and easily modifying the values in your spreadsheet.  Actually, there are [...]

TAGS:
  • Get Expert Excel Help Today! 714.262.6893

Categories

Excel Poll

How often do you use Excel at work?

View Results

Loading ... Loading ...