+ Reply to Thread
Results 1 to 5 of 5

Resize non-contiguous named area

  1. #1
    Registered User
    Join Date
    10-29-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    35

    Question Resize non-contiguous named area

    Hoping someone might be able to help. I have found some other threads that are close to the answer but not quite !!

    I have a named area which is non-contiguous. I am needing to select this, resize and then reset the name to the new size area.

    I have the following which work well on a contiguous area and am looking to achieve the same with my non-contiguous area.

    Please Login or Register  to view this content.
    Many thanks
    Mike

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,531

    Re: Resize non-contiguous named area

    Resize creates a contiguous rectangular range based on the upper-left cell of the initial range. It won't expand a non-contiguous range.

    If it's non-contiguous, what shape do you want it to have after it's resized? This could be done with a little extra VBA code rather than a single built-in function.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    10-29-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Resize non-contiguous named area

    Original Named Range is made up of several Columns all the same number of rows. I am wanting to expand them by x rows overall
    i.e. named area is A1:A5,C1:C5,E1:F5 and all would be extended to row 11 say.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,570

    Re: Resize non-contiguous named area

    Please Login or Register  to view this content.
    Ben Van Johnson

  5. #5
    Registered User
    Join Date
    10-29-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Resize non-contiguous named area

    Many thanks protoLeah this works perfectly !!!

    Mike

+ 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. Source Data for Chart in Non-Contiguous Area
    By jacob@thepenpoint in forum Excel General
    Replies: 2
    Last Post: 01-31-2012, 12:37 PM
  2. Insert Row and Non-contiguous Print Area Macro
    By cyee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-14-2010, 03:40 AM
  3. Non-contiguous Print Area Macro
    By gatorchomp85 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-03-2010, 01:26 AM
  4. Non-contiguous print area
    By papaexcel in forum Excel General
    Replies: 2
    Last Post: 07-31-2010, 04:31 PM
  5. [SOLVED] Why I get gray area in sheet tab of page setup? can't resize area.
    By joey0617 in forum Excel General
    Replies: 1
    Last Post: 07-15-2006, 12:35 PM
  6. Resize plot area in a chart area
    By Darlene in forum Excel General
    Replies: 0
    Last Post: 07-10-2006, 09:54 AM
  7. [SOLVED] Resize chart area without resizing plot area
    By Janwillem van Dijk in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-01-2005, 09:05 PM
  8. [SOLVED] Resize chart area without resizing plot area
    By Janwillem van Dijk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2005, 09:05 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