+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Customize Suffix "CR" to be denote as negative (-)

  1. #1
    Registered User
    Join Date
    11-29-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    2

    Customize Suffix "CR" to be denote as negative (-)

    Hello Friends,
    I have spreadsheet contining number which are custamized some number are positive i.de with suffix "DR" & some are negative i.e "CR" but problem is i am not able to seperate negative number & positive numbers as this numbers are custamize & volume is so large that i can not do it manually by just putting negative sign for number with suffix "CR"

    Attached file for reference.

    Looking forward for solution

    Regards,
    Ramesh
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Customize Suffix "CR" to be denote as negative (-)

    Use this code in a blank module of your file -
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    11-29-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Customize Suffix "CR" to be denote as negative (-)

    Thanks for ur reply but how to use this code i mean where it is to be enter???

    Quote Originally Posted by arlu1201 View Post
    Use this code in a blank module of your file -
    Please Login or Register  to view this content.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Customize Suffix "CR" to be denote as negative (-)

    Don't quote whole posts -- it's just clutter.

    If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Customize Suffix "CR" to be denote as negative (-)

    Open your excel file, select Alt+F11. You will see a code window open on the right. On the left hand side, there will be Microsoft Excel Objects. Right click on it and insert -> module. Then copy the code i provided you into the module. Then go to excel and run the macro (View - Macros). Hope this helps.

+ 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