|
| |
|
|
billyd380
Posts: 35 Joined: 7/21/2004 Status: offline
|
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
|
|
|
|
treetopsranch
Posts: 1059 From: Cottage Grove, OR, USA Status: offline
|
RE: Record Macro - 9/21/2007 18:58:00
Yes many macros don't work when using one created in one program and trying to use that macro in another program. You wouldn't want to paste stuff from a Word macro into a web anyway. Lord knows what garbage you would bring into your web. I don't use EW but found this on google: "Open Expression Web and press ALT + F8 to open the Macro window. " I would expect you would need to open your web first. Then do the alt + F8 and create your macro fresh. Maybe you will get a better answer from the EW users here.
_____________________________
Don from TreeTops Ranch, Oregon "I've got a taste for quality and luxury"
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|