+ Reply to Thread
Results 1 to 4 of 4

half second

  1. #1
    Registered User
    Join Date
    03-16-2009
    Location
    italy
    MS-Off Ver
    Excel 2003
    Posts
    64

    half second

    hallo, i can't set the time below 1 second , can i have half second wait in this line , thanks for all your help

    Application.Wait Now + TimeValue("00:00:1")

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: half second

    Hi,

    How about

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: half second

    Application.Wait Now + 1/(24*60*60.0*2)

    the numerical value 1 = 1 day
    1/24 is one hour
    1/(24*60) is one minute
    so 1/(24*60*60*2) is 1/2 second

    you need to use a decimal point somewhere to force a floating point number


    click on the * Add Reputation if this was useful or entertaining.

  4. #4
    Registered User
    Join Date
    03-16-2009
    Location
    italy
    MS-Off Ver
    Excel 2003
    Posts
    64

    Re: half second

    thankyou all for your help

+ 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