VBA color picker - copy of Font dialog combo box
Thanks J. That's close, but not close enough really. I'd rather code up
my own colour picker than use a dialog that appears to have a function
(i.e. colouring cells) which is not what my users would be choosing the
colour for. Just wondering if there was some way of accessing the one
used in the Font dialog, as that's perfect. All I've found so far are
copies of that written in C, which I'm afraid I don't know how to
implement.
Chris
On Nov 24, 5:22 pm, "WhytheQ" wrote:
this is close enough isn't it:
Application.Dialogs(xlDialogPatterns).Show
Rgds
J
On Nov 24, 5:06 pm, wrote:
Hi,
I've had a look at a lot of color picking code for userforms, but I was
wondering if there was any way of just producing the same combo box
that can be found in Format--Cells--Font (I'm using Excel).
I've looked at various application.dialogs, but they would confuse my
users - all I need is the colour, and the way it is done in the Font
page seems ideal.
Either an inbuilt solution (i.e. something within excel that I can
reference, like a dialog) or a copy would be fine. Anyone seen anything
like this?
Thanks very much,
Chris
|