Collection Error

G

Gerald Perna

I need to get a string from an input box, and use it in
a "find". It works fine inside of the same procedure.
(It's just the name of a paragraph style in the document.)

I also need to get the same string, and then use it in a
find in another procedure, but I get a "member of
collection does not exist" error. (The string has to be
applied to a find for several documents in a batch that
all have the same paragraph style.)

Can anyone help?

Thanks.

Jerry
 
D

Doug Robbins - Word MVP

Hi Gerald,

You could declare a Public variable to hold the string. But, I am not sure
why you have the separate procedures if you are performing a batch process.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top