Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Cannot thank you guys enough. The solution posted by Mr. Peterson
achieves exactly what I was looking for, although the other code provided would probably work just as well. Thank you all so, so much !!! Arsene On Fri, 1 Oct 2010 12:03:41 -0700 (PDT), Don Guillett Excel MVP wrote: On Oct 1, 9:02*am, dksaluki wrote: To go with Don's idea: *Is the url already in cell C1? *If so, this would not even require a button. Using the FollowHyperlink worksheet even handler: Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink) Range("B1").Value = Date End Sub Good but OP wants date in cell to left so this works for any cell with a hyperlink. Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink) Cells(ActiveCell.Row, ActiveCell.Column - 1) = Date End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating excel file, adding code to it from code, VBE window stays | Excel Programming | |||
while my c# code running ,clicks on excel document interrupts code | Excel Programming | |||
Excel code convert to Access code - Concat & eliminate duplicates | Excel Programming | |||
stubborn Excel crash when editing code with code, one solution | Excel Programming | |||
Excel XP VBA code to search all macro code in Excel module for specific search string criteria | Excel Programming |