摘要: import win32com.client xl =win32com.client.Dispatch("Excel.Application") #实例化Excel应用程序 wb =xl.Workbooks.Open(r'C:\Users\Desktop\test1.xlsm') xl.Applic 阅读全文
posted @ 2023-05-15 17:36 有翅膀的大象 阅读(33) 评论(0) 推荐(0) 编辑
摘要: using Microsoft.Vbe.Interop; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; 阅读全文
posted @ 2023-05-15 17:24 有翅膀的大象 阅读(19) 评论(0) 推荐(0) 编辑
摘要: pip install xlwings xlwings addin install xlwings Documentation 创建项目: 命令:xlwings quickstart ProjectName 测试语句: import xlwings as xw import pandas as pd 阅读全文
posted @ 2023-05-15 16:17 有翅膀的大象 阅读(68) 评论(0) 推荐(0) 编辑