[英]How to export rows and columns to (CSV file 2) from a downloadable CSV hyperlink in (CSV file 1)
3 csv files. 3个CSV文件。
File 1: 文件1:
File 2: 档案2:
File 3(the file that can be downloaded by clicking on the link in File 1): 文件3(可通过单击文件1中的链接下载该文件):
My question is how do I formulate the excel so that it auto grabs the rows and columns in File 3 which can be downloaded with the link in File 1 and export the rows and columns in one line in a single cell in File 2. 我的问题是如何制定Excel,以便它自动获取文件3中的行和列,可以使用文件1中的链接下载该文件,并在文件2中的单个单元格中一行导出行和列。
Thanks! 谢谢!
My first thought would be to pre-process File 3 in VBA in Excel to concatenate the columns into a string. 我的第一个想法是在Excel中的VBA中对文件3进行预处理,以将列连接成字符串。 ie:
即:
temp_row = 2
temp_string = ""
while range("A" & temp_row) <> ""
temp_string = temp_string & concatenate(Range("A" & temp_row), Range("B" & temp_row), Range("C" & temp_row))
temp_row = temp_row + 1
wend
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.