VBA

[ リスト ]

Row Column

いつもどっちがどっちだかわかんなくなりますっ


イメージ 1



wb1sh2.Rows(1).RowHeight = 12.75  '9.75
wb1sh2.Columns("G";).ColumnWidth = 16.38


'印刷範囲設定
wb1sh2.Activate
Count2 = wb1sh2.Range("G65536";).End(xlUp).Row
myStrg = "$G$" & "1" & ":$G$" & Count2
ActiveSheet.PageSetup.PrintArea = myStrg


  '印刷余白設定
With wb1sh2.PageSetup
.LeftMargin = Application.InchesToPoints(0)
.RightMargin = Application.InchesToPoints(0)
.TopMargin = Application.InchesToPoints(0)
.BottomMargin = Application.InchesToPoints(0)
.HeaderMargin = Application.InchesToPoints(0)
.FooterMargin = Application.InchesToPoints(0)
End With

よしもとブログランキング

もっと見る

[PR]お得情報

話題の新商品が今だけもらえる!
ジュレームアミノ シュープリーム
プレゼントキャンペーン
ふるさと納税サイト『さとふる』
実質2000円で特産品がお手元に
11/30までキャンペーン実施中!

その他のキャンペーン


プライバシー -  利用規約 -  メディアステートメント -  ガイドライン -  順守事項 -  ご意見・ご要望 -  ヘルプ・お問い合わせ

Copyright (C) 2019 Yahoo Japan Corporation. All Rights Reserved.

みんなの更新記事