+ Reply to Thread
Results 1 to 3 of 3

CONCATENATE

  1. #1
    mwlau
    Guest

    CONCATENATE

    Hi every one
    I have concatenated a string. My intention is to use to as a link or
    DDE to retrieve some data from outside source.
    This string is like that: =PROPHETX|QUOTE!'CU6C2000[DTN:CBOT]?Last'
    Is there any one who can tell me how to do it by VB or any other way.
    regards
    Mason


  2. #2
    Ardus Petus
    Guest

    Re: CONCATENATE

    If the values to be concatenated are in A1, B1 & C1:
    =A1&B1&C1

    You may insert literals:
    =A1&"|"&B1&"!"&C1

    HTH
    --
    AP

    "mwlau" <mwlau@discussions.microsoft.com> a écrit dans le message de news:
    A1C65035-8123-4719-B2A2-533AC26E79C9@microsoft.com...
    > Hi every one
    > I have concatenated a string. My intention is to use to as a link or
    > DDE to retrieve some data from outside source.
    > This string is like that: =PROPHETX|QUOTE!'CU6C2000[DTN:CBOT]?Last'
    > Is there any one who can tell me how to do it by VB or any other way.
    > regards
    > Mason
    >




  3. #3
    Gary''s Student
    Guest

    RE: CONCATENATE

    Your string looks like a formula. You can convert a concatenated string into
    a real formula:

    In B1, put =
    In C1, put Sheet2!
    In D1, put Z100

    In A1, put =B1 & C1 & D1
    and A1 will display:
    =Sheet2!Z100
    but this is only a string.


    Enter this tiny macro:

    Sub Macro1()
    Range("A2").Value = Range("A1").Value
    End Sub


    and run it and the real formula will be deposited in A2
    --
    Gary's Student


    "mwlau" wrote:

    > Hi every one
    > I have concatenated a string. My intention is to use to as a link or
    > DDE to retrieve some data from outside source.
    > This string is like that: =PROPHETX|QUOTE!'CU6C2000[DTN:CBOT]?Last'
    > Is there any one who can tell me how to do it by VB or any other way.
    > regards
    > Mason
    >


+ 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