Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pacmanUK

    How do roundDown in VB

    Apologies, When sending the response I read the text in the question rather than the title... vbakan - try application.worksheetfunction.rounddown(myval1,0)
  2. pacmanUK

    How do roundDown in VB

    Try something like this, the key part is WorksheetFunction, its 'calling' the standard Round function. Dim myVal1 As Long Dim myval2 As Integer myVal1 = 23.5555 myval2 = Application.WorksheetFunction.Round(myVal1, 0) MsgBox myval2 Cheers

Part and Inventory Search

Back
Top