|
|
|
|
Lecture Week/Date |
What |
For Download |
|
|
Setting initial folder: We are going to open another connection, the operating
environment of the script so that we can identify the initial
working folder. |
|
|
|
CommonDialog ActiveX Service: Find an Excel file and then open it with excel. |
|
|
|
Excel opening excel document: creating a MS-Office file open dialog after opening
excel… we will see
this file open dialog in WORD, PPT, etc..
Here is
how
I find out msoFileDialogOpen constant value.
|
|
| Sample Spreadsheet Files to be used as target files for applications | Scores.xls, ScoresX.xlsx, ScoreTest.xls, ScoreTest.xlsx, EmptyExcel.xls | |
|
|
Using Excel macro code in a VB Script |
|
|
|
|
|
|
|
Looping with Excel: Fills specified columns with the row numbers. Note that the control condition here (Until) is on the LOOP statement. |
|
| Looping using For Each: Obtain a collection object with files in directory and then loop over all of them, listing names in two formats. | LoopOverCollection.vbs | |
| ExampleSubAndFunc. Gives examples of use of function and subprogram calls | ExampleSubAndFunc.vbs |
|
|
|
University of Washington, Bothell |