Importing tab delimited xls file

llkhoutx

New Member
Joined
Sep 10, 2008
Messages
9
I using Microsoft Access (2013) and Excel (2013) Automation and VBA inside an Access module to open an Excel "xls" file which I was given. That xls file is evidently a report with tab delimiters which was someh0w converted to an xls file. Wehn the file is opened I get a cautionary message to which I must manually respond which I must avoid.

Using VBA in this mode and Open.Workbook PathandFile, sometimes to workbook opens and is visible on the screen, other times the workbook is hidden. It's repeatedly open, but never consistently is displayed.

Is there any code to avoid the cautionary message. Docmd.SetWarnings = False has no effect. The message still fires.

Is there VBA code which will "unhide" the hidden workbook.

Surely, someone has encountered this before.

I'll post the VBA code I use and the message tomorrow. Without, someone might have an answer.

Thank you in advance for your courtesies.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,221,418
Messages
6,159,791
Members
451,589
Latest member
Harold14

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top