Results 1 to 4 of 4
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    lunch macro from other PC (2000)

    i have a wbook PROVA.XLS called with a macro with a sub MIA_MACRO ()

    The wbook resides on my_server mia_dirPROVA.XLS

    Now I can run MIA_MACRO () from another PC?
    Thanks.

    Note: Peraphs i can use a VBS script with the same code in macro?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: lunch macro from other PC (2000)

    Lunch at noon? <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    If the other PC is on the same network, and if the user has sufficient permissions on the folder my_server mia_dir, that user can open Prova.xls and run the macro too.

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: lunch macro from other PC (2000)

    But this 2 object are refered on a prog installed on other pc, and i want to call this 2 object from pc where not is isnrtalled the prg with library in question.
    Set oSM = CreateObject("com.sun.star.ServiceManager")
    set oDesk = oSM.createInstance("com.sun.star.frame.Desktop")

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: lunch macro from other PC (2000)

    That won't work. You can only run the code on a PC where the library is installed.

Posting Permissions

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