Home Excel Powerpoint Word Outlook Error Codes

VBA Useful Codes

Welcome to the World of VBA
Home > VBAUsefulCodes

Number Format


Format Columns or Ranges with specified Number Format like General, Date etc..

Thisworkbook.Sheets("SHEETNAME").Range("A:A").NumberFormat = "m/d/yyyy"     ' Date Format

Thisworkbook.Sheets("SHEETNAME").Range("A:A").NumberFormat = "0"    ' General 

Subscribe

Enter your e-mail below and get notified on the latest blog posts.




Tags

VBA Outlook KPI Excel Alt+F11 Dashboards Macros Recording Graphs Automation Developer WaterFall Powerpoint Charts Pivot Tables Forecast Charts


Follow Us