|
billyd380 -> Record Macro (9/21/2007 9:55:43)
|
I am write a macro so that if I hit Ctrl + T it will type out a sentance. I created this in Word just fine using the Record a Macro feature and everything worked. In EW it doesn't have the option to Record so I copied from the Word VB editor to the EW VB editor thinking everything would work fine, it didn't. When I run the macro it gives me an 424 run-time error and hilights this part in the code: Selection.TypeText Text:= _ "sentence here" Any ideas on what I can do to get this to work. It can't be very hard I'm just not knowledgable in VB enough to figure this stuff out. You guys have helped me before and I greatly appreciate it. Here is the whole script just incase there is something wrong. Sub Video() ' Selection.TypeText Text:="Sentence Here" End Sub
|
|
|
|