LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default writing a Function with a variable number of arguments

How do I write a function that can take any number of integers?

for example

function MyAverage(x as integer, [any amount more] as integers)
....
end function

Thanks

Tony
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extend the number of arguments of a function JP Ronse Excel Worksheet Functions 9 September 4th 09 07:42 PM
How do I put a variable column number in the sum() function? BobC[_2_] Excel Worksheet Functions 8 November 23rd 08 07:17 PM
Variable in arguments Mario Excel Worksheet Functions 4 November 17th 07 01:18 PM
Passing Variable Number of Arguments to a Sub blatham Excel Discussion (Misc queries) 4 December 10th 05 10:36 AM
Question: Macro overloading, passing variable number of arguments Frederik Romanov Excel Programming 1 July 8th 03 02:51 PM


All times are GMT +1. The time now is 12:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"