Excel VB.net Generate Long Value for a color dialog

Hi

How do I get a long value for the color that a user chooses on a  ColorDialog control
I currently use     sColor = Me.ColorDialog1.Color.ToString
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
 
Meir RivkinConnect With a Mentor Full stack Software EngineerCommented:
Me.ColorDialog1.Color.ToArgb()

Open in new window

http://msdn.microsoft.com/en-us/library/system.drawing.color.toargb.aspx
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Great! Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.