Jump to content

Get file name by dialog


RepCad

Recommended Posts

Hi every one, I always use the path file name in vba autocad to get excel or dwg address , like this :

pth = "C:\Users\Windows\Desktop\Search\data.xlsx"

 

Is it possible to get the path name of file and select via file dialog box ?? (not open file or edit, only get path name of any file)

 

Thanks in advanced.

Edited by amir0914
Link to comment
Share on other sites

Whilst this is Vlisp there should be the same function in VBA there are multiple file options like directory or dwg name only.

Also (getvar 'dwgname )  (getvar 'dwgprefix)

 

image.png.22915e1090154a0966b0c9d5d28b978c.png

Edited by BIGAL
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...