Results 1 to 2 of 2
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Applying a Custom Function to a Variable (XL97:SR2)

    Is it possible to apply a custom function to a variable?

    This would be similar to: oMyVar = Application.Worksheetfunction.Blah(Blah, Blah).

    The code with the applied custom function would look like: oMyVar = CustomFunction.Blah(Blah, Blah)

    Thanks,
    John

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Applying a Custom Function to a Variable (XL97:SR2)

    Yes. It would look something like this:

    <pre> oMyVar = MyFunction(MyVar1,MyVar2)
    </pre>

    Legare Coleman

Posting Permissions

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