列印設定中,如果列印要水平置中 怎做?
ActiveSheet.PageSetup 列印設定的屬性是用 CenterHorizontally
水平置中:
ActiveSheet.PageSetup.CenterHorizontally = True
水平與垂直置中:
With ActiveSheet.PageSetup
.CenterHorizontally = True
.CenterVertically = True
End With
喜歡攝影的我,喜歡到處拍拍照,吃點當地的特色食物。 跟朋友聊天之餘,推薦我寫成網誌跟大家分享。 沒外出的日子,喜歡在家當隱性宅,寫程式看看書,追劇。 希望我的手札文,不會讓你翻桌 XD
列印設定中,如果列印要水平置中 怎做?
ActiveSheet.PageSetup 列印設定的屬性是用 CenterHorizontally
水平置中:
ActiveSheet.PageSetup.CenterHorizontally = True
水平與垂直置中:
With ActiveSheet.PageSetup
.CenterHorizontally = True
.CenterVertically = True
End With
MIN: AVERAGE:
沒有留言:
張貼留言