Word Document Properties


Chapter 2: Your First VBA Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33



Download 8,82 Mb.
Pdf ko'rish
bet8/207
Sana16.03.2022
Hajmi8,82 Mb.
#496217
1   ...   4   5   6   7   8   9   10   11   ...   207
Bog'liq
VBA For Dummies 5th Ed.pdf ( PDFDrive )

Chapter 2: Your First VBA Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Deciding What to Do ......................................................................................34
Steps to Create a VBA Program....................................................................35
Step 1: Design the program .................................................................35
Step 2: Implement the design..............................................................36
Step 3: Test, test, test...........................................................................38
Step 4: Swat the bugs ...........................................................................39
Four Ways to Run Your Program ..................................................................40
Using the Macro dialog box ................................................................40
Using the quick-launch methods ........................................................42
Accessing the program from other VBA code ..................................45
Executing the VBA program automatically .......................................46
Using Help to Your Advantage — Stealing Microsoft’s Code....................47
Part II: Learning the Ropes ..........................................49
Chapter 3: Writing Structured VBA Programs . . . . . . . . . . . . . . . . . . . .51
Parts of a Program .........................................................................................52
Defining the parts of a program..........................................................52
Understanding the VBA programming blocks ..................................53
Using the Macro Recorder...................................................................54
Using Subs .............................................................................................60
Using Functions ....................................................................................61
Modifying the project settings............................................................61
Defining compiler options ...................................................................65
Taking the Lego Approach ............................................................................66
Creating an application plan ...............................................................67
Defining the project..............................................................................68
Adding a module...................................................................................69
Designing procedures ..........................................................................70
Writing statements ...............................................................................70
Writing Your First Sub....................................................................................71
Writing Your First Function...........................................................................73

Download 8,82 Mb.

Do'stlaringiz bilan baham:
1   ...   4   5   6   7   8   9   10   11   ...   207




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©www.hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish