A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to run a Macro at folder/directory level



 
 
Thread Tools Display Modes
  #1  
Old November 28th, 2008, 04:28 AM posted to microsoft.public.word.docmanagement
Reks
external usenet poster
 
Posts: 5
Default How to run a Macro at folder/directory level

I am running a formatting macro for word documents at individual file level.
But I need to run this macro at a folder level which will have subfolder also
(without giving/changing the folder name each time in the macro, so that it
picks up that folder).
Is this possible? What is the command to be used for this (folder/directory
level application of a macro)?
Can anyone help please?
  #2  
Old November 28th, 2008, 06:35 AM posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default How to run a Macro at folder/directory level

See the article "How to get the names of all the folders in the folder tree,
starting from a specified folder" at:

http://www.word.mvps.org/FAQs/Macros...sIntoArray.htm


--
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

"Reks" wrote in message
...
I am running a formatting macro for word documents at individual file
level.
But I need to run this macro at a folder level which will have subfolder
also
(without giving/changing the folder name each time in the macro, so that
it
picks up that folder).
Is this possible? What is the command to be used for this
(folder/directory
level application of a macro)?
Can anyone help please?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.