I can no longer import an .xlsx file into Stata. Neither the .do file code that previously worked nor the menu-based import works.
I would like to know why this is happening. Saving the alliances sheet as a new workbook and importing that workbook works fine, but I want to know why this particular file cannot be imported, as saving as a new sheet complicates my workflow.
Code:
Error message using Stata 15 Import Excel menu:
Background:
I would like to know why this is happening. Saving the alliances sheet as a new workbook and importing that workbook works fine, but I want to know why this particular file cannot be imported, as saving as a new sheet complicates my workflow.
Code:
Code:
import excel "C:\Dropbox\data\alliances-natural-resources\DATA-natural-resource-alliances.xlsx", sheet("alliances") firstrow allstring clear
Background:
- Stata 15 I/C, upgraded from Stata 13 I/C about a month ago
- MS Office 365 ProPlus Version 1709 (Build 8528.2147 Click-to-Run)
- MS Excel 2016 32-bit
- Importing other .xlsx files works fine
- Saving the alliances sheet as a new workbook and importing that workbook works fine
Comment