我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How to export data from SQL database to Microsoft Office Excel and make it updated automatically?
Issue
A user would like to export data from SQL database to Microsoft Office Excel and wants that data to be updated/refreshed automatically.

Product Line
SQL Server Management Studio
PME v7.2 or PME v8.0

Environment
SQL Server Management Studio
Microsoft Office Excel

Cause
Data is needed to be exported from ION database into Microsoft Office Excel and that data tables in Excel needs to be updated automatically.

Resolution

1) Run Microsoft Office Excel and click on the "Data" tab from the menu bar.

2) From "Get External Data" options, click on "From Other Sources" and choose "From SQL server". A new pop up window "Data connection Wizard" will appear.

3) Type SQL server name, it should be something like "<your server name>\ION". and choose "Use Windows Authentication" as a log on credentials.
Note: Some Windows users may not have sufficient privileges to access ION database. In such case, change the "Use Windows Authentication" to "Use the following Username and Password" and enter the following SQL server authentication.
Username: Report
Password:  rep0rter! (NOTE: this password is valid for PME 7.2.x and PME8.0)
Click "Next".

4) Choose the database where your desired table is saved from the drop down menu and then choose the table you want from the list appears below the name of the database. Click "Next".


5) Optional: put a description for this data connection. and click "Finish".


6) Choose how the data is desired to be displayed. Regular table, PivotTable report, or PivotChart and PivotTable report.
Also, choose which worksheet you want the data to be displayed on.


Up to this point, a connection has been established between the Excel file and the database and data should be displayed on the worksheet. However, it is not updated automatically and the user must do the data refresh manually.

To refresh/update the data automatically. Follow the steps below:
1)  Click on "Data" from menu bar. From "Connections" options, click on "Refresh All" drop down menu and choose "Connection properties"


2) A new pop up window will appear, from the usage tab. make sure to check "Enable background refresh" and "refresh every x minutes" where x is the desired choice of how frequently you want the data to be updated.

3) Click OK.

The data on the Excel worksheet will start to be updated/refreshed automatically now.

施耐德電機Taiwan

探索更多
系列:
探索更多
系列:
  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings