Showing tag results for VBScript

Mar 13, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Sort a Spreadsheet By Cell Color?

ScriptingGuy1

Hey, Scripting Guy! We have an Excel spreadsheet in which we use different colors as a way to track status information. That works out really good for us, except for one thing: sometimes we’d like to sort the spreadsheet by color. As near as I can tell, however, Excel doesn’t let you sort a worksheet by color. Could a script help me out here?-- G...

Scripting Guy!VBScriptOffice
Mar 11, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Return a List of All the Folders Whose Name Starts With a Specified String Value?

ScriptingGuy1

Hey, Scripting Guy! How can I find all the folders that start with a specific string? For example, given the string 123 the script would find folders 123000 through 123999.-- MD Hey, MD. Here in the US we’re still busy trying to figure out who’s going to run for President. (Figure out who will actually be President? We’re still several months aw...

Scripting Guy!VBScriptstorage
Mar 8, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Get an HTA to Remember Its Previous Position Onscreen?

ScriptingGuy1

Hey, Scripting Guy! Is there any way to get an HTA to remember its previous position onscreen? Some of my users are very particular about moving an HTA to a specific spot on the screen, then wanting it to reappear at that same spot the next time they run the application.-- DF Hey, DF. You know, in the past few weeks there has been a spate of al...

Scripting Guy!scripting techniquesVBScript
Mar 6, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Write a Message to All the Empty Files in a Folder?

ScriptingGuy1

Hey, Scripting Guy! I need to search a certain directory for files with a size of 0 KB, then replace the non-existent text in those files with an error message like this one: "File did not save correctly." I have been searching for the answer myself and can't seem to grasp it. Can you help me on this one?-- CE Hey, CE. Have you ever heard the ex...

Scripting Guy!scripting techniquesVBScript
Mar 5, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Verify That a User Entered a Valid Drive Letter?

ScriptingGuy1

Hey, Scripting Guy! How can I make sure that data entered into an InputBox has the form X:, where X is any alphabetic character? That’s important, because I need to use this string to map logical drives in a script. The script should validate any string such as D:, E:, or F: but flag as incorrect any string such as 9:, !:, 22: etc. I have had lim...

Scripting Guy!scripting techniquesVBScript