Вы находитесь на странице: 1из 8

Work with macros

In the message bar, click Enable Editing,

then press F5 or click Slide Show > From Beginning to start the course.
If the videos in this course dont play, you may need to
download QuickTime or just switch to PowerPoint 2013.

Work with macros

Closed captions

Course summary

soclick
You
A
To
If
After
As
When
Thats
ILets
See
Were
Perfect,
and
Watch
The
So,
It
Before
By
instead
Well,
Just
Ill
Now
This
So
In
youre
happened
quick
the
record
repeat
click
clear
type
see
that
using
Iyou
lets
Ill
why
want
how
move
to
best
macro
click
some
this
time
name
Ibefore
Ill
Ill
Iclear
the
OK
where
what
next
done
see
Iknow
type
what
change
Iitll
clear
get
the
can
Sunday,
get
of
clear
note:
so
these
started
did
time
on
relative
the
Record
way
Ito
these
an
File
Record
building
the
over
other
choose
do
far.
this
video,
recorder
filled-in
Macros
started.
over
see
we
Sunday,
athat
with
version
happens.
automate
start
we
Ibecause,
these
auto-fill
all
Record
these
Ill
to
need
macros
Windows
tab,
cells
something
Developer
things
want
macro,
cell,
here,
that
steps,
of
get
recording,
do
select
do
buttons
happen?
here,
references,
Macro,
our
the
Macro
well
Options,
the
FillDaysRelative
cells
again,
abutton
filled
my
A1
to
that?
and
started,
of
Ithe
is
to
Macro
series
auto-fill,
operation
the
right-click
recorder.
arent
up
but
by
record
macro
Ithe
aOffice
FillDays.
through
rewrite
auto-fill,
record,
release
RT
and
relative
turn
cell
give
repetitive
button.
cells
Ill
aTool
default,
Record
tab
athis
easiest
to
IPC,
bit,
using
little
Customize
go
button
should
available
IIll
the
inon
and
commands
itwant
2013
abring
to
Tips
and
time
the
lets
ayoull
over
switch
so
anew
the
Macro
G1.
where
the
references
and
bit
macro
Use
clean
different
new
aA1
the
here
way
Ill
FillDaysRelative
since
task
and
show
to
macro.
youre
start
turned
right
Ill
different.
up
have
cell
In
macro.
later.
Stop
through
Relative
clear
see
macro
in
make
to
name,
turn
other
up
to
Inames
the
Ribbon,
in
Run,
will
and
build
Office
thats
at
what
cell
mouse
Microsoft
turned
create
are.
the
Excel
the
column
Recording.
running,
these
to
Macro
cell
on
build
setting
sure
drag
words,
and
recorder
C7
FillDaysRelative,
References.
Stop
Code
aG1.
worksheet
cant
will
all
the
on
B5.
and
series
so
and
abutton
on
cells
the
now
awe
itdialog
go
new
aand
macro
that
can
Recording?
series
Office
click
contain
to
group
itUse
over
Windows
wanted
run
Developer
in
and
failed.
of
was
itthe
row,
macro
be
you
and
works
each
File
Relative
days
my
and
box,
here
by
recorder.
manually
2013
select
right.
very
using
are
can
C3,
spaces.
and
click
selecting
macro
to
select
cell,
and
based
and
RT
in
perfectly.
Ithe
When
important.
just
select
RT
record,
do
tab
A1.
absolute
Excel.
then
Reverences.
Fill
PC.
all
click
Record
click
here.
the
in
from
to
A1
ison
Series.
the
Im
an
the
click
Developer,
available
test
OK
task
again
Run.
Ill
typing
way
Excel
there.
done,
references.
active
click
Macro
the
to
Account.
again
through
so
start
macro
tool
Sunday
Stop
on
Ill
cell
we
button
and
with
click
recording.
the
called
can
and
Recording.
athen
Saturday.
ribbon.
ain
that.
little
test
single
6athe
cells
click
cell.
more.
our
Visual
click.
to
OK.
macro.
itsBasic
right,
Editor,
Press F5 to start, Esc to stop

2
5:08

Get started

1/4 videos

3
3:29

Edit macros

4
3:09

Save macros

Summary

Feedback

Help

2:55

Assign a button

Help

Work with macros

Closed captions

Course summary

