Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default xlDialogColorPalette argument

The built-in dialog xlDialogColorPalette requires an argument, which is
stated in the help file simply as "file_text". I suspect it is the file name
of a palette file, but I am not sure. Moreover, I have not been able to
locate a *.pal file on my HDD, so simply trying is not an option. When the
argument is omitted, the "show" method does notr lead to the dialog being
displayed.

Any ideas? Thanks in advance.

Arne
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default xlDialogColorPalette argument

This seems to work...
Application.Dialogs(xlDialogColorPalette).Show ActiveWorkbook.Path
However, it will not return the "selected" color.
It is used only to modify the color palette in the workbook.

John Walkenbach has a custom color picker dialog available for download here...
http://www.j-walk.com/ss/excel/tips/tip49.htm

--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins - Special Sort can sort by color)





"Arne"
wrote in message
The built-in dialog xlDialogColorPalette requires an argument, which is
stated in the help file simply as "file_text". I suspect it is the file name
of a palette file, but I am not sure. Moreover, I have not been able to
locate a *.pal file on my HDD, so simply trying is not an option. When the
argument is omitted, the "show" method does notr lead to the dialog being
displayed.

Any ideas? Thanks in advance.

Arne
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
If argument DonaMil Excel Worksheet Functions 1 April 14th 10 04:20 PM
Argument JAGC Excel Programming 4 January 21st 07 07:13 PM
what is an argument? mcockrel Excel Discussion (Misc queries) 7 March 17th 06 03:21 PM
One more Argument. Steved Excel Worksheet Functions 1 July 28th 05 08:55 AM
Function (array argument, range argument, string argument) vba Witek[_2_] Excel Programming 3 April 24th 05 03:12 PM


All times are GMT +1. The time now is 12:19 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"