+ Reply to Thread
Results 1 to 3 of 3

Problem formating text boxes

  1. #1
    Registered User
    Join Date
    04-05-2016
    Location
    Portugal
    MS-Off Ver
    2013
    Posts
    2

    Problem formating text boxes

    Hi,

    I'm facing a very weird problem is one of my userforms. I have a lot of text boxes reading values from the worksheets behind. This is an example of the code I'm using to format the text boxes:

    Please Login or Register  to view this content.
    Similar pieces of code like this are repeated in a dozen other text boxes. The funny thing is that, when I open the workbook application, some of my text boxes will be properly formatted, others won't. I have to go to the System\Control Panel\Regional Settings\Formats\Additional Settings\Reset to restore the default values of my local settings (I live in Europe, therefore I want my currency to be €).

    Once I do this, all text boxes behave properly, but if I don't some text boxes will present the correct values but with wrong formatting.

    What am I missing here?

    Thanks!

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,945

    Re: Problem formating text boxes

    Could we see the workbook?

    BSB

  3. #3
    Registered User
    Join Date
    04-05-2016
    Location
    Portugal
    MS-Off Ver
    2013
    Posts
    2

    Re: Problem formating text boxes

    The problem appears to be solved!

    I changed my code to:

    Please Login or Register  to view this content.
    So, I'm no longer formatting the text boxes and Excel is displaying the proper formatting coming from the cells. So far, it appears to work like a charm.

    Thanks!

+ 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. Problem with populating text boxes with filtered data
    By newbi004 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-29-2013, 04:27 AM
  2. Conditional Formating 3 Text Boxes Based one one Textbox result in VBA in Excel
    By werner75 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-15-2013, 05:49 AM
  3. Problem referencing a series of text boxes using the numbers in their names.
    By cptpies in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2012, 07:05 AM
  4. Problem with text scaling in text boxes
    By peterleightonjones in forum Excel General
    Replies: 1
    Last Post: 12-20-2011, 06:41 AM
  5. Making Two identical Worksheets, Problem with Text Boxes
    By cyberxan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-22-2010, 12:32 PM
  6. Text Formating in Drop Down Boxes
    By dhalle in forum Excel General
    Replies: 2
    Last Post: 03-07-2009, 03:51 AM
  7. Formating Form Text Boxes
    By jonn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2007, 03:56 AM
  8. Strange Formating problem with text and formula in same cell
    By caliskier in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-06-2005, 07:05 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