Wiley 978-0-470-03738-6 Datenblatt

Stöbern Sie online oder laden Sie Datenblatt nach Software-Handbücher Wiley 978-0-470-03738-6 herunter. Wiley Excel 2007 All-In-One Desk Reference For Dummies Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 10
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Chapter 1: Building and
Running Macros
In This Chapter
Understanding how macros do what they do
Recording macros for instant playback
Using the relative option when recording macros
Running the macros you’ve recorded
Changing the macro security settings
Assigning macros to the Quick Access toolbar
M
acros enable you to automate almost any task that you can undertake
in Excel 2007. By using Excel’s macro recorder to record tasks that
you perform routinely, you not only speed up the procedure considerably
(because Excel can play back your keystrokes and mouse actions much
faster than you can perform them manually), but you are also assured that
each step in the task is carried out the same way each and every time you
perform the task.
Excel’s macro recorder records all the commands and keystrokes that you
make in a language called Visual Basic for Applications (VBA), which is a
special version of the BASIC programming language developed and refined
by the good folks at Microsoft for use with all their Office application pro-
grams. You can then use Excel’s Visual Basic Editor to display and make
changes to the macro’s VBA code.
In this chapter, you find out how to use Excel’s macro recorder to record,
test, and play back macros that you use to automate repetitive tasks required
when building and using your Excel worksheets and charts. In the next
chapter, you find out how to use Excel’s Visual Basic Editor to debug and
edit the macros that you record, as well as to create complex macros that
run custom functions and set up and run custom Excel applications, com-
plete with their own pull-down menus and dialog boxes.
36_037385 bk08ch01.qxp 11/17/06 11:08 AM Page 701
COPYRIGHTED MATERIAL
Seitenansicht 0
1 2 3 4 5 6 7 8 9 10

Inhaltsverzeichnis

Seite 1 - COPYRIGHTED MATERIAL

Chapter 1: Building and Running MacrosIn This Chapter⻬ Understanding how macros do what they do⻬ Recording macros for instant playback⻬ Using the rela

Seite 2 - Macro Basics

Assigning Macros to the Quick Access Toolbar710Assigning Macros to the Quick Access ToolbarInstead of running a macro by selecting it in the Macro dia

Seite 3

Macro Basics702Macro BasicsYou can create macros two ways:✦ Use Excel’s macro recorder to record your actions as you undertakethem in a worksheet.✦ En

Seite 4

Book VIIIChapter 1Building andRunning MacrosMacro Basics703When you create a macro with the macro recorder, you decide not only theworkbook in which t

Seite 5

Macro Basics704command button on the Developer tab (Alt+LR), the macro recorder recordsall your actions in the active worksheet or chart sheet as you

Seite 6

Book VIIIChapter 1Building andRunning MacrosMacro Basics705list box to be able to run the macro anytime you like. Select This Work-book (the default)

Seite 7 - Running a macro

Macro Basics706cell. Next, click the Bold button and then click 16 on the Font Size drop-down list on the Home tab. Finally, drag through cells A1:E1

Seite 8 - Macro Security

Book VIIIChapter 1Building andRunning MacrosMacro Basics707Running a macroAfter recording a macro, you can run it by doing any of the following:✦ Clic

Seite 9

Macro Security708If you run your macro in a worksheet that already contains data in the cellsthat the macro uses, you run the risk of having existing

Seite 10

Book VIIIChapter 1Building andRunning MacrosMacro Security709The Macro Settings tab of the Trust Center dialog box also contains theseother option but

Kommentare zu diesen Handbüchern

Keine Kommentare