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

Accessing Sheet Number through Ilogic

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 

Cadkunde.nl
in reply to: AMN3161

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
AMN3161
in reply to: Cadkunde.nl

Thought it would be easier to access, thank you!