Quote:
Originally Posted by NeoPa
When posting any code on here please :
- Ensure you have Option Explicit set (See Require Variable Declaration).
- Try to compile it. If it doesn't compile for any reason please explain that clearly - including the error message and which line of your code it appears on. Compilation is done from the Visual Basic Editor menu - Debug \ Compile Project (Where Project is the actual name of your project).
- Copy your code (using the Clipboard - Cut / Copy / Paste) from your project directly into your post. Typing in code is not appreciated as it is likely to introduce typos which cause members to waste their time unnecessarily.
- Ensure that the code in your post is enveloped within CODE tags. The hash (#) button in the posting page helps with this. Simply select your code and click on the hash button to have it enveloped automatically.
If all these points are covered then all members will be better able to understand, and therefore attempt to answer, your question.
Nikhil, in case it wasn't clear, I posted this as a moderator. That means you must pay attention and follow these instructions otherwise I will take the matter further and apply an infraction to your account.
I am trying not to slap an infraction on it quite so soon after your joining the site, but frankly I'm being swamped with issues concerning you and these must stop.
Your code wouldn't even be allowed to be entered into the code window as it is, let alone compile. This wastes the time of our experts tidying up your code which you should be doing yourself before it ever sees this forum.
You have been warned.
Administrator.