Тёмный

Wise Owl Answers - How do I import tab delimited files with ActiveX Data Objects? 

WiseOwlTutorials
Подписаться 208 тыс.
Просмотров 1,9 тыс.
50% 1

By Andrew Gould
Download files here www.wiseowl.co.uk/vba-macros/...
If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can join this channel to get access to perks:
/ @wiseowltutorials
Or you can click this link www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching!
Connection string www.connectionstrings.com/tex...
Schema.ini documentation docs.microsoft.com/en-us/sql/...
This video shows you how to use a schema.ini file to control the import of text files using Active Data Objects in Excel VBA. You'll learn how to use the schema file to change the delimiter from commas to tabs, how to specify column names and data types and how to control the detection of date formats.
Chapters
00:00 The Question
01:30 Connecting to a Folder
03:46 Selecting from a CSV File
05:04 Copying a Recordset to a Worksheet
07:12 Connecting to a Tab Delimited File
08:38 Changing the Delimiter with a Schema File
10:40 Controlling Multiple Files with One Schema File
12:53 Indicating the Presence of Column Headers
13:32 Creating Column Headers in the Schema File
15:15 Specifying a Default Date Format
Visit www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Power BI, DAX, VBA, Python, Visual C#, Microsoft SQL Server, SQL Server Reporting Services SSRS, SQL Server Integration Services SSIS, Microsoft Access and more!

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@janezklun
@janezklun 10 месяцев назад
Hi Andrew, the best vba there is on YT, thank you for nice explanation of complex topic.
@WiseOwlTutorials
@WiseOwlTutorials 10 месяцев назад
You're very welcome Janez, thanks as always for watching and for commenting!
@imranbhatti8580
@imranbhatti8580 10 месяцев назад
As expected, really informative content once again.
@WiseOwlTutorials
@WiseOwlTutorials 10 месяцев назад
Thanks for watching!
@idogus
@idogus 2 года назад
The information you provide is very valuable.
@WiseOwlTutorials
@WiseOwlTutorials 2 года назад
Thanks Ibrahim!
@Scooter7788
@Scooter7788 10 месяцев назад
Thanks Andrew, your videos are so beautiful
@WiseOwlTutorials
@WiseOwlTutorials 10 месяцев назад
Ahh thanks! Happy to hear you like them, thanks so much for watching!
@tejamarneni
@tejamarneni 10 месяцев назад
Thank you Andrew for an amazing video. Hope to see more videos from you.
@WiseOwlTutorials
@WiseOwlTutorials 10 месяцев назад
You're very welcome, thanks as always for watching!
@shawn0902
@shawn0902 10 месяцев назад
Thanks Andrew👍
@WiseOwlTutorials
@WiseOwlTutorials 10 месяцев назад
You're welcome! Thanks for watching!
@krn14242
@krn14242 10 месяцев назад
Thanks Andrew..
@WiseOwlTutorials
@WiseOwlTutorials 10 месяцев назад
You're welcome Kevin, thanks for watching!
@big1975E
@big1975E 10 месяцев назад
Great video! How would the code change if your file was saved to One Drive and the workbook path was an https address?
@online7198
@online7198 5 месяцев назад
Hello Sir, I am very happy to follow your videos, and I would like to ask you a question: How do I access the data source on a site that have searching box using VBA Selenium?
@dilipdelwash3192
@dilipdelwash3192 10 месяцев назад
Hello sir, I am getting this Error, Please Tell me how to solve this error "[MicroSoft][ODBC Drive Manager] Data soure name not found and no default driver specified" Thanks.............
@Matt-zp9jg
@Matt-zp9jg 4 дня назад
Hey not sure if you found your solution, but I had the same issue. The problem is the connection string you are using. If you have a 64 bit, you have to use connection string "Driver=Microsoft Access Text (*.txt,*.csv);Dbq=c:\txt\; Extentions=asc,csv,tab,txt;". Hope this helps having the same issue.
@ousmanetall1286
@ousmanetall1286 2 месяца назад
Can we add criteria in sql with this type of files?
@WiseOwlTutorials
@WiseOwlTutorials 2 месяца назад
Hi! Yes, you can add a WHERE clause to the SELECT statement which you use to set the Source of the Recordset object.
@prasathv6258
@prasathv6258 10 месяцев назад
Please upload power query tutorials...
Далее
Schoolboy - Часть 2
00:12
Просмотров 4,3 млн
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
How to use ADO and VBA to Read from a Database
10:31
Просмотров 42 тыс.
LINKING DATA FROM EXCEL TO WORD || EXCEL
4:13
Просмотров 22 тыс.
10 Steps to Optimize Your Data Model in Power BI
13:41
Introducing Python in Excel
19:01
Просмотров 1,5 млн