View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Joseph[_13_] Joseph[_13_] is offline
external usenet poster
 
Posts: 1
Default formatting for feet and inches

Hi Tim,

I found a way of doing it from a command button:

Private Sub CommandButton1_Click()
Dim feet, inches

feet = InputBox("Feet?")
inches = InputBox("Inches?")
Range("A1").Value = feet & "'" & " " & inches & "''"

End Sub

Hope that helps

--
Message posted from http://www.ExcelForum.com