Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ka ka is offline
external usenet poster
 
Posts: 2
Default how to drag and drop from a listbox to activecell with vba ?

Hello,

how to drag and drop from a listbox to activecell with vba ?

Thanks,




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default how to drag and drop from a listbox to activecell with vba ?

Hi Ka

You can use the Double click event maybe ?

Private Sub ListBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
ActiveCell.Value = Me.ListBox1.Value
End Sub

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



"ka" wrote in message ...
Hello,

how to drag and drop from a listbox to activecell with vba ?

Thanks,






  #3   Report Post  
Posted to microsoft.public.excel.programming
ka ka is offline
external usenet poster
 
Posts: 2
Default how to drag and drop from a listbox to activecell with vba ?

Thanks you Ron de Bruin, it's ok !
bye


"Ron de Bruin" a écrit dans le message de news:
...
Hi Ka

You can use the Double click event maybe ?

Private Sub ListBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
ActiveCell.Value = Me.ListBox1.Value
End Sub

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



"ka" wrote in message
...
Hello,

how to drag and drop from a listbox to activecell with vba ?

Thanks,








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 drag items within listbox MP Excel Discussion (Misc queries) 0 January 15th 09 03:56 PM
Paste Multiple listbox items starting at ActiveCell Casey[_67_] Excel Programming 5 April 8th 06 07:45 PM
ListBox drag & drop GMet Excel Programming 0 September 24th 04 03:50 PM
Func wanted for drag/drop in ListBox count Excel Programming 0 May 25th 04 02:48 PM
Drag/drop - calc of ListBox row wanted count Excel Programming 0 May 23rd 04 01:01 AM


All times are GMT +1. The time now is 03:12 AM.

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

About Us

"It's about Microsoft Excel"