Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
The only way I can make this error is with text in column D, did you put it in as worksheet code and copy it exactly? Mike "Jock" wrote: I get the message "Invalid procedure call or argument" with this one, referring to the line beginning 'Range("F2")=...... ?? Traa Dy Liooar Jock "Mike H" wrote: Hi, And for option 2 try this. Once again consider some error trapping by checking if there's a date in column D for example Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Intersect(Target, Range("F:F")) Is Nothing Then Range("F2") = DateAdd("D", 14, Target.Offset(, -2).Value) End If End Sub Mike "Jock" wrote: When a date is placed in any cell D, I would like either: 1) a comment to automatically be accociated to cell F on the same row with a date displayed which will be the date from D + 14, OR 2) When the cell in F has focus, the date (D + 14) appears in a pre determined cell at the top of the page, F2 for instance. Any ideas? -- Traa Dy Liooar Jock |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Linking computer dates (time) to spreadsheet dates that have formu | Excel Worksheet Functions | |||
excel 2000 how to format the comments font all comments | Excel Discussion (Misc queries) | |||
match one column with dates to several colums with dates, copy pas | Excel Programming | |||
in excel useing comments how do you add clip art to comments? | New Users to Excel | |||
Toggle a range of Julian dates to Gregorian Dates and Back | Excel Programming |