Word Document Properties



Download 8,82 Mb.
Pdf ko'rish
bet39/207
Sana16.03.2022
Hajmi8,82 Mb.
#496217
1   ...   35   36   37   38   39   40   41   42   ...   207
Bog'liq
VBA For Dummies 5th Ed.pdf ( PDFDrive )

Figure 1-12:
Use the
Immediate
window to
check the
value of a
variable.
28
Part I: An Overview of VBA 
05_046500 ch01.qxp 12/5/06 5:33 PM Page 28


Using Object Browser
VBA provides access to a lot of objects, more than you’ll use for any one pro-
gram. With all the objects that you have at your disposal, you might forget
the name of one or more of them at some time. Object Browser helps you find
the objects that you need. In fact, you can use it to find new objects that
could be useful for your next project. Use the View

Object Browser com-
mand to display Object Browser, as shown in Figure 1-14. Normally, you need
to filter the information in some way.
Figure 1-14:
View the
objects that
VBA makes
available 
via Object
Browser.
Figure 1-13:
The
MsgBox
function
produces a
message
box like this.
29
Chapter 1: Getting to Know VBA
05_046500 ch01.qxp 12/5/06 5:33 PM Page 29


Browsing objects
Object Browser contains a list of the contents of all projects and libraries
loaded for the VBA IDE. You can view the list of projects and libraries by
using the Project/Library drop-down list box. When you start Object Browser,
this list box reads 

, which means that you’re viewing
everything that VBA has to offer — usually too much for someone to make
sense of it all.
Projects and libraries are different, but you won’t normally need to worry
about them to use the objects that they contain. A 
project
is the VBA code
contained in one of the files that you load into the application. In most cases,
you use a project to store the code that you create. A 
library
is external code
contained in a Dynamic Link Library (DLL) file. The DLL contains support
routines used by the application or VBA. This code is normally written by a
developer using a language such as Visual Basic or Visual C++. You can’t
easily edit the code in a DLL.
The list of projects and libraries might look complicated at first, but you can
narrow it to a few types of entries. Of course, you always see your project
templates. In addition to project templates, you find these libraries in the list:

Download 8,82 Mb.

Do'stlaringiz bilan baham:
1   ...   35   36   37   38   39   40   41   42   ...   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