Word97 Macro Help Needed 
Author Message
 Word97 Macro Help Needed

I would like to get some help with a word macro I have tried to create with
the recorder feature. It works somewhat. However, the recorder does not
insert a 'SendKeys" command which is critical to the functioning of the
macro (the command is CTRL-V, which would paste the contents of the
Clipboard to the "Find" routine - instead the recorder pastes the actual
text in the Clipboard). My overall goal is to take a list of words in one
file (the index words) and have the macro select the top word, cut it, and
move the next word to the top of the list, switch to an RTF file, find the
word and create a "K" footnote for it, then paste the word into the
footnote window next to the "K" footnote. My programming skills are
minimal. My guess is I need a way to pass the contents of the Clipboard, as
a variable, to the "Find" routine.

Thanks, Leo Gaten



Wed, 29 Mar 2000 03:00:00 GMT  
 Word97 Macro Help Needed

Dear Leo,

In the knowledge base (www.microsoft.com/kb) there is sample code to assign
clipboard text to a string variable. I suspect this would work for you. The article
ID is Q158436.

Hope this helps,
vJoe


Quote:
>I would like to get some help with a word macro I have tried to create with
>the recorder feature. It works somewhat. However, the recorder does not
>insert a 'SendKeys" command which is critical to the functioning of the
>macro (the command is CTRL-V, which would paste the contents of the
>Clipboard to the "Find" routine - instead the recorder pastes the actual
>text in the Clipboard). My overall goal is to take a list of words in one
>file (the index words) and have the macro select the top word, cut it, and
>move the next word to the top of the list, switch to an RTF file, find the
>word and create a "K" footnote for it, then paste the word into the
>footnote window next to the "K" footnote. My programming skills are
>minimal. My guess is I need a way to pass the contents of the Clipboard, as
>a variable, to the "Find" routine.

>Thanks, Leo Gaten



Thu, 30 Mar 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. need to save printer parameters (word97 - macro)

2. I need help/I need help/I need help

3. Need help developing chart macro please, need to add data to chart

4. Help! needed for startup command Word97

5. need help for word97 PLEASE!

6. Word97 Macro Help

7. Need help with word97

8. Help needed: Linking Word97 Report to Access97

9. HELP needed on exporting access97 report with grids to Word97 PLZ

10. Word97 - Template with 2 Pages - Help needed !


 
Powered by phpBB® Forum Software © phpBB Group