Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jon Jon is offline
external usenet poster
 
Posts: 183
Default if font is bold then cell value is number

Greeting,

Is there any code to input a value to cell if A1 is bold and Red color?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default if font is bold then cell value is number

Sub jon()
With Range("A1").Font
If .FontStyle = "Bold" And .ColorIndex = 3 Then
Range("A1").Value = 123
End If
End With
End Sub

--
Gary''s Student - gsnu200804
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
Bold font if statement drb Excel Worksheet Functions 3 March 9th 08 09:01 PM
Bold Font question Jenny B. Excel Discussion (Misc queries) 3 August 17th 07 04:02 PM
Bold Font question bj Excel Discussion (Misc queries) 1 August 17th 07 01:48 AM
How to count number of Cell have Strike Through Effect & Bold as font style. Akash Maheshwari Excel Discussion (Misc queries) 6 June 29th 07 09:39 PM
Can you keep a cells BOLD Font, cell color size Trese Excel Discussion (Misc queries) 2 August 23rd 05 03:09 PM


All times are GMT +1. The time now is 05:00 AM.

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

About Us

"It's about Microsoft Excel"