Yes, you can automate Grapher with VB. This article contains a sample script for doing so. Please note that we only support automation of Surfer through Scripter, and we are unable to provide assistance in VB or any other programming language.
To run this script, download and run this EXE file: vbproject.exe.
Updated December 21, 2017