+ Reply to Thread
Results 1 to 4 of 4

String to Range - VBA

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    Austria
    MS-Off Ver
    Excel 2010
    Posts
    41

    String to Range - VBA

    I have a string in a cell such as $A$1:$A$50 (range address as string)

    i want to use this string and convert it to a range and find the max value in it.

    Can someone provide some help on this issue. Thanks

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: String to Range - VBA

    Here's an example:

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Registered User
    Join Date
    07-25-2013
    Location
    Austria
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: String to Range - VBA

    thanks mate, i'll give it a try. I also managed to get a solution with the INDIRECT worksheet function.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: String to Range - VBA

    Does this help?

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] IF range of cells contains string of text, return contents of cell where string is found
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2013, 09:56 AM
  2. [SOLVED] VBA to concatenate a string, to a cell value in a range, to another string.
    By Sacharny in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-18-2013, 03:42 PM
  3. Replies: 2
    Last Post: 12-12-2012, 04:19 AM
  4. Replies: 1
    Last Post: 07-27-2012, 05:37 PM
  5. [SOLVED] Find the POSITION IN A RANGE of text in a string that matches value(s) in a range
    By Cornell1992 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2006, 03:25 PM

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