VBa programming method for excitation source in CST