+ Reply to Thread
Results 1 to 3 of 3

Format textbox to currency

  1. #1
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Office 365
    Posts
    1,172

    Format textbox to currency

    Hi Forum,
    The below code formats a textbox to different currencies based on user selection from a combobox, it uses a vlookup function to determine which format to use (here is a sample workbook CurrencyFormatting.xlsm )
    The issue is that the code only recognizing the USD currency and not the other currencies.
    Please Login or Register  to view this content.
    I would really appreciate any help on this.

    Thanks in advance.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Format textbox to currency

    Is the VLookup only returning the currency symbol, eg $, £ etc?
    If posting code please use code tags, see here.

  3. #3
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Office 365
    Posts
    1,172

    Re: Format textbox to currency

    Hi Norie,
    The vlookup does not return any symbols except if the US currency is selected.
    In my posted workbook you will see what i mean if you try to select a different currency.

+ 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. Format Textbox on UserForm as Currency
    By paulsouthampton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2015, 11:37 AM
  2. Format textbox to currency in keypress event
    By MrAlvim in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-23-2013, 11:48 AM
  3. Format Textbox as foreign currency
    By cschoyer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2013, 01:35 PM
  4. Currency Format in Textbox Excel 2011 (Mac)
    By Vikingo55 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2013, 05:22 AM
  5. How to Format Currency in Textbox??
    By MrsTaylor in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2012, 11:37 PM
  6. Apply currency format to textbox while typing
    By kuraitori in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-12-2012, 11:09 PM
  7. Textbox to display a number or currency format
    By Josh_123456 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-21-2011, 11:00 PM
  8. How do you format a TextBox on a UserForm as Currency
    By rkjudy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-09-2011, 11:08 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