![]() |
|
#1
|
|||
|
|||
![]()
Thanks a million macropod. Replacing with '.Wrap = wdFindStop' produced the desired outcome, no more interuptions, yeah!
You're right, I've got several macros for different operations. This particular one performs three operations. I did look at yours but I wasn't sure if it would work with the document I'm working with. The only way I know to make macros is to record them through the Developer tab, so I wouldn't know how to do it from just the code, at this point anyway. I've got a book with a couple of chapters on writing macros in Word so I might check it out. I'm not sure that's something I really wanna tackle right now, but I'm sure you're right, it would probably simplify life in the long run. I'm not sure why Word would temporarily skip over those dialogs, pretty weird. But it doesn't really matter now I guess. Again, much appreciated. ![]() |
#2
|
||||
|
||||
![]()
It doesn't take long to try ...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]() Quote:
One of the best ways I've found to learn vba is to look at code written by a very good programmer and try stepping through it to see what it does. The code put together by the macro recorder can be a start but it is never well written. Many functions in Word cannot be captured by the recorder. In case you haven't guessed, Paul is a very good programmer. A very good book IMHO is Writing Word Macros by Steve Roman, from O'Reilly even though I think it was written for Word 2000. As far a s time goes, if you need macros to do your work, try investing an hour a week in learning. It will repay you very quickly. Last edited by Charles Kenyon; 05-15-2012 at 05:57 AM. Reason: clean up formatting |
#4
|
||||
|
||||
![]()
Competent, may be, but I wouldn't say 'very good'.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
tays01s | Word VBA | 6 | 08-03-2011 09:42 PM |
Macros | Steveg | Word VBA | 0 | 08-18-2010 04:04 PM |
![]() |
Desertwrangler | Word VBA | 6 | 06-25-2010 07:06 AM |
macros | trancetheory | Outlook | 0 | 05-11-2010 09:31 AM |
![]() |
krdzal | Excel | 1 | 04-06-2010 07:43 AM |