Have a question on something? Visit the forum for help.
NEW!! LazyNetworkAdmin Forums! Click -> here


| Create Folders from a list in an .xls Spreadsheet |
|
|
|
|
These names were listed in an excel doc and I didn't want to create the folders by hand. This script will create folders based on the listed text in an excel file.
----------COPY EVERYTHING BELOW THIS LINE for the Script---------- strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objExcel = CreateObject("Excel.Application") i = 1
Do Until objExcel.Cells(i, 1).Value = "" ' first value is row (i), second value is the column (1)
i = i + 1
----------COPY EVERYTHING ABOVE THIS LINE for the Script----------
PLEASE MAKE SURE NO WORD WRAPPING IS HAPPENING IN YOUR SCRIPT!!! To make this script work you will need the items below!
|




















