Hi,

How to find out the time taken for the execution of a piece of code. For example, consider the following sample code:

for i = 0 to 50000
Debug.print i
next



How to findout the execution time?

Thanks in advance