Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Id like to allow the user to edit on dblclick. How can I do that?

dblclick edit user
0
Posted

Id like to allow the user to edit on dblclick. How can I do that?

0

First, you have to make sure that the AllowEdit property is True. The following snippet of code shows how to edit a cell when user dbl clicks. Private Sub List1_DblClick(Shift As Integer, X As Single, Y As Single) With List1 Dim i As Long, c As Long i = .ItemFromPoint(X / Screen.TwipsPerPixelX, Y / Screen.TwipsPerPixelY, c) .Items.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123