+ Reply to Thread
Results 1 to 2 of 2

Running a VBA app when a workbook is opened

  1. #1
    Registered User
    Join Date
    05-05-2006
    Posts
    22

    Running a VBA app when a workbook is opened

    I have a workbook application that just deletes a sheet from another workbook, copies a new sheet in its place, then closes both workbooks. (It's to be distributed as an update to the other workbook)

    Is there a way to get it to run as soon as the user opens it in Excel - the user never actually needs to see it at all.

    richard

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Yes, investigate the Workbook_Open event in the ThisWorkbook module.

+ 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