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!
谢谢!
1 个解决方案
#1
0
My first thought would be to pre-process File 3 in VBA in Excel to concatenate the columns into a string. ie:
我的第一个想法是在Excel中预先处理VBA中的文件3以将列连接成一个字符串。即:
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
#1
0
My first thought would be to pre-process File 3 in VBA in Excel to concatenate the columns into a string. ie:
我的第一个想法是在Excel中预先处理VBA中的文件3以将列连接成一个字符串。即:
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