+ Reply to Thread
Results 1 to 2 of 2

Copy and double click and paste in a specific cell

Hybrid View

sonican Copy and double click and... 06-22-2016, 02:43 PM
PCI Re: Copy and double click and... 06-22-2016, 03:24 PM
  1. #1
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,088

    Re: Copy and double click and paste in a specific cell

    Is it what you need ...?
    In sheet1 code next put
    Option Explicit
    
    Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
    Dim WS  As Worksheet
    Const WkRg  As String = "B5"
       Set WS = Worksheets("Sheet2")
    
       If (Target.Column <> 1) Then Exit Sub
       WS.Range(WkRg) = Target.Value
       
    End Sub
    Attached Files Attached Files
    - Battle without fear gives no glory - Just try

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy and paste from Listbox to next free cell on double click
    By JohnDoh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-26-2015, 10:25 AM
  2. Copy / paste contents of specific cell on double-click
    By conger in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-22-2015, 08:29 AM
  3. Replies: 0
    Last Post: 05-21-2015, 09:19 AM
  4. double click cell , copy paste to IE , run ....for long url more than 350 characters
    By raj soni in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2014, 09:48 AM
  5. Double-Click Function And Copy-Paste Value In Cell B2
    By FLani in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-25-2013, 02:46 AM
  6. [SOLVED] Double click to copy and paste value to first available row.
    By JO505 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2013, 05:37 PM
  7. [SOLVED] How to copy fr AU:AY & paste to O:S after double click at B in same row
    By tuongtu3 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-14-2012, 03:34 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1