Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-2020, 01:04 AM
ArviLaanemets ArviLaanemets is offline How do you import data from another spread sheet? Windows 8 How do you import data from another spread sheet? Office 2016
Expert
 
Join Date: May 2017
Posts: 960
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

You can use a simple ODBC Query instead Power Query.

1. In source workbook, data to import must be organized as table (i.e. it must have a single header row with unique headers for every column in table range, and there must not be any gaps in table range). NB! I'm speaking about simple table here, not about Defined Table!
2. You define the table in source workbook as static Named Range (like $A$1:$Z$1000). In case there will be added new entries in future, you may define Named Range with surplus of empty rows at bottom.


3. In your target workbook, on separate sheet you create an ODBC query (Data > From Other Sources > From Microsoft Query > Excel Files) with Named Range in source workbook as data source. Set the query to be refreshed on open. You'll get a current copy of table in source workbook anytime you open your working workbook.

There may be some issues - probably when you have 64-bit windows with 32-bit office. At least we have this setup, and I had to create Open Event for Excel apps, which use ODBC queries to get data from other Excel files. The event edits the Datasource and Querystring every time when file is opened (i.e. simply overwrites them). Without this the query returns an error.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
I am trying to remove the $- from the cells with no data on a large spread sheet gch777 Excel 3 07-05-2018 09:42 AM
How do you import data from another spread sheet? Data from a specific row in a spread sheet into a form JohnnySTI Excel Programming 13 01-24-2018 01:20 PM
How do you import data from another spread sheet? Simple Spread Sheet TThomas Excel 1 04-07-2016 09:01 PM
How do you import data from another spread sheet? Using combobox to pass data from an Excel spread sheet to text boxes on userform Stewie840 Word VBA 14 12-17-2015 10:13 PM
Condensing a spread sheet hawkeyefxr Excel 4 08-22-2012 05:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft