Opening an Excel Sheet everytime a document is saved in a folder

ericpny2

New Member
Joined
Jun 4, 2011
Messages
33
Is there anyway to have a specific excel sheet open up everytime a Word document is saved in a specific folder?
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
or if it cant open the file, have the file at least update by entering the name of the file in a certain cell?
 
Upvote 0
a specific Word document, or any Word document saved in that folder?

What are you trying to achieve?
 
Upvote 0
<P>any word document saved in that folder.  So everytime a report is written and sent out, i need to update an excel log which shows all of the reports. As a reminder to log it, it would be helpful to have the excel sheet open every time a word document is saved in that folder.  We have several different people who are saving these documents so sometimes people forget to log the report, and if that happens it can cause some problems with the numbering in the log</P>
<P> </P>
<P>Please let me know if there is a efficient solution to this</P>
 
Upvote 0
It can be done, but it's not easy.

I'm not sure if you're familiar with events, but what you need is to subscribe to filesystem events (file_created) in a specific directory. Unfortunately, these events are not exposed in Excel or Word. Maybe it's possible with Windows API calls, but I doubt it.

In .NET you can easily do this with a FileSystemWatcher object, but it would mean you need to create a .NET tool that runs all the time, for all users, not a trivial task.

If only it had been a specific Word document, you could have written code in the Save event there...

A specific Word add-in might be able to trap all save actions for all documents, and respond when files are saved to that particular directory, but again, this is not a trivial thing to create...
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,762
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top