Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Return Font Property
I now I can set the underline property of a cell as follows:
..Font.Underline = xlUnderlineStyleSingle But how to you return the Underline property of the cell? ?Range(Sheet!$A$1).Font.Underline produces an error Thanks EM |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Return Font Property
Sub testit()
MsgBox (Range("A1").Font.Underline) End Sub will give you a numerical value describing the underlining. For example 2 is single underlining. -- Gary''s Student - gsnu200844 "ExcelMonkey" wrote: I now I can set the underline property of a cell as follows: .Font.Underline = xlUnderlineStyleSingle But how to you return the Underline property of the cell? ?Range(Sheet!$A$1).Font.Underline produces an error Thanks EM |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Return Font Property
Thanks. Where do I find resources to highlight this underlying list
associated with the index number? Thanks again. EM "Gary''s Student" wrote: Sub testit() MsgBox (Range("A1").Font.Underline) End Sub will give you a numerical value describing the underlining. For example 2 is single underlining. -- Gary''s Student - gsnu200844 "ExcelMonkey" wrote: I now I can set the underline property of a cell as follows: .Font.Underline = xlUnderlineStyleSingle But how to you return the Underline property of the cell? ?Range(Sheet!$A$1).Font.Underline produces an error Thanks EM |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Return Font Property
I don't know a resource. Just run a macro to reveal:
2 for single -4119 for double 4 for single accounting 5 for double accounting -- Gary''s Student - gsnu200844 "ExcelMonkey" wrote: Thanks. Where do I find resources to highlight this underlying list associated with the index number? Thanks again. EM "Gary''s Student" wrote: Sub testit() MsgBox (Range("A1").Font.Underline) End Sub will give you a numerical value describing the underlining. For example 2 is single underlining. -- Gary''s Student - gsnu200844 "ExcelMonkey" wrote: I now I can set the underline property of a cell as follows: .Font.Underline = xlUnderlineStyleSingle But how to you return the Underline property of the cell? ?Range(Sheet!$A$1).Font.Underline produces an error Thanks EM |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Return Font Property
Thanks
EM "Gary''s Student" wrote: I don't know a resource. Just run a macro to reveal: 2 for single -4119 for double 4 for single accounting 5 for double accounting -- Gary''s Student - gsnu200844 "ExcelMonkey" wrote: Thanks. Where do I find resources to highlight this underlying list associated with the index number? Thanks again. EM "Gary''s Student" wrote: Sub testit() MsgBox (Range("A1").Font.Underline) End Sub will give you a numerical value describing the underlining. For example 2 is single underlining. -- Gary''s Student - gsnu200844 "ExcelMonkey" wrote: I now I can set the underline property of a cell as follows: .Font.Underline = xlUnderlineStyleSingle But how to you return the Underline property of the cell? ?Range(Sheet!$A$1).Font.Underline produces an error Thanks EM |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Font.Bold Property slows down macro | Excel Programming | |||
Casing of built-in property Font.Bold | Excel Programming | |||
Unable to set Underline property of the Font class | Excel Programming | |||
unable to set the colorindex property of the font class | Excel Programming |