To retrieve data from "General" tab in iPproperties dialog box

To retrieve data from "General" tab in iPproperties dialog box

RoyWickrama_RWEI
Advisor Advisor
262 Views
1 Reply
Message 1 of 2

To retrieve data from "General" tab in iPproperties dialog box

RoyWickrama_RWEI
Advisor
Advisor

I came across with a situation where I need to extract some data from the general tab: I however do never know this! Could someone help me please.

to Post.png

 

 

0 Likes
Accepted solutions (1)
263 Views
1 Reply
Reply (1)
Message 2 of 2

Nsteel
Contributor
Contributor
Accepted solution

This code will get the file name of the active file and give it to you in a message box

Dim oFname As String 'File Name
oFname = ThisDoc.FileName(False) 'Gets the file name of the active file without extension
MessageBox.Show(oFname, "File Name")

And if you want to include the file extension (.ipt .iam etc etc) just change the False to True