M
Mark Schneider
Hi,
I am looking for a way to save a module my add-in generates/edits
programmatically.
Basically it's a indenting/documentation tool coded in VB6 for VBE. I am
able to edit modules (indenting, inserting documentation blocks) or generate
new ones but I desperately need a way to save these changes.
a. I don't want the user to be prompted when he closes VBE
b. I have to save in order for it to work for many modules. Can't keep
400 modules unsaved until users saves.
From Access VBA I can save a module using docmd:
DoCmd.Close acModule, mdl.Name, acSaveYes
But can I access docmd in any way from an add-in developed in VB6???
Or is there any other way without docmd to tell the VBE to save given
modules?
Please help, this is really important
Mark
I am looking for a way to save a module my add-in generates/edits
programmatically.
Basically it's a indenting/documentation tool coded in VB6 for VBE. I am
able to edit modules (indenting, inserting documentation blocks) or generate
new ones but I desperately need a way to save these changes.
a. I don't want the user to be prompted when he closes VBE
b. I have to save in order for it to work for many modules. Can't keep
400 modules unsaved until users saves.
From Access VBA I can save a module using docmd:
DoCmd.Close acModule, mdl.Name, acSaveYes
But can I access docmd in any way from an add-in developed in VB6???
Or is there any other way without docmd to tell the VBE to save given
modules?
Please help, this is really important
Mark