+ Reply to Thread
Results 1 to 3 of 3

How to extend the range of user definied public function

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    How to extend the range of user definied public function

    Hello,

    I would like to ask some help regardig user definied public function. In my public function there is a FORECAST formula but the range is not dynamic as I want.
    I have attached the sample file.




    Thanks in advance the help!
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: How to extend the range of user definied public function

    Changing your UDF so the input ranges are dynamic, simply turns it back into the FORECAST function. Why not just use Forecast in your worksheet?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: How to extend the range of user definied public function

    Hello Olly,

    Thank you for your attention. I just would like to develop my VBA knowledge, this is the reason why the FORECAST function in UDF.
    Do you have any idea how should change the VBA code?

+ 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. block user to send mail to public domain
    By rochakmehta90 in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 09-17-2014, 07:22 PM
  2. Want to extend If not function in vba
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2013, 04:27 PM
  3. [SOLVED] HOW TO EXTEND A NAMED RANGE
    By ramana in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-26-2005, 04:05 AM
  4. Painting Range - extend the range on the top part
    By Shrikant in forum Excel General
    Replies: 4
    Last Post: 09-01-2005, 07:05 AM
  5. [SOLVED] Extend range to sum
    By Ivor Williams in forum Excel General
    Replies: 2
    Last Post: 03-19-2005, 05:06 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