Results 1 to 3 of 3

Custom Format Add Ins or VBA Codes

This is a discussion on Custom Format Add Ins or VBA Codes within the Easy-XL Add-In forums, part of the MrExcel Products category; Hi Excellers! Could anyone please tell me the VBA codes for the following Custom Formats in Excel 2010: (1) ##\,##\,##\,##0.00;[ ...

  1. #1
    New Member
    Join Date
    Jun 2011
    Posts
    23

    Default Custom Format Add Ins or VBA Codes

    Hi Excellers!

    Could anyone please tell me the VBA codes for the following Custom Formats in Excel 2010:
    (1) ##\,##\,##\,##0.00;[<-999999](##\,##\,##0.00);##,##0.00

    (2) #,##0.00,,

    (3) #,##0.00,,,

    Thanks in advance

  2. #2
    Board Regular
    Join Date
    Aug 2009
    Posts
    72

    Default Re: Custom Format Add Ins or VBA Codes

    what are you trying to achieve?

    Code:
    Sub numFormat()
    
    Range("A1").NumberFormat = "##\,##\,##\,##0.00;[<-999999](##\,##\,##0.00);##,##0.00"
    Range("A2").NumberFormat = "#,##0.00"
    Range("A3").NumberFormat = "#,##0.00"
    End Sub

  3. #3
    New Member
    Join Date
    Jun 2011
    Posts
    23

    Default Re: Custom Format Add Ins or VBA Codes

    Dear Shahzadt,

    Thanks.

    I frequently need to summarize financial data as per clients' requirements hence my questions.

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


DMCA.com