P
Peter
Hello everyone,
Because of this piece fo code:
...
Dim ModuleCount as Long (?)
ModuleCount = ThisWorkbook.VBProject.VBComponents.Count
Sheets.Add After:=Sheets(ModuleCount)
I get this error message:
"Programmactic access to Visual Basic Project is not trusted"
(What good is it then?)
Does anyone know how to circumvent this?
TIA
Peter
Because of this piece fo code:
...
Dim ModuleCount as Long (?)
ModuleCount = ThisWorkbook.VBProject.VBComponents.Count
Sheets.Add After:=Sheets(ModuleCount)
I get this error message:
"Programmactic access to Visual Basic Project is not trusted"
(What good is it then?)
Does anyone know how to circumvent this?
TIA
Peter