+ Reply to Thread
Results 1 to 3 of 3

Using strings in VBA

  1. #1
    Registered User
    Join Date
    03-04-2013
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    12

    Using strings in VBA

    Hello helpful people,

    Hoping somebody can help me...

    I am trying to concatenate a variable range please see sample spreadsheet:Test.xlsx

    All that I want to do is concatenate all of the values in list1 and list 2 into 2 strings (one for each list).

    I have tried some code found here:

    <http://stackoverflow.com/questions/15888353/concatenate-multiple-ranges-using-vba>

    But I could not get this code to work, could somebody direct me to an example of how to use the String function in VBA, I am Google/Forum taught so my experience is very limited so any feedback would be very welcome

    Thank you

    Eliat

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Using strings in VBA

    Give this a try:

    Please Login or Register  to view this content.
    Gary's Student

  3. #3
    Registered User
    Join Date
    03-04-2013
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Using strings in VBA

    Thank you Jakob, this was driving me crazy.

    Required a slight modification as I want to have a " " between each input but I managed to figure it out.

    Thank you for your help

    Eliat

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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