WP Table Manager: Excel, Google Sheets and OneDrive Sync

1. Import Excel files

At any tables, you can import an excel file from your PC.  First, you should go to Menu Import & Sync > Excel button, then click on Import Excel button to pick an excel file in your PC to import.

 

import-excel-pc

 

Before import the file, you can select an option to import Data only or Data + styles.

 

import-excel-option

 

The tables can be imported from excel or open office documents. The format will be detected automatically and imported. Note that only the first Excel page will be imported.

 

2. Sync a table with an Excel file data

It is possible to run a synchronization between a table you've created and an Excel file located on your server (anywhere). After creating a new table or going to an existing table. Navigate to the Menu Import & Sync > Excel button, then a popup window will appear.

 

import-Excel

 

If you click on the Browse button, you'll be able to select an Excel anywhere on your server, here it's a file uploaded through the media manager (/uploads folder).

 

link-excel-file-table

 

Once your Excel file is linked to the table, you can hit the Fetch data button to import data from the Excel file.

 

fetch-excel-data

 

There are some options you can choose such as: Auto Sync or Fetch Style before clicking on Fetch data button.

Then here is the result of a data import.

 

sync-sheet

 

3. Synchronization with Google Sheets

WP Table Manager also offers some Google Sheets synchronization possibilities. Your Google sheet has to be published to be synchronized. So first, open your sheet from Google Drive and publish it as web page using the File menu.

 

publish-web-google-sheets

 

Then you'll get access to the Google Sheets file link, copy this link.

 

link-sheet

 

After that, back to the plugin and navigate to Menu Import & Sync, click on Google Sheets button. Then paste the URL into Spreadsheet link field and click on Fetch data button.

 

link-to-sheet

 

You're done! You can now fetch data for an instant synchronization and run an automatic synchronization too. The fetch style option is in case you also want to get Google Sheets spreadsheets styles.

In order to work smoothly in any case, please select option Anyone with the link while sharing the sheet. And you can also use this link to fetch data.

 

share-anyone-sheet

 

4. Automatic Excel and Google Sheets sync

Above the file link you can also activate an automatic synchronization. WP Table Manager will fetch the data automatically at a regular interval.

Once it's activated a notification is displayed after the table title.

 

google-sheet-sync-notice

 

Note that only the first sheet page will be imported only.

The synchronization delay can be set in the WP Table Manager > Main settings.

 

sync-period

 

Note: When you import excel files or sync data from Google sheet, the link will be valid if you use the function: =HYPERLINK()
E.g:  =HYPERLINK("https://joomunited.com", "Joomunited")

 

5. Real-time synchronization with Google Sheet

This option will help users update their data from Google Sheet without any time delay. Prerequisite, you have synced with Google sheet, please go to section 3. Synchronization with Google Sheets or find how to do it in the video below.

 

enable-push-sync-option

 

Then you can follow the main steps:

  1. Copy the code at menu Import & Sync > Google Sheets
  2. Go to the synced sheet, navigate to Tools > Script editor
  3. Paste the code then save the project
  4. Navigate to Edit > Current project's triggers or click on the icon on the toolbar
  5. Add Trigger, select event type: On change

 

Please watch the video for the detailed steps:

 

Note: If you enable "Push synchronization" option, you should disable "Auto Sync" table because it could cause the error while both options are enabled.

 

6. Synchronization with Office 365 Excel - OneDrive

WP Table Manager also offers Office 365 Excel (OneDrive) synchronization possibilities. Your excel file on OneDrive has to be published to be synchronized.

Personal account

So first, open your excel file on OneDrive and navigate to menu File > Share > Embed.

 

copy-embed-code-onedrive

 

At Embed popup, move to Embed code section and copy all text on the field. Or you can copy only the link in src, e.g: https://onedrive.live.com/embed?resid=11F0E77AF17D7441%213580&authkey=

On the other way, at the OneDrive dashboard, right-click on the excel file, select Embed. You can also have the embed code.

 

copy-embed-code-onedrive-2

 

Business account

First, open your excel file on OneDrive Business and navigate to menu File > Share > Share with People.

 

link-onedrive-365-business

 

At Send link popup, click on Copy link button. Then the link is copied, e.g: https://joomunited-my.sharepoint.com/:x:/g/personal/joomunited_com/ETcoorIno75ElJJaVVs5g1UB8Yq9DYEo8uKPQBBint84gA?e=riQdcz

On the other way, at the OneDrive Business dashboard, right-click on the excel file, select Copy link button. 

 

copy-link

 

After that, back to the plugin and navigate to Menu Import & Sync > OneDrive Excel button. Then paste the code into OneDrive link field and click on Fetch data button.

 

link-onedrive-365

 

You're done! You can now fetch data for an instant synchronization and run an automatic synchronization too. The fetch style option is in case you also want to get OneDrive excel styles.