Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2005

Tip: Looking for answers? Try searching our database.

Repeat key

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joanne - 26 Jul 2005 17:47 GMT
Has anyone ever tried to write some code that would repeat an action a given
number of times?  WordPerfect had a terric key called teh "repeat key" which
did that.

Thanks for any help.
Jay Freedman - 26 Jul 2005 18:16 GMT
> Has anyone ever tried to write some code that would repeat an action
> a given number of times?  WordPerfect had a terric key called teh
> "repeat key" which did that.
>
> Thanks for any help.

I'm sure many people have tried it, and most of them probably succeeded. :-)

Look in the VBA help at the topic on the Repeat command, especially the
examples. You can write a simple macro that lets you input the number of
repeats and then calls the Repeat command with that number as the parameter.

If the number is small, just press the F4 key that number of times instead
of using a macro. Note that not all actions are repeatable.

Signature

Regards,
Jay Freedman
Microsoft Word MVP          FAQ: http://word.mvps.org

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.