vba customising number format

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VBA: customising number format

VBA: customising number format

resolvedResolved · Low Priority · Version 2003

Richard has attended:
Excel VBA Intro Intermediate course

VBA: customising number format

Hi Carlos,

Thanks for a great course.

Can you automate/write a macro to effectively produce a customised format for a number, for example, putting brakets around negative numbers?

Is it simply a case of recording the action and reviewing the results?

Thanks,

Richard

RE: VBA: customising number format

Hi Richard

The simple answer is Yes.

If you record yourself setting the number format by either using the standard or the customised formats then all you need to do is adapt that code into your procedure.

Hope this helps

Carlos

Fri 1 May 2009: Automatically marked as resolved.

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Switching Between Spreadsheets

As the Alt+Tab key switches between loaded applications or files, Ctrl+Tab switches between loaded or open Excel files. Hold down the Ctrl key until you have tabbed to the correct spreadsheet.

View all Excel hints and tips


Server loaded in 0.08 secs.