How do i execute a public funtion at runtime?

VB Code:
  1. Public Function FG_SaveAsExcel(FG As MSFlexGrid, sFileName As String, Optional sHeader As String = "", Optional sFooter As String = "")

Thats the function I want to run.