Showing tag results for VBScript

May 7, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Modify a .CSV File and Then Import That File into Microsoft Excel?

ScriptingGuy1

Hey, Scripting Guy! I have a comma-separated values file that I need to import into Excel. However, before I do that I need to do some arithmetic and then add an additional field to the CSV file. On top of that, when I import this file I need to format this new field as a date-time value. How can I do that?-- R Hey, R. Well, by now most of you h...

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

Hey, Scripting Guy! How Can I Search for a Word in a Text File and Return the Entire Line Where That Word Was Found?

ScriptingGuy1

Hey, Scripting Guy! I have a scenario in which I need to read a list of names from a text file. I then need to search for each of those names in a second text file; if a name is found I need to extract the entire line in which that name appears. I’ve figured out how to search for a name in a text file, but I can’t figure out how to extract the en...

Scripting Guy!scripting techniquesVBScript
May 3, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Identify the 20 Most-Recently Modified Files in a Folder?

ScriptingGuy1

Hey, Scripting Guy! I Using VBScript, how can I identify the 20 most-recently modified files in a folder?-- TW Hey, TW. You know, the Scripting Guy who writes this column was just reading – thanks to the magic of Spam email – about a new voice mail service. With this service you don’t have to listen to all those annoying voice mails; instead, wh...

Scripting Guy!VBScriptstorage
May 1, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Change the Value and Color of a Spreadsheet Cell Based on the Sum of Other Cells in That Spreadsheet?

ScriptingGuy1

Hey, Scripting Guy! I’m new to Excel, and I was wondering how to change the color of a cell if specific requirements are met. I have a spreadsheet that has three columns of numbers; I’d like to add the numbers in each row and, if they total 100, set the text of a fourth column to “Yes” and color that cell green. If the numbers don’t total 100 I’...

Scripting Guy!VBScriptOffice
May 1, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Sort a Text File Based on a Specific Column in That File?

ScriptingGuy1

Hey, Scripting Guy! I have a text file composed of many different lines; each line has a number of fields, with the fields separated from one another by a tab character. I need to sort this text file based on the value of one of these fields. How can I do that?-- IR Hey, IR. You know, that’s an interesting question, if only because – oops, hold ...

Scripting Guy!scripting techniquesVBScript