Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Remove All the Formatting from an Excel SpreadsheetContent of Remove All the Formatting from an Excel Spreadsheet.vbsMD5 Hash: 117B7417D1446E919FD3EC0F7B456ED6 |
||
Const xlHAlignCenter = -4108
Set objExcel = CreateObject("Excel.Application") objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Add() Set objWorksheet = objWorkbook.Worksheets(1) For i = 1 to 14 objExcel.Cells(i, 1).Value = i objExcel.Cells(i, 2).Interior.ColorIndex = i Next Set objRange = objWorksheet.UsedRange objRange.HorizontalAlignment = xlHAlignCenter objRange.Font.Bold = True Wscript.Sleep 5000 objRange.ClearFormats | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |