Hello Y'all,
I have a spreadsheet with adverse event data. Column A has the adverse event term exactly as the staff member entered it into the database. I am working on creating a report that counts the number of instances that an AE term appears in column A. The issues that I am having trouble with are that there are MANY AE terms, the AE terms are variable (and unpredictable), and the number of rows in the spreadsheet is variable.
I have figured that the easiest, most organized thing to do is to create a new sheet as the destination for the number of occurances. Below is my code with the trouble area in red:
I got some numbers and the macro ran with no error messages. However, I can't tell if the numbers ouput by this macro are correctly counting the number of times a word appears in column A. I have attached a mock up of what the final report needs to look like .
Any and all help is very much appreciated! Thanks, y'all!
Bookmarks