Sheetset question

Sheetset question

Anonymous
Not applicable
344 Views
2 Replies
Message 1 of 3

Sheetset question

Anonymous
Not applicable
Hi,

Why won't work the code below in Ac2k7, witch worked in Ac2k6 ?

Dim ssm As New AcSmSheetSetMgr


Set ssm = CreateObject("AcSmComponents.AcSmSheetSetMgr")


and there is no ssm created

What going wrong

Must I use getinterfaseobject?

Thanks in advance

Harrie Message was edited by: zeha
0 Likes
345 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Set ssm = CreateObject("AcSmComponents.AcSmSheetSetMgr.17")
0 Likes
Message 3 of 3

Anonymous
Not applicable
Hi,

Thx for reply.

Nope. That was not the solution.

When i use the example "C:\Program Files\\Sample\ActiveX\SheetSetVBA\SheetSetVBA.dvb"

with the code
Sub Example_SSListAll()

Dim sheetset As New sheetset
' Get the sheet set manager
Dim ssMgr As New AcSmSheetSetMgr
Dim dbIter As IAcSmEnumDatabase
Dim db As IAcSmDatabase

Set dbIter = ssMgr.GetDatabaseEnumerator
then i get a automition error after the set.

I am not sure but maybe it's a unproperly installed AC2K7

I have tryed a ReInstall but that was not the clue.

Witch files where used for the Sheetset?

Regards

Harrie
0 Likes