Results 1 to 8 of 8

Dim variable named after a string's content

Threaded View

  1. #1
    Registered User
    Join Date
    05-07-2015
    Location
    Angouleme, France
    MS-Off Ver
    2013
    Posts
    48

    Dim variable named after a string's content

    Hello !

    Another weird question from me It may look simple but I have no clue how to do it :

    In my VBA code, I gave a string the value "part1" & "part2". What I want to do now is creating another string that will be called "part1part2", but if I write
    Dim TheString As String
    it will not work, of course.

    If anyone have an idea, I will be much grateful !

    Thanks,

    François
    Last edited by AstroZelda; 05-11-2015 at 09:25 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] clear dynamic named range content
    By intex in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-12-2014, 08:29 AM
  2. replace each content linked together to a named range
    By dvb_24 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-24-2011, 03:11 AM
  3. how to Read content or text of cells Named
    By Raju A in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2008, 02:25 PM
  4. create a Named Range via VBA based on cell content
    By carsto in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2007, 04:44 PM

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