Hi Shu-Fai,
You can draw random numbers from [0,1] and use the TINV function to get the corresponding quantile from the Student distribution.
Hope this helps,
Pieter Wouters