I'm quite new to
VB and I am trying to create a program that requires a line of
VB code and a line of VBA code to do what it needs to do.
basically, I need to launch microsoft word, then run this VBA code:
Options.DefaultFilePath (wdWorkgroupTemplatesPath) = "\\server\share\workgrouptemplates"
the trouble is, it isn't recognizing the syntax for the vba stuff. I was wondering if I need to preface that code with some kind of switch or introduction that tells
vb we're speaking in VBA now.
thanks!!!!