+ Reply to Thread
Results 1 to 2 of 2

Explain - Private Sub Workbook_Open()

  1. #1
    Registered User
    Join Date
    11-19-2008
    Location
    new york
    Posts
    28

    Explain - Private Sub Workbook_Open()

    Hi,

    can some explain what this code is doing

    Please Login or Register  to view this content.
    I mainly don't understand the

    Please Login or Register  to view this content.
    Thanks,

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Explain - Private Sub Workbook_Open()

    When that sub appears in the ThisWorkbook module, it runs when the workbook opens -- if macros are enabled. Workbook_Open is one of a family of events that Excel raises to allow code to process the event.

    The Application.Volatile line makes no sense to appear there.
    Entia non sunt multiplicanda sine necessitate

+ 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