+ Reply to Thread
Results 1 to 2 of 2

Insert test/valle from sheet1 to sheet2 with a text statement.

  1. #1
    Registered User
    Join Date
    03-18-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    1

    Insert test/valle from sheet1 to sheet2 with a text statement.

    Hi all

    Im trying to figure out if it is possible to insert text from a cell from another sheet to a another cell with text already in the new cell.

    Example

    IPoverEthernet ethernetIpAddress= "xxx.xxx.xxx" ethernetSubnetMask="255.255.255.248"

    Where xxx.xxx.xxx is, comes from another sheet within the workbook. At one time, many moons ago, I thought I could do this, but have forgotten since then.

    Any assistance would be great.

    Thanks
    Last edited by bpope; 03-18-2012 at 11:46 PM. Reason: spelling

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,427

    Re: Insert test/valle from sheet1 to sheet2 with a text statement.

    You can do it like this:

    ="IPoverEthernet ethernetIpAddress= "&CHAR(34)&Sheet2!A1&CHAR(34)&" ethernetSubnetMask= "&CHAR(34)&"255.255.255.248"&CHAR(34)

    assuming the address is in A1 of Sheet2 as a text value in the format required.

    Hope this helps.

    Pete

+ 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