Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello from Steved
please change Range("AB30").Select "to operate in any cell" Sub Strike() With Selection.Font .Name = "Arial" .FontStyle = "Regular" .Size = 9 .Strikethrough = True .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .Color = 255 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range("AB30").Select End Sub |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sub Strike()
With Activecell With .Font .Name = "Arial" .FontStyle = "Regular" .Size = 9 .Strikethrough = True .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .Color = 255 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With End With End Sub -- __________________________________ HTH Bob "Steved" wrote in message ... Hello from Steved please change Range("AB30").Select "to operate in any cell" Sub Strike() With Selection.Font .Name = "Arial" .FontStyle = "Regular" .Size = 9 .Strikethrough = True .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .Color = 255 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range("AB30").Select End Sub |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you take out the Range("AB30").Select and run this code, it will run on
the selected cells? Is that what you want? "Steved" wrote: Hello from Steved please change Range("AB30").Select "to operate in any cell" Sub Strike() With Selection.Font .Name = "Arial" .FontStyle = "Regular" .Size = 9 .Strikethrough = True .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .Color = 255 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range("AB30").Select End Sub |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello Barb
Yes This is whaty I want Thankyou "Barb Reinhardt" wrote: If you take out the Range("AB30").Select and run this code, it will run on the selected cells? Is that what you want? "Steved" wrote: Hello from Steved please change Range("AB30").Select "to operate in any cell" Sub Strike() With Selection.Font .Name = "Arial" .FontStyle = "Regular" .Size = 9 .Strikethrough = True .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .Color = 255 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range("AB30").Select End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"Select method of Range class failed" Error | Excel Discussion (Misc queries) | |||
How can change range to select active rows instead of :=Range("S10 | Excel Discussion (Misc queries) | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Range("cell").Select Problem | Excel Discussion (Misc queries) |