Consulting

Results 1 to 4 of 4

Thread: Opening Excel Automatically

  1. #1
    VBAX Tutor
    Joined
    Jul 2009
    Posts
    207
    Location

    Opening Excel Automatically

    Hello everyone

    Is it possible to open Excel automatically when a condition is met for example when a date is approaching. This is to save opening workbooks unnecessarily.

    I have looked through several sites already but can only find code that will open through an already running program.

    Any help would be appreciated even if the answer is no it is not possible.

    Thank you for now

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    You should be able to use Windows Scheduler together with a VB Script. Not sure if this helps, but check out http://stackoverflow.com/questions/1...54283#18654283
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Tutor
    Joined
    Jul 2009
    Posts
    207
    Location
    Hello xld

    Thank you for the reply, I tried the link you supplied but didn't get anywhere with it. Looked 'all over' the web last night and today but still got nowhere.

    Also I am not sure if I am in the right forum, this one seems to be general and not specific to Excel. Can it be transferred to see if a wider audience can help.

    Many thanks
    Gil

  4. #4
    VBAX Regular
    Joined
    Jul 2013
    Posts
    50
    Location
    From what I understand you would need to use Windows Scheduler (Control Panel / Scheduled Tasks / Add Scheduled Task) and in excel in your personal.xlsb you can add your code to open the workbook. I never tried it for this use.

    Here is some more info:
    http://www.office.microsoft.com/en-c...001034628.aspx it's for excel 2000 and 2002 but the theory remains the same for later versions.

    Hope it helped

Posting Permissions

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