+ Reply to Thread
Results 1 to 3 of 3

VBA: Change Format for Time and Percent

  1. #1
    Registered User
    Join Date
    06-12-2014
    Location
    Makati Philippines
    MS-Off Ver
    MS OFFICE 2010
    Posts
    58

    VBA: Change Format for Time and Percent

    Hi All,

    i have this code (created for me by Tinbendr,one of the Forum Expert)

    Please Login or Register  to view this content.
    In .asa, .cpaht, .resaht, i need them to be in 0:00:00 time format
    in .sa, i need it to be in 00.00% format

    sample:

    6.8798815822 = 0:00:59
    2.906903502 = 0:00:25
    3.5648148148 = 0:05:08

    0.9975 = 99.75%

    left side numbers are what's showing in the userform textboxes, the right numbers is the format it should show in the textboxes..
    should i add some formulas?
    Last edited by saikong051; 08-18-2014 at 07:58 AM.

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,126

    Re: VBA: Change Format for Time and Percent

    I thought you might be back asking for that

    Use the format function
    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

  3. #3
    Registered User
    Join Date
    06-12-2014
    Location
    Makati Philippines
    MS-Off Ver
    MS OFFICE 2010
    Posts
    58

    Re: VBA: Change Format for Time and Percent

    hehe thanks so much Tinbendr.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Time format won't change?
    By WGBarry in forum Excel General
    Replies: 10
    Last Post: 05-06-2022, 09:16 AM
  2. [SOLVED] Change time format
    By nickh1981 in forum Excel General
    Replies: 4
    Last Post: 12-10-2013, 11:13 PM
  3. Change format of lots of data cell to a time format
    By dazza67 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-24-2013, 03:24 PM
  4. How to Times a percent, and be able to change percent.
    By ILCentral in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-27-2012, 11:55 AM
  5. change format for time value
    By Qaspec in forum Excel General
    Replies: 1
    Last Post: 05-23-2005, 06:06 PM

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