+ Reply to Thread
Results 1 to 3 of 3

VBA ActiveWindow.WindowState Problem

  1. #1
    JK
    Guest

    VBA ActiveWindow.WindowState Problem

    Dear Group:

    Forgive me if this issue is not appropriate for this group, but I think it
    might be related to Excel and am hoping someone has the answer.

    Several users of my application are encountering this strange window
    behavior: After opening the program, their Active.Window.WindowState is not
    maximized (causing the worksheets to appear about the size of a credit
    card). I tried writing a procedure ActiveWindow.WindowState=xlMaximized they
    could call from my toolbar but they get a Run Time error. When I open their
    file on my computer, the WindowState is maximized (and the procedure I wrote
    doesn't cause an error), so I have no way of knowing what's going on with
    them. Any suggestions?

    Thank you in advance.

    Jim Kobzeff



  2. #2
    ben
    Guest

    RE: VBA ActiveWindow.WindowState Problem

    are you running different versions of excel?

    "JK" wrote:

    > Dear Group:
    >
    > Forgive me if this issue is not appropriate for this group, but I think it
    > might be related to Excel and am hoping someone has the answer.
    >
    > Several users of my application are encountering this strange window
    > behavior: After opening the program, their Active.Window.WindowState is not
    > maximized (causing the worksheets to appear about the size of a credit
    > card). I tried writing a procedure ActiveWindow.WindowState=xlMaximized they
    > could call from my toolbar but they get a Run Time error. When I open their
    > file on my computer, the WindowState is maximized (and the procedure I wrote
    > doesn't cause an error), so I have no way of knowing what's going on with
    > them. Any suggestions?
    >
    > Thank you in advance.
    >
    > Jim Kobzeff
    >
    >
    >


  3. #3
    JK
    Guest

    Re: VBA ActiveWindow.WindowState Problem

    Yes. I wrote the application with Excel97, but have succesfully used it with
    Excel97 and newer. The users encountering the problem have Excel2002.

    "ben" <ben@discussions.microsoft.com> wrote in message
    news:B03D6572-8C12-4A64-8777-E5CA6E81D4A4@microsoft.com...
    > are you running different versions of excel?
    >
    > "JK" wrote:
    >
    >> Dear Group:
    >>
    >> Forgive me if this issue is not appropriate for this group, but I think
    >> it
    >> might be related to Excel and am hoping someone has the answer.
    >>
    >> Several users of my application are encountering this strange window
    >> behavior: After opening the program, their Active.Window.WindowState is
    >> not
    >> maximized (causing the worksheets to appear about the size of a credit
    >> card). I tried writing a procedure ActiveWindow.WindowState=xlMaximized
    >> they
    >> could call from my toolbar but they get a Run Time error. When I open
    >> their
    >> file on my computer, the WindowState is maximized (and the procedure I
    >> wrote
    >> doesn't cause an error), so I have no way of knowing what's going on with
    >> them. Any suggestions?
    >>
    >> Thank you in advance.
    >>
    >> Jim Kobzeff
    >>
    >>
    >>




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1