Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 269
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default 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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 269
Default 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


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
Conditional Format for font color using font color Jim Excel Worksheet Functions 2 August 29th 09 11:54 AM
Changing Font color based on font type or size John Excel Discussion (Misc queries) 2 February 7th 08 12:50 AM
Check Font or Font color and take action MSPLearner Excel Programming 3 November 15th 06 11:31 AM
My fill color and font color do not work in Excel Std Edition 2003 chapstick Excel Discussion (Misc queries) 1 September 11th 05 08:48 PM
VBA with Font dialog without use comdlg.ocx Joe Excel Programming 1 November 26th 04 09:18 AM


All times are GMT +1. The time now is 10:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"