Setting an active cell in Microsoft Excel 2003 involves the use of Visual Basic for Application programming. VBA lets you automate functions in an Excel spreadsheet. You use VBA to set the active cell, so users automatically go to a specific cell in a large spreadsheet. The activated cell lets you prompt a user, convenient when filling out forms or information in the spreadsheet.
Open a new or existing file in Microsoft Excel.
Click the "Tools" menu. Click "Visual Basic Editor" to open the VBA coding editor. Click the "Insert" menu item and select "Module." This option opens a module that "attaches" to the Excel spreadsheet. The module is the VBA code that runs in the spreadsheet.
Type the following code in the module editor:
In this example, the "A1" cell is activated. Replace this value with your own cell you want to activate. You can also activate a range of cells. For instance, the following code activates cells from A1 to C1:
Click the "Close" button to close the VBA editor. Click "Save" in the Excel toolbar to save the changes to the spreadsheet.
How to Set a Print Area in Microsoft Excel 2003
The spreadsheet software applications of the past made life at the office much easier by offering users with a way to create...
How To Change the Active Workbook in VBA
If you need to automate repetitive tasks in your Excel spreadsheets you can use the built-in Visual Basic for Applications (VBA) compiler....
How to Change a Cell to 26Pt in Microsoft Excel
Formatting in Microsoft Excel can be done by changing the cell size, font, color, and borders. These changes can turn a plain...
How to Enable VBA in Excel 2003
In the Microsoft Office Excel 2003 spreadsheet application you can add programming code to manually create a macro, which is a set...
How to Change the Cell Color in VBA
Developers use the Visual Basic for Applications programming language to create advanced interactions for Office products, such as Excel and Word. You...
How to Use ActiveCell in Excel Using a VBA
If you work with Microsoft Office Excel often it's good to know how to use the "ActiveCell" property to add, get, and...