您现在的位置: 首页 > 微信营销 > 微信头像文章 > WPS会员功能免费用,会VBA就是爽!

WPS会员功能免费用,会VBA就是爽!

作者:   来源:  热度:997  时间:2021-01-18






? 30? ?????Excel



??????????????????????PDF????WPS?

? 30? ?????Excel



??????????????????????PDF????WPS????????


?????WPS???????????VBA???????????


????


????


1.?????????????PDF


Sub ???PDF()

strPath = ThisWorkbook.Path & "\"

For Each s In Sheets

s.ExportAsFixedFormat Type:=xlTypePDF, Filename:=strPath & s.Name & ".pdf", _

Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=False

Next

End Sub


2.??????????????PDF


???IF?????????????Excel????????????????????????????


Sub ???PDF1()

strPath = ThisWorkbook.Path & "\"

For Each s In Sheets

If s.Name <> "Excel???" Then

s.ExportAsFixedFormat Type:=xlTypePDF, Filename:=strPath & s.Name & ".pdf", _

Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=False

End If

Next

End Sub


???????VB??????????????????????


??????????????????????????


??????VBA???????????????????


??????VIP???????????????????+????????????888???????


????????chenxilu2021????????????


??????????????VBA??

??????????????Excel????????


??????????????


01 ????????????????????????????????????


02 ????????????????????????????????????????


??



???????????????Excel???? ??????????????????????Excel????ID?Excelbujiaban?

??????????

???Excel??????????????

登录

使用微信帐号或QQ直接登录,无需注册