Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
90Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
excel 2003 vba

excel 2003 vba

Ratings:

4.78

(18)
|Views: 8,380 |Likes:
Published by johncaulfield
Free training manual on Excel VBA from www.Mousetraining.co.uk
Free training manual on Excel VBA from www.Mousetraining.co.uk

More info:

Published by: johncaulfield on May 12, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

04/13/2013

pdf

text

original

 
Microsoft Excel 2003Visual Basic for Applications
 
© MTC Training Solutions 12/05/08
EXCEL 2003 VBAAPPENDIX A - NAMING CONVENTIONSTABLE OF CONTENTS
 What is a Macro? ........................................................................................................................................7Recording a Macro .....................................................................................................................................7Running a Macro ........................................................................................................................................9Relative References ...................................................................................................................................9Assigning a Macro to a Button on a Sheet ..............................................................................................10Assigning a Macro to a Drawn Object on a Sheet ..................................................................................11Assigning a Macro to a Button on a Toolbar ...........................................................................................11Customising a Toolbar 11Creating a Toolbar 12Button Image Editor 12Changing a Button’s ScreenTip 13Exercise 1 ................................................................................................................................................14Answers to Exercise 1 .............................................................................................................................15Question 1 15Question 2 15Visual Basic Editor ...................................................................................................................................16Project Explorer 16Procedures ...............................................................................................................................................18Sub Procedures 18Inserting Comments ................................................................................................................................18Printing a Visual Basic Module ................................................................................................................19Exercise 2 ................................................................................................................................................20Answers to Exercise 2 .............................................................................................................................21Question 1 21Introduction .............................................................................................................................................22Cells Method ............................................................................................................................................22Range Method ..........................................................................................................................................22Selecting Range Objects 22Flexible Ranges ........................................................................................................................................23Offset Method 23Resize Method 24Selection, ActiveCell and Activate Methods 24Row and Column Properties 24Rows and Columns Methods 24Address Method 24End Method 25Combining Methods 26Virtual Worksheets 27Range Contents .......................................................................................................................................27Value Property 28Formula Property 29FormulaR1C1 Property 29Techniques for Inserting Values in the Next Blank Row .........................................................................29
Page 2
 
© MTC Training Solutions 12/05/2008
MICROSOFT EXCEL 2003
Appendix A - Naming Conventions
NumberFormat Property 29Exercise 3 ................................................................................................................................................30Answers to Exercise 3 .............................................................................................................................31Question 1 31Question 2 31Question 3 31Question 4 31Question 5 31Activating a Workbook .............................................................................................................................32Activating a Worksheet ...........................................................................................................................32ThisWorkBook ..........................................................................................................................................32Controlling Objects with their Properties ...............................................................................................34Setting a Property Value 34Returning a Property Value 34Performing Actions with Methods ...........................................................................................................34Using Methods 34Using Named arguments 36Performing Multiple actions on an Object ...............................................................................................37Exercise 4 ................................................................................................................................................38Answers to Exercise 4 .............................................................................................................................39Question 1 39Question 2 39Variables ..................................................................................................................................................40Declaring Variables 40Local, Module-Level and Public Variables 41Naming Variables 41Data Types ...............................................................................................................................................41Variant Data 41Specific Data Types 42Numeric Data 42Character Data 43Date and Time 43Boolean 43Arrays 43Objects 45Constants .................................................................................................................................................46Exercise 5 ................................................................................................................................................47Answers to Exercise 5 .............................................................................................................................48Question 6 48Conditional Control Structures ...............................................................................................................49IF...THEN...ELSE 49SELECT CASE 50Looping Control Structures .....................................................................................................................52
Page 3 

Activity (90)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Squezer20 liked this
JonoRowland liked this
sofia_guti liked this
owrodriguez liked this
elinzola liked this
Bbaggi Bk liked this
qualnet liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->