SHOPPING CART
SHOPPING CART

Connecting Microsoft Excel to SOLIDWORKS Enterprise PDM

Table of Contents

Connecting Excel to EPDM!

Take the confusion out of who checked out what, when and where for example!

Just follow these simple steps:

1.      Open excel and start a new document and highlight cell to establish location of table data.

2.      Click on data 

Excel ribbon Data tab highlighted before connecting to SOLIDWORKS Enterprise PDM
Opening the Data tab in Excel is the first step to connect to the EPDM SQL database.

3.      Click on from SQL server

Excel From Other Sources menu with From SQL Server highlighted
From SQL Server under From Other Sources starts the connection to the EPDM database.

4.      Specify your SQL server instance and login info.

Excel Data Connection Wizard Connect to Database Server dialog with login fields
Entering the SQL server name and login credentials connects Excel to the EPDM database server.

5.      Select your database and tables you would like to obtain data from!  In this example I will be selecting the “Documents” table and the “Users” table.

Excel Data Connection Wizard Select Database and Table dialog with Documents checked
Checking the Documents and Users tables selects the EPDM data Excel will import.

6.      Fill in the next dialog

Excel Data Connection Wizard Save Data Connection File and Finish dialog
Saving the data connection file, named and described here, finishes the SQL setup step.

7.      Hit finish on the previous dialog then choose properties

Excel Import Data dialog set to Table with New worksheet selected
Importing the data as a table pulls in fields like username and the computer a file is checked out on.

8.      Change the definition to the following and add your SQL query

Select Username, FullName as‘Full Name’, LockDomain as‘Computer the file is checked out on’,

LockDate as‘Date file was checked out’, LockPath as‘Path to file’, Documents.Filenameas‘File Name’

From Documents, Users

Where LockDomain <>‘Null’and LockDomain <>”And Documents.UserID = users.UserID

Order By Username

Excel Connection Properties dialog showing the SQL command text for the EPDM query
The connection’s command text holds the SQL query, which Microsoft SQL Management Studio can help refine.

Note:  Use Microsoft SQL Management Studio to help you develop your own queries.

9.      Click OK on previous dialog and click yes to the following dialog

excelToEPDM8

10.      Make sure cell A1 is selected and click ok to the following dialog

Excel Import Data dialog with the Table option highlighted again
Confirming cell A1 and clicking OK imports all the query results into the worksheet.

11.      All the data is imported in the Excel sheet to be reviewed.  Use the filters to sift through the data or you can build your own Excel formulas against the data.

Excel column filter dropdown for the Date file was checked out fieldColumn filters let you sort and narrow the imported check-out data by date.Excel Full Name column filter dropdown listing EPDM user namesThe Full Name filter narrows the imported EPDM data down to a single user.

Excel worksheet listing usernames, computers and file check-out dates from EPDM
The finished spreadsheet lists usernames, computers and check-out dates pulled live from EPDM.
 

Learn more about SOLIDWORKS EPDM

Picture of Andy Rammer

Andy Rammer



Get a Price Match

Thank you for submitting your quote! A confirmation email is on its way. Please check your spam folder if you do not receive it.

While you are waiting, check out our Resource Center or read our Blog!

Success

Register Now

Thank you for registering! A confirmation email is on its way. Please check your spam folder if you did not receive one. See you soon!

While you are waiting, check out our Resource Center or read our Blog!

success

Register Now

Thank you for registering! A confirmation email is on its way. Please check your spam folder if you did not receive one. See you soon!

While you are waiting, check out our Resource Center or read our Blog!

success

Register Now

Thank you for registering! A confirmation email is on its way. Please check your spam folder if you did not receive one. See you soon!

While you are waiting, check out our Resource Center or read our Blog!

success

Get Your Download Today!

Thank you for your download! We've sent your download to the email address you provided. Please check your spam or junk folder if you don't receive it. It may take a few minutes to arrive.

success