![]() |
Search for month doesn't work for specific months
Hello all!
I 've created a userform to search an excel database (that is populated by another userform) that contains a date field. This field is formatted as mmm/yyyy so I can search it by month. All was well until out of nothing my sub can't find specific months. It finds the related data for january, march, june, july and november, but not any of the other months. In order to try and debug it I've used the exact same data in the other fields of the db changing only the date field to the desired month. If I use excel's own Find, everything works as it should, the months are found just fine. Has anyone a clue on why this could happen? Thanks in advance for all the help you can give. -- Alex |
Search for month doesn't work for specific months
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) wrote in message ... Hello all! I 've created a userform to search an excel database (that is populated by another userform) that contains a date field. This field is formatted as mmm/yyyy so I can search it by month. All was well until out of nothing my sub can't find specific months. It finds the related data for january, march, june, july and november, but not any of the other months. In order to try and debug it I've used the exact same data in the other fields of the db changing only the date field to the desired month. If I use excel's own Find, everything works as it should, the months are found just fine. Has anyone a clue on why this could happen? Thanks in advance for all the help you can give. -- Alex |
Search for month doesn't work for specific months
Not without seeing your code.
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) wrote in message ... Hello all! I 've created a userform to search an excel database (that is populated by another userform) that contains a date field. This field is formatted as mmm/yyyy so I can search it by month. All was well until out of nothing my sub can't find specific months. It finds the related data for january, march, june, july and november, but not any of the other months. In order to try and debug it I've used the exact same data in the other fields of the db changing only the date field to the desired month. If I use excel's own Find, everything works as it should, the months are found just fine. Has anyone a clue on why this could happen? Thanks in advance for all the help you can give. -- Alex |
Search for month doesn't work for specific months
Is there any reason why XL would perform the search correctly on a set
of months and not on others? Using the same function, with the same data, just different dates (months)? -- Alex ps.: It's not that I don't want to post the code, it's because there's a lot of it! On Jan 23, 7:00 am, "Bob Phillips" wrote: Not without seeing your code. -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) wrote in message ... Hello all! I 've created a userform to search an excel database (that is populated by another userform) that contains a date field. This field is formatted as mmm/yyyy so I can search it by month. All was well until out of nothing my sub can't find specific months. It finds the related data for january, march, june, july and november, but not any of the other months. In order to try and debug it I've used the exact same data in the other fields of the db changing only the date field to the desired month. If I use excel's own Find, everything works as it should, the months are found just fine. Has anyone a clue on why this could happen? Thanks in advance for all the help you can give. -- Alex |
All times are GMT +1. The time now is 04:06 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com