Any document browser available?

R

Ronald

I removed these files manually and now macro stops without error dialog box,
but just stops and at left below is a text "The document is locked for
comment by" - after the monent text disappears and there is not ctr+g output
available.
 
R

Ronald

Hi again!

In order to run Steve's macro to it's end, I have tried to find and check
files, which require user input when opened, but now there is another
anomaly.
XP File Search function doesn't find words by search criteria "A word or
Phrase in the File", for excample a word "macro" isn't found even from file,
where I know it is present ...

Until I have found 3 types of files which stop Steve's macro: 1. File not
found error (obscure to me, as file has been copied from other PC and has a
correct file name, the same error when trying to open with Word open
command) 2. Errors warning that this page is protected and can't be opened
without permission. (I'm not sure if it's true or are these just corrupted
files) 3. Files with Macro
 
R

Ronald

PS. Steve if you have time to check the macro, then any question asked ór
error when opening the file should be sorted to 3rd category and closed ...
if possible.
Then I could check these files manually. Thanks for your time!

Else it looks, that soon I have run out of time and must start sorting files
manually.
 
S

Steve Rindsberg

Thanks for your time, macro almost works, except now it stops on occasional
files with Word error:
"Word failed reading from thsi file (2334458.doc). Please restore the
network connection or replace the floppy disk and retry."

Try adding this at the beginning of the RunMe macro:

Application.DisplayAlerts = wdAlertsNone
 
S

Steve Rindsberg

Hi Ronald,

After this line:

If Not oDoc Is Nothing Then oDoc.Close

add

Filecopy sdirectory & sfilename, "c:\badfile\directorypath\" & sfilename

Substitute the actual directory you want to use in place of

c:\badfile\directorypath\
 
R

Ronald

Thanks Steve,

But it appears that MS Word isn't such a reliable environment at all.
It's better give up. I picked up some more problematic docs and opened
directly with word file open command without any problems.
Unfortunately the macro and word together act differently and results aren't
convincing at all.
World now has also crashed several times when macro is running.
It's easier to sort manually.
While I still don't believe, that there isn't any suitable and reliable
document management application.

Thanks!
 
S

Steve Rindsberg

Thanks Steve,

But it appears that MS Word isn't such a reliable environment at all.

Or there's something in your environment that's making odd things happen ...
either way, you might also want to post the code so far and mention the various
issues you've run into in one of the Word-specific groups. You might be able
to find someone who's genuinely familiar with Word automation. I warned you
 
R

Ronald

Hi Steve,

Thanks for your help, you did a great work!
I have been working and providing Windows PC support for 15 years and
problem or anomalies are nothing new.
Windows and Office never have provided too much of sureness, that's where
the problem is.
I sorted files manually.

with BR
 

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