动态链接到CSV文件 [英] Dynamic Link to CSV file

查看:73
本文介绍了动态链接到CSV文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好,


i希望能够定期链接到CSV文件,以便我可以提取一些数据,我想我想建立一个链接,查询数据然后删除链接一旦完成,我将如何从VB执行此操作?


a直接查询是否可以进行冲突?


关于初始代码的任何想法?


Dan

Good morn all,

i want to be able to link periodically to a CSV file so that i can extract some data, i imagine that i want to establish a link, query the data and then delete the link once completed, how would i do this from VB?

a direct query would surfice if that can be done?

any ideas on the initial code?

Dan

推荐答案

我找不到如何链接表格VBA(不幸的是)。我得到的最接近的是:
I can''t find how to link a table from VBA (unfortunately). The closest I got was :
展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号


生病只是添加CSV文件将有一个标题行..如果这样做任何差异
ill just add that the CSV file will have a header row.. if that makes any difference


@ Dan2kx


只有我们能找到一种方法来调用LinkTable流程。然后它可以;)
@Dan2kx
Only if we can find a way to invoke the LinkTable process. Then it may ;)


这篇关于动态链接到CSV文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