View Single Post
  #3   Report Post  
Sepeteus Jedermann Sepeteus Jedermann is offline
Junior Member
 
Posts: 18
Default

Quote:
Originally Posted by David of XL Plus View Post
Hi,

Best way to begin is to use the Macro Recorder.

Then edit that code as necessary.

David

Hi,

as David already told to you, use macro recorder.

The following code is made by macrorecorder

Sub NoDecimals()
Selection.NumberFormat = "0"
End Sub

***