Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Programming double click functionality

I have a form in Excel my boss wants to use in a presentation. The form has two main tables and he wants to double click on a line item in one table and have it transfer to the other table and vise-versa. Is there some way to program that kind of function to a double click? In the visual basic editor, maybe? How else could I do accomplish the same thing and make my boss happy?
--
cyberindio
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Programming double click functionality

Hi Cyberindio

You can use this event in the Sheet module

This is working for column A and B

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Column = 1 Then
Target.Offset(0, 1).Value = Target.Value
End If
If Target.Column = 2 Then
Target.Offset(0, -1).Value = Target.Value
End If
End Sub




--
Regards Ron de Bruin
http://www.rondebruin.nl


"Cyberindio" wrote in message ...
I have a form in Excel my boss wants to use in a presentation. The form has two main tables and he wants to double click on a line

item in one table and have it transfer to the other table and vise-versa. Is there some way to program that kind of function to a
double click? In the visual basic editor, maybe? How else could I do accomplish the same thing and make my boss happy?
--
cyberindio



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change syperlink from single click to double click syperlinker Excel Worksheet Functions 0 June 13th 08 05:01 PM
Change Single-Click Functionality? Wuddus Excel Discussion (Misc queries) 2 September 10th 07 11:54 AM
Custom Right Click Menus - Inconsistent Functionality Lee Excel Discussion (Misc queries) 1 February 3rd 07 03:41 AM
How to restore right click functionality for copy and paste? duncansk Excel Discussion (Misc queries) 3 August 11th 05 12:39 PM
Click on graph bar to execute a double-click in a pivot table cell [email protected] Charts and Charting in Excel 4 August 3rd 05 01:37 AM


All times are GMT +1. The time now is 06:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"