+ Reply to Thread
Results 1 to 2 of 2

Help for Format TextBox as 0,0000 and record this to a Cell

  1. #1
    Registered User
    Join Date
    02-06-2015
    Location
    BURSA
    MS-Off Ver
    2010
    Posts
    1

    Help for Format TextBox as 0,0000 and record this to a Cell

    I have a Userform which have 128 TextBox on it.
    After I fill all of them Im pressing CommandButton1 to record them on Sheet 1 and side by side. First Row
    Im filling again and recording again on 2nd Row and then 3rd, 4th etc.
    Now some TextBoxes should be in format "#.##0.000" Im coding this in Text Box
    Example
    Please Login or Register  to view this content.

    For example Im writing to TextBox 7 as 9,9786 No problem to there but when Im pressing CommandButton1 to transfer datas to Sheet1 cells, Format changing and being 99786,0000
    I arrange also format of cell ,0000 but nothing change.

    My code for CommondButton1

    Please Login or Register  to view this content.
    So what I should do?
    Thank you.
    Last edited by Haldunc; 02-25-2021 at 09:57 AM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,302

    Re: Help for Format TextBox as 0,0000 and record this to a Cell

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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) Converting a date from 00/0000 to 00/00/0000
    By RigbyDigby in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-11-2019, 07:34 PM
  2. Replies: 8
    Last Post: 05-15-2017, 05:54 AM
  3. Trying to use a button to record data from a variable cell to a textbox
    By Thy_Raven13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2013, 11:25 AM
  4. [SOLVED] Trying to convert Date Format - Wed Sep 26 2012 05:03:42 GMT+0000 (UTC) to 26/09/2012
    By BEEGINA in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-03-2013, 10:43 AM
  5. Achieving 0000 Format
    By Chris424 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2008, 09:53 AM
  6. Replies: 4
    Last Post: 06-23-2005, 08:05 PM

Tags for this Thread

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