Get Font Color Dialog

  • Thread starter Thread starter Zone
  • Start date Start date
Z

Zone

I want my macro to open the Font Color Dialog, allow the user to select
a color, and save the color to a variable. Excel 2002. Thanks! James
 
James,

Public MyColor As Integer
Sub StorColor()
Application.Dialogs(xlDialogFormatFont).Show
MyColor = ActiveCell.Font.ColorIndex
End Sub
 
Thanks much!
acampbell said:
James,

Public MyColor As Integer
Sub StorColor()
Application.Dialogs(xlDialogFormatFont).Show
MyColor = ActiveCell.Font.ColorIndex
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top