+ Reply to Thread
Results 1 to 2 of 2

Formatting Numbers with Appropriate Comma's - Frustrated!

  1. #1
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Minnesota
    MS-Off Ver
    Office 365
    Posts
    163

    Formatting Numbers with Appropriate Comma's - Frustrated!

    I created a macro to write emails directly from Outlook. Hit the button, answer a couple pop up boxes, and there’s my email. I can’t figure out how to make the numbers format as dollar amounts though. Shoot – I don’t even need it to format as currency – I just need appropriate comma’s. See below excerpts please;

    Please Login or Register  to view this content.
    It asks for and utilizes the numbers appropriately, but formats it as one long number instead of with appropriate comma’s

    I’ve tried
    Please Login or Register  to view this content.
    That didn’t work. Google told me to do

    Please Login or Register  to view this content.
    But that gives me “Compile Error: Expected: = “, but I can’t figure out where to put the damn = sign! Put it between Format and first parenthesis, and then it tells me it was a closing parenthesis somewhere. There is no open parenthesis to close! Put it anywhere else and it tells me it’s expecting an expression! Gah!!

    Would someone please point out what I’m missing? How do I get a number in Outlook to format as a number with appropriate comma’s when the information is NOT coming from a spreadsheet?

    Thanks for the help!
    Last edited by OpieWinston; 05-16-2018 at 04:13 PM.

  2. #2
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Minnesota
    MS-Off Ver
    Office 365
    Posts
    163

    Re: Formatting Numbers with Appropriate Comma's - Frustrated!

    Well I figured it out right after posting, though it makes no sense to me why it is done that way. I have to use the Format(Contract, “Currency”) inline with the message instead of trying to call it out or assign it on it’s own.

    Please Login or Register  to view this content.
    So every time I reference the amounts, I have to put in the formatting language.

    Weird.

+ 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. Comma in Numbers
    By Mail4Merge in forum Excel General
    Replies: 32
    Last Post: 06-24-2015, 05:36 AM
  2. Comma delimited numbers with space after comma
    By Cicada in forum Excel General
    Replies: 5
    Last Post: 04-23-2015, 09:32 AM
  3. [SOLVED] Compare two cells with comma delimited numbers and display the numbers that are NOT duplic
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2014, 02:22 PM
  4. [SOLVED] Display numbers in a userform txtfield as numbers with a comma
    By TimT in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-11-2005, 07:00 PM
  5. [SOLVED] Count comma separated numbers, numbers in a range with dash, not t
    By Mahendra in forum Excel General
    Replies: 0
    Last Post: 08-08-2005, 01:05 PM
  6. [SOLVED] Frustrated with cell formatting
    By RzB in forum Excel General
    Replies: 3
    Last Post: 06-08-2005, 12:05 PM
  7. comma align numbers
    By bacai in forum Excel General
    Replies: 3
    Last Post: 04-19-2005, 06: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