+ Reply to Thread
Results 1 to 3 of 3

Resize and Rename a Range in UDF

  1. #1
    Forum Contributor
    Join Date
    01-25-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2016
    Posts
    166

    Resize and Rename a Range in UDF

    I have a UDF where a range is one of the entries. To execute the calculations in the UDF I need that range (table_array) and a second range (Date_Range) that is the same size as the first range except only 2 columns wide (Note; The first range is 4 columns wide) My code looks like:
    Please Login or Register  to view this content.

    So how do I resize table_array to the same number of rows and only 2 columns and reame it Date_Range?

    Thanks in advance,

    Tom
    Last edited by tom.hogan; 03-15-2011 at 08:40 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Resize and Rename a Range in UDF

    Hi

    try
    Please Login or Register  to view this content.
    rylo

  3. #3
    Forum Contributor
    Join Date
    01-25-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2016
    Posts
    166

    Re: Resize and Rename a Range in UDF

    Too Easy! Thank you, I spent three hours searching the internet and trying different options, I should have known to just ask here.

    Regards,

    Tom

+ 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