+ Reply to Thread
Results 1 to 3 of 3

Please Help

  1. #1
    Greg B
    Guest

    Please Help

    I am needing the code below to be changed so it also shows cell c1 aswell in
    the same textbox.

    TextBox1.Text = Worksheets("TEAM1").Range("B1").Value

    Thanks in advance

    Greg



  2. #2
    Greg B
    Guest

    Re: Please Help

    I need to have a gap between the values. How do I do this I have got this
    code so far?
    TextBox1.Text = Worksheets("TEAM1").Range("B1").Value &
    Worksheets("TEAM1").Range("C1").Value

    Thanks again

    "Greg B" <laptopgb@ihug.com.au> wrote in message
    news:d5c6pr$kqt$1@lust.ihug.co.nz...
    > I am needing the code below to be changed so it also shows cell c1 aswell

    in
    > the same textbox.
    >
    > TextBox1.Text = Worksheets("TEAM1").Range("B1").Value
    >
    > Thanks in advance
    >
    > Greg
    >
    >




  3. #3
    Peter Rooney
    Guest

    Re: Please Help

    Just add
    " " &
    after your &

    It could just as easily be a prefix or suffix, too e.g.
    Range("A1").value= Range ("A2").formula & "This is some text" &
    range("A3").formula

    Cheers

    Pete



    "Greg B" wrote:

    > I need to have a gap between the values. How do I do this I have got this
    > code so far?
    > TextBox1.Text = Worksheets("TEAM1").Range("B1").Value &
    > Worksheets("TEAM1").Range("C1").Value
    >
    > Thanks again
    >
    > "Greg B" <laptopgb@ihug.com.au> wrote in message
    > news:d5c6pr$kqt$1@lust.ihug.co.nz...
    > > I am needing the code below to be changed so it also shows cell c1 aswell

    > in
    > > the same textbox.
    > >
    > > TextBox1.Text = Worksheets("TEAM1").Range("B1").Value
    > >
    > > Thanks in advance
    > >
    > > Greg
    > >
    > >

    >
    >
    >


+ 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