Word Document Properties


Chapter 3: Writing Structured VBA Programs



Download 8,82 Mb.
Pdf ko'rish
bet59/207
Sana16.03.2022
Hajmi8,82 Mb.
#496217
1   ...   55   56   57   58   59   60   61   62   ...   207
Bog'liq
VBA For Dummies 5th Ed.pdf ( PDFDrive )

Chapter 3: Writing Structured VBA Programs
08_046500 ch03.qxp 12/5/06 5:34 PM Page 57


8. Click Stop Recording.
The Office application finishes the macro. The Stop Recording toolbar
disappears.
You can see your new macro by choosing Tools

Macro

Macros. The Macro
dialog box contains a list of the macros associated with the current docu-
ment, whether they’re local or part of another document, stencil, template,
or other associated file.
Although this book proper doesn’t contain much material on Visio or
FrontPage, you’ll find a Visio Bonus Chapter on the Dummies.com Web site.
Visit 
www.dummies.com/go/vbafd5e
to download both the source code
and the Bonus Chapters (one for Visio and another for FrontPage).
Modifying the macro
Modifying a macro recorded using the Macro Recorder is much like modifying
any other macro. The only differences are that you didn’t write the initial code
and the Macro Recorder doesn’t add any comments for you. As an example,
open the Excel macro created earlier in this chapter, in the “Recording a
macro using the Ribbon interface” section. The following steps describe how
to perform this task:
1. Open the Macro dialog box. When using the Ribbon interface, you
click Macros on the Developer tab. When using the menu interface,
choose Tools

Macro

Macros.
You see the Macro dialog box, shown in Figure 3-4.
2. Choose the macro you want to edit and then click Edit.
The Office application opens the Visual Basic Editor with the selected
macro opened, as shown in Figure 3-5. (You may see other macros files
opened as well.)
3. Add comments to the recorded macro so that you can retrace your
steps later.
Stop Recording
Pause Recording

Download 8,82 Mb.

Do'stlaringiz bilan baham:
1   ...   55   56   57   58   59   60   61   62   ...   207




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©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