No sure why you would want to use those functions in this code, but if you look in the "VB" help you should get the information you require.
Regrds Mick