Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 71
Default Edit font within a formula?

Can you change fonts within the formula's of a cell. If so how???
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Edit font within a formula?

Cannot be done.

Copy and Paste as value then you can change the font.


Gord Dibben MS Excel MVP

On Thu, 12 Jul 2007 11:38:04 -0700, cody wrote:

Can you change fonts within the formula's of a cell. If so how???


  #3   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Edit font within a formula?

no
you can change fonts in a text only cell
but not with a formula

"cody" wrote:

Can you change fonts within the formula's of a cell. If so how???

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 663
Default Edit font within a formula?

Hi,

No.

You can change format of a cell for display purpose. Formulas are stored
values, therefore assingning any font color to the formulas does not make
sense.

Note: You cannot change fonts for Named formula.

Challa Prabhu

"cody" wrote:

Can you change fonts within the formula's of a cell. If so how???

  #5   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Edit font within a formula?

Depending on exactly what you are trying to do, this may be something you
might be interested in playing with......

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
'Cell font type, size, and color depends on cell value
'Also works on formula results
If IsNumeric(Selection.Value) And Selection.Value < "" Then
Select Case Selection.Value
Case 0 To 9
Selection.Font.Name = "script"
Selection.Font.ColorIndex = 3
Selection.Font.Size = 10
Case 10 To 20
Selection.Font.Name = "ariel"
Selection.Font.ColorIndex = 5
Selection.Font.Size = 12
Case Is 20
Selection.Font.Name = "times new roman"
Selection.Font.ColorIndex = 8
Selection.Font.Size = 14
Case Else
GoTo 100
End Select
100
End If
End Sub

hth
Vaya con Dios,
Chuck, CABGx3




"cody" wrote:

Can you change fonts within the formula's of a cell. If so how???



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
how to edit formula without changing formula of each cell sadat Excel Worksheet Functions 2 April 24th 07 02:02 PM
how can I edit/change the font color in an excel formula? strandie Excel Discussion (Misc queries) 1 September 23rd 06 01:08 AM
Display shading and font colors in edit mode Ladyjane Excel Discussion (Misc queries) 1 March 11th 06 08:22 PM
i edit a formula (excel) then it displays formula not answer caiman Excel Discussion (Misc queries) 2 September 9th 05 02:09 AM
= (edit formula) ecox Excel Discussion (Misc queries) 2 March 21st 05 10:01 PM


All times are GMT +1. The time now is 05:12 PM.

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"