Old Forum Archivist Posted November 27, 2009 Posted November 27, 2009 Hi.I've made a script that outputs data to a spreadsheet. I would like the script to automaticcaly save the excel file in the same folder as the project. Is there anyway i can "extract" the path of the projectfolder? I can extract the path for the map, but I don't know how to get it for the project. Hope you can help.Thanks. Hans Peter Jensen--------Hi,you can get the path for the current workspace with the following line:CurrentWorkspace.AsIRveaPreservableObject.FilenameI hope this helps.cheers,Ray--------exactly what i needed. Thank you.--------
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now