+ Reply to Thread
Results 1 to 3 of 3

Capture Update Links event VBA

Hybrid View

Guest Capture Update Links event VBA 07-18-2005, 08:05 AM
BrianB Perhaps using the worksheet... 07-19-2005, 04:54 AM
Guest Re: Capture Update Links... 07-19-2005, 07:05 AM
  1. #1
    will Daborn
    Guest

    Capture Update Links event VBA

    Does anyone know how to capture when links are updated within Excel?
    E.g. Book1.xls contains a link to a cell in book2.xls when book1 is opened
    and the usual 'this workbook contains links do other data sources' and the
    'Update' button is selected. We wish to capture information on when this link
    was updated and what the previous value was thus creating a history of the
    workbook.
    I know how to program an xls file to bypass the autoupdate on open and
    create some code that prompts an alternative similar message box but this
    doesn't prevent someone using 'links' on the menus. I suppose I should say is
    there an API that I can use to capture when this event occurs. Any help would
    be very welcome

  2. #2
    Registered User
    Join Date
    08-20-2003
    Location
    Luton, England
    Posts
    63
    Perhaps using the worksheet On_Change event ?

    API calls are not application specific. By definition they work at the MS Windows interface level.
    Regards
    BrianB
    Most problems are caused by starting from the wrong place.
    Use a cup of coffee to speed up all Windows processes.
    It's easy until you know how.
    -----------------------------------------

  3. #3
    will Daborn
    Guest

    Re: Capture Update Links event VBA

    Brian,
    Thanks for the advice - using the Worksheet On_Change()
    (or Workbook SheetChange()) the only issue I had with this is that the code
    kicked off when any cell is changed regardless of whether or not it was a
    link - having said this I know you can check whether or not the cell contains
    a link but it seems a shame that you cannot just check for link updates only.
    But thanks again.

+ 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