+ Reply to Thread
Results 1 to 3 of 3

Defining a Named Range using Offset

  1. #1
    Registered User
    Join Date
    06-12-2010
    Location
    Hereford, England
    MS-Off Ver
    Excel 2003
    Posts
    73

    Defining a Named Range using Offset

    Hi,

    Does anyone know how I can define a named range using Offset in Vba?
    I recorded the following macro to get an idea of what I needed but I'm unsure how to adapt it for Offset

    Please Login or Register  to view this content.
    I tried a few things but have been unable to get any variation to work. I need it to give a selected range a name and the name needs to be the value of a textbox on a userform.

    For example

    Please Login or Register  to view this content.
    Thanks in advance
    Last edited by Baziwan; 10-10-2012 at 10:22 AM.
    Kind Regards

    Baz

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Defining a Named Range using Offset

    Please Login or Register  to view this content.

    Or

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-12-2010
    Location
    Hereford, England
    MS-Off Ver
    Excel 2003
    Posts
    73

    Re: Defining a Named Range using Offset

    Quote Originally Posted by JBeaucaire View Post
    Please Login or Register  to view this content.

    Or

    Please Login or Register  to view this content.
    Hi Jerry,

    Thanks for the response. The 1st solution didn't work but the 2nd worked a treat.

    Kind regards

+ 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