My experience is mainly in Access, but some of these points are valid wherever the thread is posted.
There are some things which are universally required when asking for help. All pretty obvious, but frequently not included in the question nevertheless.
If your code crashes with an error we need an error message as well as an error ID or number.
If your code crashes and you post your code, we need an indication of the line number it crashed on. We don't appreciate wasting time interpreting the whole of your posted code to see if we can determine through inference where the problem is, simply to save the poster the bother of supplying this information.
If the code doesn't do as expected, but doesn't actually crash, we need to know what is expected as well as what actually happened. Simply stating, as so many do, that the code isn't working will only waste everybody's time and tend to annoy the experts.