Dim wn$, shp As Shape, arr
Application.ScreenUpdating = False
Application.DisplayAlerts = False
wn = [a1]
arr = Range(“o3:o” & Range(“o65536”).End(xlUp).Row)
Sheets(“报表”).Copy
With ActiveWorkbook
With .Sheets(1)
.Rows(“1:2”).Delete Shift:=xlUp
.Range(“D:D,P:P”).NumberFormatLocal = “@”
.[o1].Resize(UBound(arr)) = arr
With .UsedRange
.Value = https://www.taobao49.com/265030/.Value
End With
For Each shp In .Shapes
shp.Delete
Next
【Vba把Excel某个范围保存为XLS工作薄文件】End With
.SaveAs ThisWorkbook.Path & “” & wn & “.xls”, IIf(Application.Version <= 11, xlNormal, xlExcel8)
.Close
End With
Application.DisplayAlerts = True
Application.ScreenUpdating = True
MsgBox “ok”
推荐阅读
- 新家放什么植物寓意好 绿植用什么水浇好
- 马蹄怎么去皮小窍门
- 然后切换到插入选项卡
- 竹地板十大品牌 竹地板
- 怎么样的玄关屏风有利于风水 玄关屏风一般摆放在哪个位置
- 米其林轮胎价格表,米其林轮胎耐磨性好吗
- 结婚日子哪天好 结婚大吉日子
- 江苏丹阳找工作求职 丹阳人才市场
- 怎么算婚姻八字合不合 八字不合的夫妻