+ Reply to Thread
Results 1 to 3 of 3

Convert String to Row Range

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Convert String to Row Range

    Hi all,

    I'm trying to convert a string into a range to select using the following:

    Please Login or Register  to view this content.
    The string produced is: strRange = Rolls("52:55")
    Range(strRange).Select

    Since in my code I'm using Rolls("1:6").select

    I want to now select the fresulting rolls and shift them down like the following usage:

    Please Login or Register  to view this content.
    The code keeps erroring since something is not being addressed correctly
    I've tried a few other ideas but, I think I've exhausted all my attemps.

    NE hlp is appreciated.

    Thanks,

    BDB
    Last edited by bdb1974; 11-03-2011 at 04:08 PM.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Convert String to Row Range

    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.



  3. #3
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Re: Convert String to Row Range

    Thanks for the reply RNB , but I didn't need a solution to resize rows 1- 6.
    Anyways your post gave me an idea to try and it worked.

    Please Login or Register  to view this content.
    BTW, I didn't convert the address location to a string, I figured using the locations row was good enough.

    Thanks again,

    BDB
    Last edited by bdb1974; 11-03-2011 at 04:10 PM.

+ 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