Results 1 to 3 of 3

Running a macro on opening a file

Threaded View

  1. #1
    Registered User
    Join Date
    02-08-2008
    Posts
    2

    Running a macro on opening a file

    Hello

    I have automated my pc (windows xp) to open using the schedule tasks function. Once open i am using the workbook open function in my personal.xls in VBA to open a file (code below):

    Workbooks.Open Filename:="C:\Documents and Settings\niwood\Desktop\Stat Comp without Userform.xls"
    How can i then run a specific macro that exists in that workbook

    Thanks in adavance for any help

    Nik
    Last edited by VBA Noob; 02-08-2008 at 01:06 PM.

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