Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Correction, limit code response to any column other than D.
"Gary''s Student" wrote: You need the SendKeys to get you out of cell edit. You can avoid this by setting Cancel=True Private Sub Worksheet_BeforeDoubleclick(ByVal Target As Range, Cancel As Boolean) Cancel = True n = Target.Row With Target .Value = Excel.Range("D" & n).Formula End With End Sub -- Gary''s Student - gsnu200856 "usmc-r70" wrote: I found and successfully loaded the following code, but I must use the ENTER key for it to be fully posted. Any idea? Private Sub Worksheet_BeforeDoubleclick(ByVal Target As Range, Cancel As Boolean) n = Target.Row With Target .Value = Excel.Range("D" & n).Formula End With SendKeys "{ENTER}", True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula/ Macro that will copy and paste | Excel Worksheet Functions | |||
I need formula help or create a macro to copy and paste value only | Excel Discussion (Misc queries) | |||
Copy/Paste how to avoid the copy of formula cells w/o calc values | Excel Discussion (Misc queries) | |||
Copy and Paste macro needs to paste to a changing cell reference | Excel Programming | |||
Macro to Copy/Paste then Paste to Next Line | Excel Programming |