create shortcut to active document and place in a folder

L

Larry

Man, you're not kidding. Every kind of error you can think of is
associated with
'-2147467259 (80004005)'. Figuring this out is going to take a while.

Larry
 
L

Larry

There are scads of articles on this run-time error at the MS Knowledge
Base relating to every kind of problem, and they're all written in
technical language for developers, which I am not. But if my particular
issue were addressed in a KB article, can you give me an idea of the
kinds of things it would be saying. What are the types of things that
might cause this error?

Larry
 
J

Jonathan West

Larry said:
There are scads of articles on this run-time error at the MS Knowledge
Base relating to every kind of problem, and they're all written in
technical language for developers, which I am not. But if my particular
issue were addressed in a KB article, can you give me an idea of the
kinds of things it would be saying. What are the types of things that
might cause this error?


Larry,

Often this kind of error in Word doesn't indicate a fault in your code, it
indicates a corruption in your template - what we tent to call the template
bloat problem. If you have been editing the code in your template over a
long period and saving it many times, then you may well be suffering from a
case of bloated templates. Take a look at this article for information on
how tio deal with it.

Combatting Template Bloat
http://word.mvps.org/FAQs/MacrosVBA/TemplateBloat.htm
 
L

Larry

I got it working now. There was a stupid error in my code that was so
stupid I don't want to tell you what it was. But the run-time error
message made it seem like the error was some obscure, high-level problem
thing, rather than something really basic. Thanks to Peter and Howard
for your help.

I now have a fully functioning substitute for the Work menu. Instead of
the Work menu, I have a Work folder in which are placed shortcuts to
documents. I can add the active document to this folder with a single
command; I can open the folder with a single command and then open the
document I want to work on; and I can delete the active document from
the folder with a single command, without having to open the folder, and
without having to use that awkward Alt+Ctrl+- command which can only
delete one item at a time. Also, it's not limited to nine documents
like the Work menu. And I also don't lose its contents when, from time
to time, I have to delete and rebuild the corrupted Word Data key in the
Registry. The only drawback is that the folder takes a couple of
seconds to open. To fix that, I've got to get more memory for my
computer.

Larry
 
L

Larry

And I want to thank Peter particularly for this code. When I searched
for this on the web, the only solutions I found seemed way too
complicated.

Larry
 

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