Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Count Keywords in Column through Macro in Excel

Jim,

Looking for blank cells

Thanks!

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
Macro idendifying keywords Sandeman Excel Programming 9 March 30th 06 08:49 AM
Search Excel files for text and keywords? quartz[_2_] Excel Programming 4 December 5th 05 08:16 AM
where do i find a list of macro keywords hecfrme Excel Programming 5 September 25th 05 01:06 AM
can i make a formula to search keywords in a excel workbook? gorillayam Excel Worksheet Functions 0 January 15th 05 02:25 AM
Excel VBA keywords Excel programming questions Excel Programming 2 December 16th 04 12:13 AM


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

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"