+ Reply to Thread
Results 1 to 5 of 5

Copying values from two different cells and a value from an input box onto different cell

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-24-2012
    Location
    Hollidaysburg, Pa
    MS-Off Ver
    Excel 2010
    Posts
    398

    Copying values from two different cells and a value from an input box onto different cell

    Wanting know how to copy values from two different cells and a user input (given using INPUT BOX) ; onto a cell.

    Eg.

    Cells(1,1)=Excel
    Cells(1,2)=Forum

    User Input = SMILEY


    Desired Value of Cell(4,4) = Excel_SMILEY_Forum



    Discussed on copying a input box value alone onto a cell, on
    http://www.excelforum.com/excel-prog...58#post2915858


    is it on the same lines?

    Thanks,

    Subbby
    Last edited by subbby; 08-31-2012 at 03:00 PM. Reason: solved

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: Copying values from two different cells and a value from an input box onto different c

    Cells(4,4) = Cstr(cells(1,1) & "_" & Userinput & "_" & Cells(1,2))
    For userinput, use whichever variable your've chosen to store the inputbox response.

    Does this work?

  3. #3
    Forum Contributor
    Join Date
    08-24-2012
    Location
    Hollidaysburg, Pa
    MS-Off Ver
    Excel 2010
    Posts
    398

    Re: Copying values from two different cells and a value from an input box onto different c

    It worked .... Thanks...

    May i know wats "Cstr" syntax stand for?

  4. #4
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: Copying values from two different cells and a value from an input box onto different c

    Subby. This look should provide some clarity. In this case, I don't even believe the CSTR is necessary, but I prefer to use it.

    http://www.techonthenet.com/excel/formulas/cstr.php

  5. #5
    Forum Contributor
    Join Date
    08-24-2012
    Location
    Hollidaysburg, Pa
    MS-Off Ver
    Excel 2010
    Posts
    398

    Re: Copying values from two different cells and a value from an input box onto different c

    Quote Originally Posted by BigBas View Post
    Subby. This look should provide some clarity. In this case, I don't even believe the CSTR is necessary, but I prefer to use it.

    http://www.techonthenet.com/excel/formulas/cstr.php
    Thank you very much ! helpful it was ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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