[VBA]Updating a procedure or function

Last update on June 19, 2009 10:42 AM by jak58
Published by netty5

[VBA]Updating a procedure or function






Intro


Managing a workbook,provided that only the standard functions of the spreadsheet are available,is a very difficult process.

Solution


The logical step is to make use of Visual Basic Applications (VBA).

Here is a brief explanation,on how to access these features.

To manage your custom procedures and functions, you must run the Visual Basic Editor:
Go to the menu Tools/Macro/Visual Basic Editor
Or simply use the combination of Alt + F11 keys simultaneously.

You should get the VBA Project window, if it is not present, open it with the View/Project Explorer or simply press Alt + r.

In this window, you'll see your workbook and opening it you should have:
Microsoft Excel Objects including:
one line per spreadsheet(to include procedures of the sheet).
  • A ThisWorkbook for workbook procedures.
  • A sheets folder if you have create forms with the list of forms.
  • A modules folder with a line established for each module.



If you use the macro recorder to record your procedure, you will find in a module with the name you assigned.

To create a module or procedure, use the Insert menu.
Best answers for « Updating a procedure or function » in :
[Oracle]Stored Procedures and Functions Show [Oracle]Stored Procedures and Functions The functions and stored procedures may become inactive or non-functional when the tables they run, are deleted or modified. To avoid such problems, each time a table is modified or deleted, use the...
Update my graphic cards Show Update my graphic cards Introduction Detecting marks and models Option 1 Option 2 Proceed with Update Introduction Looking for better performance of graphic cards or your current one is not functioning properly. Below is a tips of how...
Unable to update Antivir ShowUnable to update Antivir Problem Solution Problem After the installation of antivirus "Antivir" you can not update it? Do not panic. Problem: When you click "Start Update", nothing happens? Cause: Improper uninstallation of...
Updating your CD/DVD burner driver ShowUpdating your CD/DVD burner driver Most CD/DVD don’t usually need a driver to run.. Windows always installs a default driver for these drives.. Windows does not recognize as a burner and its driver for a single integrated utility to...
Remove WGA updates ShowRemove WGA updates Issue Solution Issue How to remove the automatic update: "Windows Genuine Advantage Notifications" under Windows XP Professional Service Pack 3. Solution We must go to Start/All Programs/Accessories/System...
Download Norton Antivirus Updates ShowHere is the latest Norton updates for the antivirus to assure you an optimum protection against viruses. This updating is compatible with following versions of software: • Norton Antivirus 2009 for Windows XP Home / XP Pro / Vista • Norton...
Establishing a Quality Procedure ShowEstablishing a Quality Procedure Improving quality (reducing bad quality and improving work processes) in a company requires reflection by both the management and all the employees in order to define the reachable goals in terms of quality that can...
Spreadsheets - Logic Functions ShowThe Concept of a Function Spreadsheets generally have a large number of integrated functions for processing data. There are hundreds, categorised as follows: Arithmetic functions that offer basic tools to process numerical data Statistical...
Spreadsheet - Functions ShowThe Concept of a Function Spreadsheets generally have a large number of integrated functions for processing data. There are hundreds, categorised as follows: Arithmetic functions that offer basic tools to process numerical data Statistical...