Re: VBA: Windows("filename.doc").Activate

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: john kilcullen (anonymous_at_discussions.microsoft.com)
Date: 06/08/04


Date: Tue, 8 Jun 2004 02:34:57 -0700

I seem to have fixed the problem by reducing the demand on
memory. Thanks for your comments.

John Kilcullen

>-----Original Message-----
>In article <18fa801c44c65$1d899420$a501280a@phx.gbl>,
> <anonymous@discussions.microsoft.com> wrote:
>
>> When I try to run it in Word X for Macintosh, I get the
error message
>> "Runtime error 5941 The requested member of the
collection does not
>> exist", and debug highlights Windows("output.doc").Activate
>>
>> Output.doc is in fact open, and so are the other documents
>> to be activated at later stages.
>>
>
>Hmm... Are you sure it's "output.doc" that is open, and
not just
>"output"? MacWord doesn't automatically add the extension
when it
>creates a file.
>
>Otherwise, I'm not sure what's going on.
>.
>



Relevant Pages

  • Re: Is There a Way to Remove a Module From Memory"
    ... "mapped" into virtual memory. ... to unload them from your virtual memory if they're no longer being accessed. ... I think "loaded on demand" is here referring to a machine code module, ... The default in Visual Basic is to compile code on demand. ...
    (microsoft.public.vb.general.discussion)
  • Re: xmalloc string functions
    ... terminate the program. ... absolutely no option to do something as basic as reducing the memory ... allocation request and trying again, ... Reducing the amount allocated not, because then caller would have to fall back on some alternative algorithm. ...
    (comp.lang.c)
  • Re: .ko files in /boot/kernel
    ... > memory which I suspect is almost always incompletely used. ... reducing the size of the kernel is more useful than ... bicycle tires counts more than reducing the weight of the frame. ...
    (freebsd-questions)
  • Re: Is There a Way to Remove a Module From Memory"
    ... on demand and not removed unless space is needed. ... there even after destruction, until memory requirements demanded ... The OP's question was how to unload .bas modules to free up memory. ... compiler. ...
    (microsoft.public.vb.general.discussion)
  • Re: Class Constants - pros and cons
    ... tail of the newbie that seeks to dive down every micro-optimization ... Memory management is an appropriate ... scaling out requires programmers who understand algorithms. ... I'd go with clean design first, which to my mind an object model is, then play around with non-expandable, hard-to-maintain, bug-prone parallel-array solutions if the situation truly demanded it, but I just don't see that demand in the scenario under discussion. ...
    (comp.lang.java.programmer)