【发布时间】:2018-03-25 14:42:23
【问题描述】:
告诉我如何解决这个问题?对不起我的英语不好。我来自乌克兰。 有一个 CSV 格式的文本文件,以 unix 格式的字符串结尾。
List of fields:
1) ID;
2) Surname;
3) First name;
4) Middle name;
5) Date of birth;
6) Type and number of the document proving the identity;
7) Address of residence;
8) Registration address.
There are no tabs inside the field, but there is an unshielded newline character `("\ n")`.
第一个字段 (ID) 具有数字类型,并且保证不包含换行符。 如何在 vba 上编写将删除每个换行符的脚本 在田野里?
【问题讨论】:
-
您可以使用替换。寻找一个空行字符。见:stackoverflow.com/questions/8550240/…