Results 1 to 2 of 2

Thread: Named Ranges - Resizing How? (Excel,VBA)

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Posts
    89

    Named Ranges - Resizing How? (Excel,VBA)

    How can i resize a named range in Excel.

    I have several functions that refer to ranges, so that when I run my code I don't have to rewrite the functions to the cell if the size of the ranges change. ...... well that's the idea ... except I can't seem to figure out how to resize a named range

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Posts
    89
    Nevermind ... after more intensive searching I found a rather old post with this helpful bit:

    Code:
    Dim nme As Name 
    
    Set nme = ActiveWorkbook.Names("test") 
    nme.RefersTo = "=Sheet1!$A$1:$C$3" 
    
    set nme = nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width