so the
FillDaysRelative,
and
We
Click
This
Visual
You
Heres
Lets
for
Im
Well
The
change
Change
Those
And
which
Ill
across
All
In
select
click
close
run
the
that
that,
rows
going
could
can
first
next
arrange
opens
now,
pick
edit
rename
the
change
first
next
is
Basic
are
the
itmacro
row
you
here
A1
just
the
also
itand
thing
all
Macros
thing
the
up
ifrecord
to
in
just
macro.
video,
video,
1,
the
through
of
can
Iis
Visual
from
new
at
2where
change
them
create
you
click
the
macro
rename
itbehaves
the
the
this
we
aplaces:
well
the
macro
so
enters
use
which
couple
original
button.
macro
awe
day
can
awell
need
Macros,
Its
programming
ittext,
vertically
Basic
end,
new
couple
we
macros
do
G1
itenters
to
saw
the
called
the
see
name
any
here
in
the
the
enters
save
see
left
starting
is
which
to
of
macro,
thatll
press
Editor
ainstructions
Heres
macro
how
copy
in
that
time
numbers
change
minor
Ispecial
way
off
what
of
the
and
have
afrom
the
to
your
inSub
minor
the
Enter,
is
to
with
behave
instead
athe
days
FillDaysRelativeC
by
we
with
or
with
the
also
auto-fill
going
FillDaysRelativeR,
its
column,
language
record
changes,
three
macro
scratch
days
text
or
clicking
build
is
number
want.
our
instructions
last
1any
aand
changes
here.
Sub
the
in
Sub
through
numbers
of
aeditor
across
of
macros
macro:
this
macro
off
alittle
destination;
to
workbook
first
then
entering
in
and
instead
the
Routine
macro
this
but
that
your
1.
of
this
copy
instruction;
differently.
called
that
week
ending
the
this
paste
X
7theyll
Iand
macros
look
editor,
instead
recorded,
personal
in
down
for
and
of
row,
and
Sunday,
we
one
the
on
in
heres
the
horizontally
columns,
what
like.
change
with
made
how
cells
to
its
your
which
by
column
red
are
Visual
of
macro
ActiveCell.FormulaR1C1
A1
name,
IExcel
editing
FillDaysRelativeC,
End
names
FillDaysRelative.
Monday,
and
across
just
box,
recorded
computer.
inthrough
isthe
since
Basic
the
Sub,
FillDaysRelativeC.
copied.
A.
why
doing
workbook
and
FillDaysRelative,
inbehavior
itaMacro
amanually.
these
row.
to
and
Editor.
thatll
row.
in.
A7,
honest
turn
copy
so
which
Editor.
two
save
of
Select
on
on,
to
the
itmacros
Relative
my
by
goes
goodness
is=
macro.
it,pressing
followed
changes.
Sunday.
and
down
cant
References
then
programming.
have
the
Ctrl
byclick
aAC.
the
pair
column.
Edit.
same
of
parenthesis.
name.
Press F5 to start, Esc to stop

2
5:08

Get started

2/4 videos

3
3:29

Edit macros

4
3:09

Save macros

Summary

Feedback

Help

2:55

Assign a button

Help

Work with macros

Closed captions

Course summary

Inclick
which
Just
because
Copy
And
But
So
To
IHeres
Now
Click
From
that
The
Since
can
start
bring
the
do
click
this
Excel
as
last
next
macro
heres
this
now
the
Iwell
do
now
IitEdit,
that,
the
next
is
want
just
the
want
up
quickly,
and
time,
OK
thing
athis
is
Im
Developer
View
time
says
Ill
Macro
unhide
special
the
hidden
close
on
the
which
and
and
click
in
and
to
then
select
to
just
by
under
the
when
IMacros
that
tab,
make
macro
Ill
save
want
here
shut
final
saving
the
Cancel.
going
Recorder
bring
close
stop
hidden
personal
the
workbook,
the
switch
View
Itab,
Visual
Store
this
down
video,
are
sure
to
work
personal
Sub
Idialog
macro
the
workbook
itthe
to
just
up
do
the
macro
click
to
workbook
tab
our
the
copy
macro
FillDaysRelativeR,
recording
the
Excel,
Basic
on
is
and
Visual
workbook
Ill
recorded
my
limited
clean
box,
so
and
Macros,
in
window
macro
show
this
Visual
workbook.
Personal
over
give
to
my
click
Editor,
itll
in,
is
Basic
then
and
my
computer,
up,
ainstructions
Personal
you
that
Ithis
ask
them.
is
because
Basic
in
OK.
choose
hidden
is
Personal
and
to
now
so
always
click
Editor.
which
my
always
me
how
macro
Macro
loads
the
Ill
select
Editor.
personal
you
Unhide.
ifso
hide
Personal
whether
Workbook
workbook
to
Personal
saves
Iavailable
every
want
well
didnt
Workbook,
available.
the
Workbook,
that
assign
can
the
the
same
the
see
select
we
to
macro
time
PERSONAL.XLSB
really
IWorkbook,
Macro
aopen
save
on
changes.
and
recorded.
that
the
button
name
you
all
Ill
this
need
workbook
in
macros
we
the
Ian
of
Workbook
click
want
the
start
computer.
as
cant
itto
existing
changes
to
and
including
Personal
Ill
Save.
our
ato
Excel.
record
Imacro
just
have.
edit
click
edit.
and
original
file,
workbook
and
paste
to
aheres
the
Hide.
Workbook.
macro.
so
End
the
click
its
macro,
hidden
steps,
over
Personal
Sub.
the
just
OK.
orthem.
macro
create
one
FillDaysRelativeR.
workbook.
Workbook.
click
that
a new
away.
I want
one,to
copy.
Press F5 to start, Esc to stop

