+ Reply to Thread
Results 1 to 2 of 2

How to use spin button to store time in two textboxes

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    How to use spin button to store time in two textboxes

    Hi guys

    As I have never used spin button earlier so can anyone please help me how can I use spin button in excel userform to store time in hh:mm format in two textboxes.I would appreciate if anyone can provide me the code for this one.

    Regards
    Aman

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: How to use spin button to store time in two textboxes

    Paste the following 2 macros onto the form module containing the Spin Buttons

    Change Spinbutton & textbox names to suit

    Repeat above process for 2nd textbox & sinbuttons

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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