Hi,

I am using office 2007 & have recorded Macro with relative reference for
formatting number in Personal Macro workbook as below :

Sub numberformat()
'
' numberformat Macro
' numer comma format
'
' Keyboard Shortcut: Ctrl+q
'
    Selection.numberformat = "#,##0_);(#,##0)"
End Sub

Sometimes it works but sometimes it gives error like "Microsoft Office Excel
has encountered a problem anmd needs to close. We are sorry for the
inconvenience." excel gets shut down & at restarting excel i get the error
as below :

"Excel experienced serious problem with "......\personal.xlsb" add-in. If
you have seen this message multiple times, you should disable this add-in
and check to see if an update is available. Do you want to disable this
add-in ?"  "Yes / No"

If I select "No" this problem occurs again.

Is this macro so difficult that it gives "Serious problem " to excel ? or
have I included some wrong characters in this ? How can it give problem only
sometimes and not all the time I start excel ?

Need your help.

Regards,

Milind

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 7000 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe

Reply via email to