Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Accessing Sheet Number through Ilogic

AMN3161
Advocate

Accessing Sheet Number through Ilogic

AMN3161
Advocate
Advocate

I didn't think this property would be so difficult to access but how do I use this and just pull the active sheets number

AMN3161_0-1674142695442.png

 

I am making a numbering system where i want to use the Sheet Number as a part of the numbering but i cant find how to access it

 

Any help would be appreciated 

0 Likes
Reply
Accepted solutions (1)
339 Views
2 Replies
Replies (2)

Cadkunde.nl
Collaborator
Collaborator
Accepted solution
Dim oDoc As DrawingDocument = ThisDoc.Document

For i = 1 To oDoc.Sheets.Count
	If oDoc.Sheets.Item(i) Is oDoc.ActiveSheet Then
		MsgBox(i)
	End If
Next
0 Likes

AMN3161
Advocate
Advocate

Thought it would be easier to access, thank you!

0 Likes