• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Get Sub Name In Cell?

I'm using this to time my subs and input a cell value of how long it took.


Did I write this correctly?


Get_Time

Dim Counter As Single

Counter = Timer

'''my code

Worksheets(2).Range("A65536").End(xlUp).Offset(1).Value = _

Timer - Counter & " seconds."

End Sub


So I can see easily see which sub took how long, how do I get the sub name with the time also?
 
Indi,


Ref the article from Mircosoft for this...


http://msdn.microsoft.com/en-us/library/aa730921.aspx


Also has example code to test Range, Sheet, ReCalc and FullReCalc...


~Vijay

sharma.vijay1@gmail.com
 
Back
Top