+ Reply to Thread
Results 1 to 3 of 3

VBA to double click a cell and paste value into different worksheet

  1. #1
    Registered User
    Join Date
    02-01-2015
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2003
    Posts
    2

    VBA to double click a cell and paste value into different worksheet

    I am a total rookie at VBA, so please be patient. I have a workbook with 19 worksheets (all have different names other than “Sheet1”, “Sheet2”, etc.) On worksheets 2 through 15, I would like to be able to double-click in any cell in column A and automatically perform the following: (1) copy and paste (values only) that cell’s contents into the next empty row of column D of worksheet 16, and (2) go to that column D cell in worksheet 16. Please note that column A of worksheets 2 through 15 is protected such that a “read only” error message is generated when double-clicked now. Please help me set up the VBA code for this.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: VBA to double click a cell and paste value into different worksheet

    Attaching a sample workbook enables others to work on your problem:

    To attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    02-01-2015
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: VBA to double click a cell and paste value into different worksheet

    Here's the sample workbook. I had to delete some of the sheets to make it fit the 1 MB requirement. Also, per the VBA editor, it appears that the sheets 2 through 15 I previously referenced should now be sheets 9 through 19, and the sheet 16 should be sheet 2 ("Transactions"). Thanks.
    Attached Files Attached Files
    Last edited by Ozarius; 02-09-2015 at 12:41 PM.

+ 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. 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
  2. Changing cell properties with double click, then revert with another double click
    By mweber2525 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-01-2014, 01:40 PM
  3. Copy double-clicked cell to next empty row in different sheet with each double-click
    By erhathaway in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-25-2013, 12:06 AM
  4. 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

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