Excel and MSProject automation

atab

New Member
Joined
Jun 6, 2012
Messages
15
Hello everyone! this is my first post and was reffered here by friends!

I am currently working on a project that requires me to export information from MS Project and copy it into excel.

The biggest problem im getting is that the files in MS project are located on a server protected with a password. Is there anyway to prompt the user for his/her username/password then open the appropriate file.

In order this is what I would like the macro to do(Keep in mind Im not sure all of this is actually possible)

1. have my Excel file open
2. run the macro --> it asks for username and password
3. opens MS project > enters the password into the fields
4. opens the selected project
5. copies the information from the MS project into the original excel document
6. close the MS project document

** if the password part is impossible that is fine but I recently found out how to do something similar with excel(no password) and was wondering if it would be possible with the added security.

Thank you so much in advance and i look forward to being a part of this community
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,214,827
Messages
6,121,821
Members
449,049
Latest member
cybersurfer5000

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top