Showing results for Microsoft Excel - Scripting Blog [archived]

Feb 15, 2006
Post comments count0
Post likes count0

How Can I Determine the Last Row in an Excel Spreadsheet?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine the last row in an Excel spreadsheet? I can’t append data to the file unless I know which row to start with.-- TGW Hey, TGW. You know, this is the kind of thing that separates the Scripting Guys from the rest of the world. Most people would do the same thing you’re doing: looking at their spreadsheet and t...

Scripting Guy!VBScriptOffice
Feb 2, 2006
Post comments count0
Post likes count0

How Can I Remove All the Formatting from an Excel Spreadsheet?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I remove all the formatting from an Excel spreadsheet?-- MT Hey, MT. You know, several years ago one of the Scripting Guys and his family went to the Blizzard Beach water park in Orlando. While there this Scripting Guy went down the Summit Plummet, reputed at the time to be the highest and fastest water slide in the w...

Scripting Guy!VBScriptOffice
Dec 21, 2005
Post comments count0
Post likes count0

How Can I Change the Footer in an Excel Spreadsheet?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I change the footer in an Excel spreadsheet?-- JA Hey, JA. Ah, a trick question, huh? As it turns out, there’s no such thing as the footer in Excel; instead, Excel has three different footers: the left footer, the center footer, and the right footer. And here’s a script that can change all three of them:Set objExcel =...

Scripting Guy!VBScriptOffice
Dec 15, 2005
Post comments count0
Post likes count0

How Can I Add Additional Worksheets to an Excel Workbook?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I add additional worksheets to an Excel workbook? By default you get 3 worksheets, but I have a scenario in which I need a workbook that has 12 worksheets.-- AA Hey, AA. You know, a couple years ago one the Scripting Guys helped put together an Excel spreadsheet for one of the local youth baseball leagues. Because the...

Scripting Guy!VBScriptOffice
Nov 22, 2005
Post comments count0
Post likes count0

How Can I Sort Worksheets in a Workbook?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I sort worksheets in a workbook?-- FS Hey, FS. How can you sort worksheets in a workbook? Well, to tell you the truth, not as easily as we had hoped you could sort worksheets in a workbook. This doesn’t mean it can’t be done; it just means that the process is a tiny bit convoluted. Because of that, don’t feel bad if y...

Scripting Guy!VBScriptOffice