2
5:08

Get started

3/4 videos

3
3:29

Edit macros

4
3:09

Save macros

Summary

Feedback

Help

2:55

Assign a button

Help

Work with macros

Closed captions

Course summary

Inclick
and
First
Here
While
Click
Again,
ITo
Now
Of
So
go
select
athis
rename
course,
check
custom
up
over
Ill
File,
lets
Ill
here
youve
itit,
the
New
Rename,
OK,
it
OK
Im
final
Iis,
create
the
here
and
show
choose
and
out
find
here
Options,
and
File
its
at
click
ittheres
it,
Group,
video,
FillDaysRelativeR
group
is
itgot
it,
on
of
now
click
the
you
tab,
the
aworks.
click
up
and
Ill
OK
and
course
commands
custom
the
acourse
replace
on
in
macro
well
always
how
Options,
Modify,
pretty
and
again,
on
OK
choose
call
Quick
the
the
the
itagain.
hook
to
heres
this
itgroup
this
works
summary
Quick
good
and
more
its
My
and
add
ribbon
call
Access
commands
Customize
time
from
Fill
rather
macro
the
add
Macros.
our
heres
itthe
for
idea
and
great
Days.
to
Access
Fill
click
macro
Macros
that
new
Toolbar.
learn.
itthe
same
at
cryptic
Days
Ithat
to
about
my
want
again.
You
the
Quick
Ill
Developer
group.
this
Toolbar.
Ribbon,
from
up
is
macro
create
and
and
end,
can
to
stored
how
icon
custom
with
Access
Macros.
rename
choose
have
heres
and
and
to
button
with
on
a in
tab.
button
the
implement
group.
best
the
spaces
Toolbar.
then
my
the
this
it.
the
Quick
in
Developer
Personal
of
macro
icon
Iand
my
same
make
all,
inAccess
custom
display
that
make
macros
explore
in
grid
sure
Workbook
my
looks
tab
itToolbar,
icon.
names.
My
Developer
personal
available
in
Excel
that
aExcel.
Macro
little
Ill2013
and
so
call
bit
workbook.
in
itll
group.
is
click
My
on
two
like
checked.
beyour
Macros,
Add.
aplaces.
upcalendar.
here
own.
Clicknext
Add.to Redo.
Press F5 to start, Esc to stop

2
5:08

Get started

4/4 videos

3
3:29

Edit macros

4
3:09

Save macros

Summary

Feedback

Help

2:55

Assign a button

Help

Help summaryWork with macros


Course

Course summary

Macros arent available in Office


on a Windows RT PC

3.

To see what version of Office 2013 youre running, click


File >Account. Look for Microsoft Office 2013 RT under
Product Information.

5.

First, show the Developer tab

Edit the macro

The Developer tab, on the ribbon, is where all of the


macro commands are. To have it appear on the ribbon,
click File > Options > Customize Ribbon, check
Developer, and click OK. On the Developer tab, in the
Code group, are the Record Macro button and some
other buttons that will come in handy.

1.

Create a macro using Visual


Basic
1.
2.

4.

2.
3.

Note Modules are automatically created for all


sheets in the workbook.

On the Developer tab, in the Code group, click


Macros.
In the Macro name box, click the macro that you
want to edit.
Click Edit. The Visual Basic Editor appears.

See also

Click Developer > Visual Basic.


If needed, in the Visual Basic Editor, on the Insert
menu, click Module.

In the code window of the module, type or copy


the macro code that you want to use.
To run the macro from the module window, press
F5.
In the Visual Basic Editor, on the File menu, click
Close and Return to Microsoft Excel when you
finish writing the macro.

More training courses


Office Compatibility Pack
Create or delete a macro
Edit a macro
Assign a macro to a button
Create and save all your macros in a
single workbook

Press F5 to start, Esc to stop

2
5:08

Get started

3
3:29

Edit macros

4
3:09

Save macros

Summary

Feedback

Help

2:55

Assign a button

Help and comments


Rating

Course summary

Thank you for viewing this course!


Please tell us what you think
Check out more courses

Press F5 to start, Esc to stop

2
5:08

Get started

3
3:29

Edit macros

4
3:09

Save macros

Summary

Feedback

Help

2:55

Assign a button

Help

Course summary

Using PowerPoints video controls

Stopping a course

Going places

If you download a course and the videos dont play


get the PowerPoint Viewer.
upgrade to PowerPoint 2013

player

the QuickTime

Press F5 to start, Esc to stop

2
5:08

Get started

3
3:29

Edit macros

4
3:09

Save macros

Summary

Feedback

Help

2:55

Assign a button

Вам также может понравиться