M
Michael Morisoli
Hello, I am new to Office vba but I would like to do the following. I am a
seasoned VB6 and .NET programmer, so coding is not new to me, just vba and
Office automation.
I would like to created a document template that automatically sets the name
of a new document to a formatted unique number. For example: the user
chooses new document and an onOpen event fires where my code goes out and
issues a SQL query to obtain the next higher number for that document
library. Then my code renames to file to "QA Document 00823.Doc" and saves
it.
Does this sound possible?
This is running under SharePoint Portal Server 2003 from a document library.
I would handle this in SPS, but its document handling events does not
provide any events to hook into until you save the document.
Thanks for any help, Mike
seasoned VB6 and .NET programmer, so coding is not new to me, just vba and
Office automation.
I would like to created a document template that automatically sets the name
of a new document to a formatted unique number. For example: the user
chooses new document and an onOpen event fires where my code goes out and
issues a SQL query to obtain the next higher number for that document
library. Then my code renames to file to "QA Document 00823.Doc" and saves
it.
Does this sound possible?
This is running under SharePoint Portal Server 2003 from a document library.
I would handle this in SPS, but its document handling events does not
provide any events to hook into until you save the document.
Thanks for any help, Mike