uipath 学习总结
- excel的一些基本操作 官方文档:https://docs.uipath.com/activities/docs/app-integration-excel
-
读
- 单元格 read cell 空间
- 全部或部分数据 read range for each row 常用作数据处理
- 部分数据 read row,read column数据结果类型是一样的,可以用for each 空间来得到每一个数据
- 单元格 read cell 空间
-
写
- 从datatable类型写入excel文件 write range ,append range和read range 的使用类似
- 写入单个数据 write cell 与read cell 使用类似
-
数据处理的常用控件
- 获取当前excel的所有标签名 get workbook sheets
- 拷贝sheet页
创建视图
选择部分数据 具体怎么用目前不知道哈
查找对应列数字转换为字母
-
switch 的使用
获取当前文件所在的路径:Environment.CurrentDirectory
关于双引号 ‘“ccc=”""""+“user”+"""" ’-----》ccc = “user”
关于文件是否存在:
String.Format(“Report-{0:yyyyMMddHHmmss}.xlsx”, DateTime.Now)
获取文件下的所有xlsx 文件Directory.GetFiles(ReportsFolderPath, "*.xlsx")
string.Format("[SellerType]=’{0}’", word) ==== “[SellerType]=‘aa’”
字符串转化为数字的三种方法:
cint("1")
convert.Toint("1")
Integer.Parse("1")