Dan Wilson
Well-known Member
- Joined
- Feb 5, 2006
- Messages
- 507
- Office Version
- 365
- Platform
- Windows
Good day. I am running Excel out of Office365 (updated) on Windows 10 Home version (updated). I have a worksheet that contains over 4000 rows of data. Column J will contain a two-digit number identifying a year. For example, 60 will idicate1960, 70 will indicate 1970. As the worksheet is used, Column J of each Row will be filled in according to the year of the data being used from that Row. The Top Row of the worksheet will be Frozen and I will place a Command Button in Column J. of Row A I would like to create a Macro to be assigned to the Command Button that will, on demand, examine the entire worksheet to Count the number of times that a particular two-digit year has been entered in Column J. The result of the search can be placed in Column K of Row A. I can create most of the Macro, but I have no idea how to make the Macro allow me to enter a specific two-digit number to search for in Column J while the Macro is running. Obviously, the two-digit entry will be different each time the Macro is run. I will appreciate any help with this.
Thank you,
Dan Wilson...
Thank you,
Dan Wilson...