VB in Word

CycloWizard

Lifer
Sep 10, 2001
12,348
1
81
So I was doing a lot of writing in Word 2003 when I got an error message "Code execution has been interrupted" in a message box titled "Microsoft Visual Basic". I played around a little bit and figured out this happens when you have previously hit ctrl-break and try to paste something. So, my question is can you actually use VB in Word, or is it only used by Word for internal commands like copying and pasting?
 

Bulldog13

Golden Member
Jul 18, 2002
1,655
1
81
Yes. VBA.

You can do alot of the same things that you can do with straight up VB.
 

CycloWizard

Lifer
Sep 10, 2001
12,348
1
81
Thanks guys. Not sure how I went years using VB and Word and never heard of this, but it's never too late! :beer::beer:
 

CycloWizard

Lifer
Sep 10, 2001
12,348
1
81
Originally posted by: Bulldog13
It works like that in all Office programs too. Excel, Access, Outlook, etc
Yeah, I use it all the time in Excel but just never realized it could be used in Word. I've just been banging my head against the wall doing repetetive things manually the entire time. :(