excel 常用全局变量

python通过win32com.client调用excel时
xlLeft 不能直接使用,要使用int值
 
 
sheet.Range("B11:E13").HorizontalAlignment = -4152
sheet.Range("B11:E13").VerticalAlignment = -4107

猜你喜欢

转载自www.cnblogs.com/baishahe/p/12108615.html