Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Argument List Of ActiveChart.Location And ActiveChart.ChartType

This is just a matter of personal style and idle curiousity. Why is
it that some functions need a parameter list like "Whe=" inside the
brackets and others you just specify the parameter like
"xlColumnClustered". I guess my question is what is the purpose of
the ":=" and is there a workaround so the parmeter list looks like
Function(arg1, arg2,...) instead of Function(Whe=arg1,
Location:=arg2,...)

Any help would be appreciated...Mo.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Argument List Of ActiveChart.Location And ActiveChart.ChartType

Hi Mo:

If you are using named arguments (the ones using :=), you only need to list
the ones that you want to specify, in any order whatever. If you are not
using named arguments, you need to provide all the arguments to the
function. This is generally correct although there are a few little quirks.

This post by Chip Pearson should clear it up for you.

http://google.com/groups?selm=e133J%...gp13.phx. gbl



"Mo" wrote in message
om...
This is just a matter of personal style and idle curiousity. Why is
it that some functions need a parameter list like "Whe=" inside the
brackets and others you just specify the parameter like
"xlColumnClustered". I guess my question is what is the purpose of
the ":=" and is there a workaround so the parmeter list looks like
Function(arg1, arg2,...) instead of Function(Whe=arg1,
Location:=arg2,...)

Any help would be appreciated...Mo.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Argument List Of ActiveChart.Location And ActiveChart.ChartType

You can use named argument or you can provide the arguments in an ordered,
comma separated list.

As far as I know, there is no function that requires one or the other - the
each will accept either.

by using a named list, you don't have to remember the order and you don't
have to supply optional arguments (or mark their position).

--
Regards,
Tom Ogilvy

Mo wrote in message
om...
This is just a matter of personal style and idle curiousity. Why is
it that some functions need a parameter list like "Whe=" inside the
brackets and others you just specify the parameter like
"xlColumnClustered". I guess my question is what is the purpose of
the ":=" and is there a workaround so the parmeter list looks like
Function(arg1, arg2,...) instead of Function(Whe=arg1,
Location:=arg2,...)

Any help would be appreciated...Mo.



Reply
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
Excel 2007 - ActiveChart.Export blurry images. EG18349276 Charts and Charting in Excel 3 August 7th 08 01:16 PM
ActiveChart.Location help Dave Excel Discussion (Misc queries) 1 November 16th 07 07:38 PM
charting problem with activechart.setsourcedata Mary Kathryn Excel Discussion (Misc queries) 4 February 25th 06 08:54 PM
ActiveChart.Deselect won't Deselect Mark Stephens Charts and Charting in Excel 2 June 16th 05 02:54 AM
Two charttype on chart shah firdaous via OfficeKB.com Charts and Charting in Excel 1 April 16th 05 05:28 PM


All times are GMT +1. The time now is 09:47 PM.

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"