Question: what is pi in vba?
Answer: Calling the WorksheetFunction. Pi in VBA WorksheetFunction. Pi returns the number 3.14159265358979, the mathematical constant pi, accurate to 15 digits.