Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel vba

ResolvedVersion Standard

Julian has attended:
Excel VBA Intro Intermediate course
Excel Advanced course

Excel VBA

How do you create a sub-procedure?

RE: Excel VBA

Hi Julian

To create a Sub Procedure in VBA:

1. Open the Visual Basic Editor

2. In the code window type the words

Sub Test where Test is the procedure name

The system immediately creates a procedure as seen below

Sub Test()


End Sub


Hope this helps

Carlos

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Some examples of CTRL key shortcuts in Excel 2010

Did you know that the old CTRL key shortcuts haven't changed from previous versions of Excel to the 2010 version?

They remain exactly the same:

Ctrl+B for bold
Ctrl+I for italics
Ctrl+P to Print
Ctrl+S to Save

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.