+ Reply to Thread
Results 1 to 8 of 8

Value From Worksheet to Another

  1. #1
    Forum Contributor
    Join Date
    07-07-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    500

    Value From Worksheet to Another

    Greetings,
    I'm trying to have values from one worksheet to go to another worksheet. I'm using the following code and it is not working.
    Please Login or Register  to view this content.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,758

    Re: Value From Worksheet to Another

    I think you want this:
    Please Login or Register  to view this content.
    By the way, when asking for help, don't just tell us it doesn't work. Always explain what you want it to do, and what it is doing instead. Include any error messages.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,649

    Re: Value From Worksheet to Another

    Maybe this:

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,649

    Re: Value From Worksheet to Another

    @6SJ: your code copies the first cell value (C3) to ALL the target cells. Guessing that is not what is required.

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,758

    Re: Value From Worksheet to Another

    I haven't tested my method with discontiguous ranges. If it doesn't work you'll have to use Trevor's method.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,649

    Re: Value From Worksheet to Another

    @6SJ: I tried your approach and thought at first it had worked (I had a sheet change event handler monitoring all sheets). Very disappointed when I looked at the output

  7. #7
    Forum Contributor
    Join Date
    07-07-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    500

    Re: Value From Worksheet to Another

    To all,
    Thank you much for your input and assistance. I tried @6SJ's suggestion and got the same results as TMS. Then tried TMS's suggestion and it worked.
    Again, thank you both!

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,649

    Re: Value From Worksheet to Another

    You're welcome.



    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Replies: 12
    Last Post: 12-17-2020, 03:24 PM
  2. Replies: 1
    Last Post: 04-24-2018, 06:11 PM
  3. Creating a Copy of a worksheet changes to new worksheet appear in previous worksheet
    By jermique98 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-03-2016, 02:37 PM
  4. Data linking from one worksheet to another worksheet without alteration in 1st worksheet
    By paradise2sr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-05-2015, 01:42 AM
  5. [SOLVED] Copy data from a worksheet and paste to worksheet with a similar worksheet name
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-21-2012, 04:02 AM
  6. Copy data from a worksheet and paste to worksheet with a similar worksheet name
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2012, 02:49 AM
  7. Replies: 3
    Last Post: 10-16-2012, 09:02 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