Prev: Can't link a table to excel within a Filling in Form protected doc
Next: Macro needed to insert a file chosen from a directory
From: Marley on 2 Jun 2010 20:17 I'm looking for a macro that I could add to .dotm so that I can insert selected files into my main document: From the document > click on a toolbar icon > open the correct specific folder to display the list of files in that folder > Select a file to insert it into my main document. The reason for going this way is to let people change the word files but keep them out of playing with Quick Parts/Autoext in the template itself as files might change and the list of files int eh folder might be added to. I had one I found on this community which worked on my home PC but I seem to be struggling with it at work on the network. Getting to the folder was OK but I struggled to get it to insert the file as it kept looking at my C drive. Can anyone help me? Thanks
From: Doug Robbins - Word MVP on 2 Jun 2010 21:20 Show us the code that you are trying to use. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Marley" <Marley(a)discussions.microsoft.com> wrote in message news:28938D38-1DE4-495D-9D3E-08CB26FF6720(a)microsoft.com... > I'm looking for a macro that I could add to .dotm so that I can insert > selected files into my main document: > > From the document > click on a toolbar icon > open the correct specific > folder to display the list of files in that folder > Select a file to > insert > it into my main document. > > The reason for going this way is to let people change the word files but > keep them out of playing with Quick Parts/Autoext in the template itself > as > files might change and the list of files int eh folder might be added to. > > I had one I found on this community which worked on my home PC but I seem > to > be > struggling with it at work on the network. Getting to the folder was OK > but > I struggled to get it to insert the file as it kept looking at my C drive. > > Can anyone help me? > > Thanks
From: Graham Mayor on 3 Jun 2010 00:51
See http://www.gmayor.com/Boiler.htm -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org <>>< ><<> ><<> <>>< ><<> <>>< <>><<> "Marley" <Marley(a)discussions.microsoft.com> wrote in message news:28938D38-1DE4-495D-9D3E-08CB26FF6720(a)microsoft.com... > I'm looking for a macro that I could add to .dotm so that I can insert > selected files into my main document: > > From the document > click on a toolbar icon > open the correct specific > folder to display the list of files in that folder > Select a file to > insert > it into my main document. > > The reason for going this way is to let people change the word files but > keep them out of playing with Quick Parts/Autoext in the template itself > as > files might change and the list of files int eh folder might be added to. > > I had one I found on this community which worked on my home PC but I seem > to > be > struggling with it at work on the network. Getting to the folder was OK > but > I struggled to get it to insert the file as it kept looking at my C drive. > > Can anyone help me? > > Thanks |