+ Reply to Thread
Results 1 to 4 of 4

cell address copy

  1. #1
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    cell address copy

    I have a short sample file contains 2 WS. 2nd. WS contains data (col. B.) and cell reference (col A).
    I need to use reference address in cell ("A" & i) to copy data of cell ("B" & i) to the first worksheet into the cell address I found ("A" & i) .
    Please give me a support and let me know where I made mistake in the following code.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by ccsmith; 10-15-2017 at 03:10 PM.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: cell address copy

    Add the word Set before the s = and r = and it should work. Also change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    New code
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: cell address copy

    Thanks. I really missed the Set. I appreciate your help.

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: cell address copy

    Not a problem, you're welcome. Glad it worked for you.

+ 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. [SOLVED] Copy paste unlocked cell address
    By ccsmith in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-09-2017, 04:41 AM
  2. Copy cell address of duplicates from one sheet to another.
    By daisymo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-19-2014, 07:35 AM
  3. [SOLVED] How to address copy destination cell in VBA if cell adress is written as a text elswhere
    By flyman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-08-2013, 05:29 PM
  4. copy the address of the cell
    By yjmmay34 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-13-2010, 11:05 AM
  5. Excel 2007 : Copy Contents of a Cell Address
    By johnathanamber in forum Excel General
    Replies: 6
    Last Post: 10-14-2009, 04:53 PM
  6. copy any clicked cell address like A1 or B4 to the clipboard
    By up2you in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2006, 02:10 AM
  7. Copy Worksheet Tab Name into a cell address
    By Andy in forum Excel General
    Replies: 2
    Last Post: 04-06-2005, 12:06 PM

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