Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2006

Tip: Looking for answers? Try searching our database.

MAcro to ask for FileSelection

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Keith - 24 Nov 2006 16:47 GMT
I have recorded a macro that inserts a text file into a document and  then
formats the imported text.
My problem is that when the macro is run it always inserts the original file
that was selected in the File/Insert/selection dialogue.
Is there a way to have th emacro pause while the user selects the text file
to insert then continue to format the text.
I tried clicking on PAUSE macro when the file selection dialogue box is open
but the Macro Pause button is not active because the windows file selection
box is active
Jay Freedman - 24 Nov 2006 22:58 GMT
See the section "Making a macro more general" in
http://word.mvps.org/FAQs/MacrosVBA/ModifyRecordedMacro.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org

>I have recorded a macro that inserts a text file into a document and  then
>formats the imported text.
[quoted text clipped - 5 lines]
>but the Macro Pause button is not active because the windows file selection
>box is active

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.