Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Set the Print Area in an Excel SpreadsheetContent of Set the Print Area in an Excel Spreadsheet.vbsMD5 Hash: DC9ABD560DFB00834430AAF20D427878 |
||
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Add() Set objWorksheet = objWorkbook.Worksheets(1) For x = 1 to 10 For y = 1 to 10 objExcel.Cells(x, y).Value = x + y Next Next objWorksheet.PageSetup.PrintArea = "B2:D4" | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |