+ Reply to Thread
Results 1 to 7 of 7

Display Php Phillipine currency in vba excel

  1. #1
    Forum Contributor
    Join Date
    07-17-2011
    Location
    PH
    MS-Off Ver
    Excel 2007
    Posts
    183

    Display Php Phillipine currency in vba excel

    Hi i have a userform with textbox as unitprice. in unitprice there are two choices to enter its either a dollar sign or Philippine Peso PhP sign. I put up a check box for $ and another one for peso. the dollar signed is working but for philippine peso it doesnt work. May I ask your help guys on how to do this in vba macro and also i would like to know if you have other approach.


    below is my vba code:

    Please Login or Register  to view this content.

    This is the result when i entered a nuemric value in unit price when i click the peso checkbox. P0P#,##0.00. when i used the dollar sign and enter a value. the value cannot edit anymore. let say i enter 100 which i the actual value is 100.10. the 2 decimal i cannot enter anymore.
    Last edited by Jovillanueva; 06-09-2015 at 01:48 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,052

    Re: Display Php Phillipine currency in vba excel

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    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



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    07-17-2011
    Location
    PH
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Display Php Phillipine currency in vba excel

    Thanks FDibbins for the reminder. Sorry i forgot to use tags.

  4. #4
    Registered User
    Join Date
    11-13-2006
    Posts
    87

    Re: Display Php Phillipine currency in vba excel

    Instead of "PhP", Use the Peso sign ₱

  5. #5
    Forum Contributor
    Join Date
    07-17-2011
    Location
    PH
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Display Php Phillipine currency in vba excel

    Thanks samT. Where i can find and how to insert this pero sign. thanks.

  6. #6
    Registered User
    Join Date
    11-13-2006
    Posts
    87

    Re: Display Php Phillipine currency in vba excel


  7. #7
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Display Php Phillipine currency in vba excel

    Hi,

    h is used internally by Excel for hour symbol, so you must escape this character using escape symbol "\" (backslah), like this :

    Please Login or Register  to view this content.

    Regards
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

+ 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. Changed currency display
    By Tunk Ayauit in forum Excel General
    Replies: 1
    Last Post: 03-14-2013, 08:20 PM
  2. Using Excel 2010 to display currency information
    By fxreuben in forum Excel General
    Replies: 0
    Last Post: 10-18-2012, 04:36 PM
  3. Textbox to Display Currency
    By James12 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2009, 10:22 PM
  4. [SOLVED] Display Value in 'Currency Format'
    By mpeplow in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-15-2006, 08:15 AM
  5. Currency and Numbers display
    By Billy Parkinson in forum Excel General
    Replies: 0
    Last Post: 01-11-2005, 09: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