Reply
 
Thread Tools Display Modes
  #1   Report Post  
ShelleyC
 
Posts: n/a
Default how do you make a macro execute x number of times?

How do you make a macro execute x number of times? I have created a macro
that searches for text, goes to the beginning of that line, highlights to the
end, copies it, and then moves it to an adjacent column. I need that macro
to execute about 1200 times and I don't want to do that manually. Any advice?
  #2   Report Post  
Greg
 
Posts: n/a
Default

Shellyey,

Maybe something like:

Dim i as Integer

For i = 1 to 1200
'Your code
Next i

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make this macro add text in front... Dbltap Page Layout 2 March 1st 05 08:01 PM
Make Figure number the same as Heading number +-Steve-+ New Users 4 February 22nd 05 09:50 PM
Want to Repeat Records certain number of times davis Mailmerge 2 February 16th 05 08:21 PM
How to use make a macro active new office 2003 user Microsoft Word Help 2 January 21st 05 02:31 AM
how do i make a name and phone number at the bottom of a flyer I'm stuck on flyer Tables 1 December 3rd 04 01:01 AM


All times are GMT +1. The time now is 09:24 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"