sbmahapatra
New Member
- Joined
- Apr 15, 2012
- Messages
- 9
Hi Experts,
I am new to VBA and currently assigned a Excel project which has got lots of VBA codes. The spreadsheet has got a Validate Button. On click on the button, the entire spreadsheet is validated. Here I have got many questions. Just to start with,
1. How does the VB code knows the cells (Rows, Cols)?
2. When clicked on the button, how does the code is executed? In other words, where do we specify which part of the code to execute in the Validate Button?
3. If there are errors, the cells get highlighted with didfferent colors. How does it happen?
4. How can I debug the code?
Understanding the above will give me a good start. Please try to help. Thank you alot in advance.
I am new to VBA and currently assigned a Excel project which has got lots of VBA codes. The spreadsheet has got a Validate Button. On click on the button, the entire spreadsheet is validated. Here I have got many questions. Just to start with,
1. How does the VB code knows the cells (Rows, Cols)?
2. When clicked on the button, how does the code is executed? In other words, where do we specify which part of the code to execute in the Validate Button?
3. If there are errors, the cells get highlighted with didfferent colors. How does it happen?
4. How can I debug the code?
Understanding the above will give me a good start. Please try to help. Thank you alot in advance.