Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default How to Count Strike throughs

I am working with Office 2003 and W XP.
I have a spread sheet with many, many rows.
When a row has been checked a strike through was done to the row.
This was done by selecting the row or rows then going to Format Font
Effects Strike trough.

I would now like to get a count of how many rows have a strike
thorough.
I only need to do this to column A as the strike through was applied
to entire rows.

How do I accomplish this?

Thanks for any and all help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 587
Default How to Count Strike throughs

hi,

you have to use vba

Sub Macro1()
Dim n As Long, c As Range
For Each c In Range("A1:A" & Cells(Cells.Rows.Count, 1).End(xlUp).Row)
If c.Font.Strikethrough Then n = n + 1
Next
MsgBox n
End Sub

--
isabelle



Le 2012-08-23 15:59, trvlnmny a écrit :
I am working with Office 2003 and W XP.
I have a spread sheet with many, many rows.
When a row has been checked a strike through was done to the row.
This was done by selecting the row or rows then going to Format Font
Effects Strike trough.

I would now like to get a count of how many rows have a strike
thorough.
I only need to do this to column A as the strike through was applied
to entire rows.

How do I accomplish this?

Thanks for any and all help.

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
strike through Angie G.[_2_] Excel Worksheet Functions 1 July 13th 09 09:29 PM
Strike-throughs and equations Kevin Excel Discussion (Misc queries) 2 May 20th 08 11:09 PM
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
How to count number of Cell have Strike Through Effect & Bold as font style. Akash Excel Programming 10 June 28th 07 06:28 AM
Strike through Mukesh Excel Discussion (Misc queries) 1 February 19th 06 12:01 AM


All times are GMT +1. The time now is 07:25 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"