+ Reply to Thread
Results 1 to 3 of 3

In VBA trying to get the cell format to currency with the formula

  1. #1
    Registered User
    Join Date
    07-02-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question In VBA trying to get the cell format to currency with the formula

    I have the formula Below and would like to have the end results in the currency format. So when I enter $12.99 in the price cell I will get $15.47 instead of 15.46744. Thanks to any help I can get.

    Function kaibetoegg(price)
    kaibetoegg = (price * 1.056) + 1.75
    End Function
    Last edited by calebfrost; 07-02-2013 at 11:58 AM.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: In VBA trying to get the cell format to currency with the formula

    Perhaps:
    Please Login or Register  to view this content.
    will work?

  3. #3
    Registered User
    Join Date
    07-02-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: In VBA trying to get the cell format to currency with the formula

    Quote Originally Posted by yudlugar View Post
    Perhaps:
    Please Login or Register  to view this content.
    will work?
    That solved it thanks. I was thinking it was going to be a little more complicated, that was simple.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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