+ Reply to Thread
Results 1 to 2 of 2

Basic Compile Problem

  1. #1
    mpeplow
    Guest

    Basic Compile Problem

    Can anyone tell me why this code does not work in the immediate window

    msgbox (Format (35988.3708, "currency"))

    I get wrong number of arguments of invalid property assignment but that does not make sense. I'm pretty sure I have the right number of arguments.

    Shouldn't the msgbox display $35,988.37 ?

  2. #2
    Chip Pearson
    Guest

    Re: Basic Compile Problem

    Your code works fine for me in both a procedure and in the
    Immediate window.


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "mpeplow" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Can anyone tell me why this code does not work in the immediate
    > window
    >
    > msgbox (Format (35988.3708, "currency"))
    >
    > I get wrong number of arguments of invalid property assignment
    > but that
    > does not make sense. I'm pretty sure I have the right number
    > of
    > arguments.
    >
    > Shouldn't the msgbox display $35,988.37 ?
    >
    >
    > --
    > mpeplow
    > ------------------------------------------------------------------------
    > mpeplow's Profile:
    > http://www.excelforum.com/member.php...o&userid=34812
    > View this thread:
    > http://www.excelforum.com/showthread...hreadid=552007
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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