![]() |
Get Font Color Dialog
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 |
Get Font Color Dialog
James,
Public MyColor As Integer Sub StorColor() Application.Dialogs(xlDialogFormatFont).Show MyColor = ActiveCell.Font.ColorIndex End Sub Zone wrote: 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 |
Get Font Color Dialog
Thanks much!
acampbell wrote: James, Public MyColor As Integer Sub StorColor() Application.Dialogs(xlDialogFormatFont).Show MyColor = ActiveCell.Font.ColorIndex End Sub Zone wrote: 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 |
All times are GMT +1. The time now is 02:10 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com