+ Reply to Thread
Results 1 to 2 of 2

Want to find time taken for the macro

  1. #1
    Registered User
    Join Date
    10-26-2004
    Posts
    8

    Want to find time taken for the macro

    Hi
    I want to find the time taken for macro..

    Can anyone help me in that
    How can i staore this value in some text file ..?

    Thanks in Advance

  2. #2
    Registered User
    Join Date
    12-23-2003
    Posts
    3
    Hi,

    Just set a variable at the start of the module

    dim starttime as date, endtime as date, duration as date


    starttime = now


    at the end:

    endtime = now

    duration = endtime - startime

    msgbox duration

    Cheers.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1