Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Count Keywords in Column through Macro in Excel
I am a noob to VBA coding and was seeking help on how to output a count
of keywords through a message box. I created a macro for a Excel spreadsheet and want to make a message box displaying this: Show a count of "shall" from a column and count of null's from another column when the Excel spreadsheet is opened. Thanks! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Count Keywords in Column through Macro in Excel
Here is code to count the nimber of instances of the word shall in column A...
MsgBox Application.WorksheetFunction.CountIf(Columns("A") , "Shall") Are you looking for the word "Null" or are you looking for blank cells??? -- HTH... Jim Thomlinson "Dafinga" wrote: I am a noob to VBA coding and was seeking help on how to output a count of keywords through a message box. I created a macro for a Excel spreadsheet and want to make a message box displaying this: Show a count of "shall" from a column and count of null's from another column when the Excel spreadsheet is opened. Thanks! |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Count Keywords in Column through Macro in Excel
Jim,
Looking for blank cells Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro idendifying keywords | Excel Programming | |||
Search Excel files for text and keywords? | Excel Programming | |||
where do i find a list of macro keywords | Excel Programming | |||
can i make a formula to search keywords in a excel workbook? | Excel Worksheet Functions | |||
Excel VBA keywords | Excel Programming |