+ Reply to Thread
Results 1 to 15 of 15

Application

Hybrid View

  1. #1
    Michael
    Guest

    Application

    Hi.
    In my application i have a macro that open another application, is it
    possible to hide that application and still be able to write to it?

    Mike



  2. #2
    Bob Phillips
    Guest

    Re: Application

    Again, do you mean workbook? If so, try

    Windows(workbook_name).Visible = False

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Michael" <[email protected]> wrote in message
    news:[email protected]...
    > Hi.
    > In my application i have a macro that open another application, is it
    > possible to hide that application and still be able to write to it?
    >
    > Mike
    >
    >




  3. #3
    Michael
    Guest

    Re: Application

    Thank's for the help again Bob :-)
    --
    Nil Satis Nisi Optimum


    "Bob Phillips" wrote:

    > Again, do you mean workbook? If so, try
    >
    > Windows(workbook_name).Visible = False
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Michael" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi.
    > > In my application i have a macro that open another application, is it
    > > possible to hide that application and still be able to write to it?
    > >
    > > Mike
    > >
    > >

    >
    >
    >


  4. #4
    Michael
    Guest

    Re: Application

    Yes its a workbook, its called statistikk

    But it didnt work as i hoped!

    I get "type mismatch" or "subscript out of range".

    i know it is open but it seems that the macro dosnt find it.

    Windows(Statistikk).Visible = False

    or

    Windows("Statistikk").Visible = False

    doesnt work
    --
    Nil Satis Nisi Optimum


    "Bob Phillips" wrote:

    > Again, do you mean workbook? If so, try
    >
    > Windows(workbook_name).Visible = False
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Michael" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi.
    > > In my application i have a macro that open another application, is it
    > > possible to hide that application and still be able to write to it?
    > >
    > > Mike
    > >
    > >

    >
    >
    >


  5. #5
    Bob Phillips
    Guest

    Re: Application

    Almost Michael, when I say workbook name I mean with the extension

    Windows("Statistikk.xls").Visible = False


    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Michael" <[email protected]> wrote in message
    news:[email protected]...
    > Yes its a workbook, its called statistikk
    >
    > But it didnt work as i hoped!
    >
    > I get "type mismatch" or "subscript out of range".
    >
    > i know it is open but it seems that the macro dosnt find it.
    >
    > Windows(Statistikk).Visible = False
    >
    > or
    >
    > Windows("Statistikk").Visible = False
    >
    > doesnt work
    > --
    > Nil Satis Nisi Optimum
    >
    >
    > "Bob Phillips" wrote:
    >
    > > Again, do you mean workbook? If so, try
    > >
    > > Windows(workbook_name).Visible = False
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Michael" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > Hi.
    > > > In my application i have a macro that open another application, is it
    > > > possible to hide that application and still be able to write to it?
    > > >
    > > > Mike
    > > >
    > > >

    > >
    > >
    > >




  6. #6
    Michael
    Guest

    Re: Application

    Hi again Bob.

    I forgot to tell you that i tried this one to.

    Windows("Statistikk.xls").Visible = False

    The message i get is "Run time error 9" "subscript out of range"
    --
    Nil Satis Nisi Optimum


    "Bob Phillips" wrote:

    > Almost Michael, when I say workbook name I mean with the extension
    >
    > Windows("Statistikk.xls").Visible = False
    >
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Michael" <[email protected]> wrote in message
    > news:[email protected]...
    > > Yes its a workbook, its called statistikk
    > >
    > > But it didnt work as i hoped!
    > >
    > > I get "type mismatch" or "subscript out of range".
    > >
    > > i know it is open but it seems that the macro dosnt find it.
    > >
    > > Windows(Statistikk).Visible = False
    > >
    > > or
    > >
    > > Windows("Statistikk").Visible = False
    > >
    > > doesnt work
    > > --
    > > Nil Satis Nisi Optimum
    > >
    > >
    > > "Bob Phillips" wrote:
    > >
    > > > Again, do you mean workbook? If so, try
    > > >
    > > > Windows(workbook_name).Visible = False
    > > >
    > > > --
    > > >
    > > > HTH
    > > >
    > > > RP
    > > > (remove nothere from the email address if mailing direct)
    > > >
    > > >
    > > > "Michael" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > Hi.
    > > > > In my application i have a macro that open another application, is it
    > > > > possible to hide that application and still be able to write to it?
    > > > >
    > > > > Mike
    > > > >
    > > > >
    > > >
    > > >
    > > >

    >
    >
    >


  7. #7
    Bob Phillips
    Guest

    Re: Application

    Michael,

    That seems to suggest then that you do not have a workbook called
    "Statistikk.xls" open in Excel. Is it spelt correctly?

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Michael" <[email protected]> wrote in message
    news:[email protected]...
    > Hi again Bob.
    >
    > I forgot to tell you that i tried this one to.
    >
    > Windows("Statistikk.xls").Visible = False
    >
    > The message i get is "Run time error 9" "subscript out of range"
    > --
    > Nil Satis Nisi Optimum
    >
    >
    > "Bob Phillips" wrote:
    >
    > > Almost Michael, when I say workbook name I mean with the extension
    > >
    > > Windows("Statistikk.xls").Visible = False
    > >
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)




+ 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