diff --git a/1012.pdf b/1012.pdf new file mode 100644 index 0000000..06a519d Binary files /dev/null and b/1012.pdf differ diff --git a/1013.pdf b/1013.pdf new file mode 100644 index 0000000..9157ef2 Binary files /dev/null and b/1013.pdf differ diff --git a/103-8 readme.txt b/103-8 readme.txt new file mode 100644 index 0000000..004f8d9 --- /dev/null +++ b/103-8 readme.txt @@ -0,0 +1,19 @@ +These are the sample files for the book: + + Definitive Guide to Excel VBA + Michael Kofler + 2nd edition + ISBN: 1590591038 + apress 2003 + +(c): The files are copyrighted by Michael Kofler and apress and may +not be distributed in any form. + +To install the files on your computer, use a de-compression tool such as WinZip (http://www.winzip.com). The sample files are organized in directories. Directory 05 contains the files for chapter 5 etc. + +For more information about the book, updates, errata etc. please see: + +http://www.kofler.cc/english/excel.html +http://www.apress.com/ + +Michael Kofler, May 2003 \ No newline at end of file diff --git a/2441.html b/2441.html new file mode 100644 index 0000000..78a7a67 --- /dev/null +++ b/2441.html @@ -0,0 +1 @@ + Errata for 582-3 Asleson (corrected in the second printing)

Errata 103-8 Kofler(corrected in the 3rd printing)

Page

Original Sentence

Corrected Sentence

 863

Excel 2003 Beta 2003

Excel 2003

863

NOTE It should be clear that all that follows is to be taken as provisional. It is improbable that there will be enormous changes in the final version of Excel in comparison to the Beta 2 version, but such a possibility is not to be excluded.

It is also possible that many functions will not be present in all Office versions. (Above all, this affects some XML functions, which will most likely be integrated only into the more expensive Office packages.)

Finally, it may happen that I have missed or misunderstood some features.

 

NOTE The new XML functions are only available if you use Office 2003 Professional or Excel 2003 as a single product. The Excel versions that come

with the Office 2003 Small Business and Standard editions do not contain the new XML functions. In other words, only those willing to pay for the most expensive version of Office may enjoy XML support!

 

863

How stably Excel 2003 runs cannot be determined, due to the beta status. (This beta version has some problems, but it is hoped and expected that they will be resolved.)

(Sentence is removed)

867

 

POINTER On the following pages we discuss the control of XML functions in VBA code.We assume that you are familiar with the basic XML functions in Excel 2003.Unfortunately, there is not sufficient space here to describe these

functions and their application. That would require an entire chapter (and if we were to go into the fundamentals of XML, an entire book). If you need to acquire some fundamental XML background, I recommend the Excel XML Toolkit for your first experiments. It was last seen, available for free download, at http://msdn.microsoft.com/library/en-us/dno2k3ta/html/ODC_Office2003Page.asp

POINTER On the following pages we discuss the control of XML functions in VBA code.We assume that you are familiar with the basic XML functions in Excel 2003.Unfortunately, there is not sufficient space here to describe these

functions and their application. That would require an entire chapter (and if we were to go into the fundamentals of XML, an entire book).

 

383

On Error Resume test_resume_error

On Error Goto test_resume_error

383

On Error Resume test_resume_another_error

On Error Goto test_resume_another_error

­­

\ No newline at end of file diff --git a/773.html b/773.html new file mode 100644 index 0000000..f99faa1 --- /dev/null +++ b/773.html @@ -0,0 +1,21 @@ +Part One An Intuitive Approach
+Chapter 1: Writing Your First Macro
+Chapter 2: What’s New in Excel 2000
+Part Two Fundamentals
+Chapter 3: The Development Environment
+Chapter 4: VBA Concepts
+Chapter 5: Techniques of Programming
+Chapter 6: Debugging, Protection When Errors Arise
+Chapter 7: Forms (Microsoft Forms Library)
+Chapter 8: Menus and Toolbars
+Part Three Application
+Chapter 9: Templates, Smart Forms
+Chapter 10: Charts and Drawing Objects (Shapes)
+Chapter 11: Data Management in Excel
+Chapter 12: Access to External Data
+Chapter 13: Data Analysis in Excel
+Chapter 14: VBA Programming for Pros
+Part Four Reference
+Chapter 15: Object Reference
+Appendix: Excel 2003 Beta 2
+References \ No newline at end of file diff --git a/9781590591031.jpg b/9781590591031.jpg new file mode 100644 index 0000000..192ca4c Binary files /dev/null and b/9781590591031.jpg differ diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..e6e3cfc --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,27 @@ +Freeware License, some rights reserved + +Copyright (c) 2003 Michael Kofler + +Permission is hereby granted, free of charge, to anyone obtaining a copy +of this software and associated documentation files (the "Software"), +to work with the Software within the limits of freeware distribution and fair use. +This includes the rights to use, copy, and modify the Software for personal use. +Users are also allowed and encouraged to submit corrections and modifications +to the Software for the benefit of other users. + +It is not allowed to reuse, modify, or redistribute the Software for +commercial use in any way, or for a user’s educational materials such as books +or blog articles without prior permission from the copyright holder. + +The above copyright notice and this permission notice need to be included +in all copies or substantial portions of the software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS OR APRESS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..9901fe1 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +#Apress Source Code + +This repository accompanies [*Definitive Guide to Excel VBA*](http://www.apress.com/9781590591031) by Michael Kofler (Apress, 2003). + +![Cover image](9781590591031.jpg) + +Download the files as a zip using the green button, or clone the repository to your machine using Git. + +##Releases + +Release v1.0 corresponds to the code in the published book, without corrections or updates. + +##Contributions + +See the file Contributing.md for more information on how you can contribute to this repository. diff --git a/contributing.md b/contributing.md new file mode 100644 index 0000000..f6005ad --- /dev/null +++ b/contributing.md @@ -0,0 +1,14 @@ +# Contributing to Apress Source Code + +Copyright for Apress source code belongs to the author(s). However, under fair use you are encouraged to fork and contribute minor corrections and updates for the benefit of the author(s) and other readers. + +## How to Contribute + +1. Make sure you have a GitHub account. +2. Fork the repository for the relevant book. +3. Create a new branch on which to make your change, e.g. +`git checkout -b my_code_contribution` +4. Commit your change. Include a commit message describing the correction. Please note that if your commit message is not clear, the correction will not be accepted. +5. Submit a pull request. + +Thank you for your contribution! \ No newline at end of file diff --git a/xl-2003-samples/01/analysis.xls b/xl-2003-samples/01/analysis.xls new file mode 100644 index 0000000..39c169a Binary files /dev/null and b/xl-2003-samples/01/analysis.xls differ diff --git a/xl-2003-samples/01/books.xls b/xl-2003-samples/01/books.xls new file mode 100644 index 0000000..1e32215 Binary files /dev/null and b/xl-2003-samples/01/books.xls differ diff --git a/xl-2003-samples/01/form.xlt b/xl-2003-samples/01/form.xlt new file mode 100644 index 0000000..0fb75e5 Binary files /dev/null and b/xl-2003-samples/01/form.xlt differ diff --git a/xl-2003-samples/01/format.xls b/xl-2003-samples/01/format.xls new file mode 100644 index 0000000..7e254db Binary files /dev/null and b/xl-2003-samples/01/format.xls differ diff --git a/xl-2003-samples/01/function.xls b/xl-2003-samples/01/function.xls new file mode 100644 index 0000000..48c95a9 Binary files /dev/null and b/xl-2003-samples/01/function.xls differ diff --git a/xl-2003-samples/01/shortcut.xls b/xl-2003-samples/01/shortcut.xls new file mode 100644 index 0000000..aa0e150 Binary files /dev/null and b/xl-2003-samples/01/shortcut.xls differ diff --git a/xl-2003-samples/01/vocabulary.xls b/xl-2003-samples/01/vocabulary.xls new file mode 100644 index 0000000..bc26cb8 Binary files /dev/null and b/xl-2003-samples/01/vocabulary.xls differ diff --git a/xl-2003-samples/04/Implements.xls b/xl-2003-samples/04/Implements.xls new file mode 100644 index 0000000..90b796b Binary files /dev/null and b/xl-2003-samples/04/Implements.xls differ diff --git a/xl-2003-samples/04/VBA-Concepts.xls b/xl-2003-samples/04/VBA-Concepts.xls new file mode 100644 index 0000000..d40c008 Binary files /dev/null and b/xl-2003-samples/04/VBA-Concepts.xls differ diff --git a/xl-2003-samples/05/Cells.xls b/xl-2003-samples/05/Cells.xls new file mode 100644 index 0000000..77e6ceb Binary files /dev/null and b/xl-2003-samples/05/Cells.xls differ diff --git a/xl-2003-samples/05/DateTime.xls b/xl-2003-samples/05/DateTime.xls new file mode 100644 index 0000000..786a3af Binary files /dev/null and b/xl-2003-samples/05/DateTime.xls differ diff --git a/xl-2003-samples/05/DoEvents.xls b/xl-2003-samples/05/DoEvents.xls new file mode 100644 index 0000000..23f324a Binary files /dev/null and b/xl-2003-samples/05/DoEvents.xls differ diff --git a/xl-2003-samples/05/Euro.xls b/xl-2003-samples/05/Euro.xls new file mode 100644 index 0000000..7e02ef4 Binary files /dev/null and b/xl-2003-samples/05/Euro.xls differ diff --git a/xl-2003-samples/05/Files.xls b/xl-2003-samples/05/Files.xls new file mode 100644 index 0000000..754f53a Binary files /dev/null and b/xl-2003-samples/05/Files.xls differ diff --git a/xl-2003-samples/05/Function.xls b/xl-2003-samples/05/Function.xls new file mode 100644 index 0000000..a10c115 Binary files /dev/null and b/xl-2003-samples/05/Function.xls differ diff --git a/xl-2003-samples/05/Holidays.xls b/xl-2003-samples/05/Holidays.xls new file mode 100644 index 0000000..49bce45 Binary files /dev/null and b/xl-2003-samples/05/Holidays.xls differ diff --git a/xl-2003-samples/05/Miscellaneous.xls b/xl-2003-samples/05/Miscellaneous.xls new file mode 100644 index 0000000..0dc68d3 Binary files /dev/null and b/xl-2003-samples/05/Miscellaneous.xls differ diff --git a/xl-2003-samples/05/Mma.xls b/xl-2003-samples/05/Mma.xls new file mode 100644 index 0000000..d9fb67f Binary files /dev/null and b/xl-2003-samples/05/Mma.xls differ diff --git a/xl-2003-samples/05/Names.xls b/xl-2003-samples/05/Names.xls new file mode 100644 index 0000000..6e3c604 Binary files /dev/null and b/xl-2003-samples/05/Names.xls differ diff --git a/xl-2003-samples/05/Sheets.xls b/xl-2003-samples/05/Sheets.xls new file mode 100644 index 0000000..e719ad0 Binary files /dev/null and b/xl-2003-samples/05/Sheets.xls differ diff --git a/xl-2003-samples/05/german.txt b/xl-2003-samples/05/german.txt new file mode 100644 index 0000000..74d5aa5 --- /dev/null +++ b/xl-2003-samples/05/german.txt @@ -0,0 +1,3 @@ + 123.456,23 text without quotes (but with special characters äöü) + 23.456,23 text + -3.456,23 text diff --git a/xl-2003-samples/05/mmaexport.txt b/xl-2003-samples/05/mmaexport.txt new file mode 100644 index 0000000..06d98e7 --- /dev/null +++ b/xl-2003-samples/05/mmaexport.txt @@ -0,0 +1,9 @@ +{ +{{ 1, 2, 3.55}, +{ 4, .333333333333333, 6}, +{ 7, 8, 1.234*10^-28}} +, +{{ 2, "abc", 3.55}, +{ 5, .333333333333333, 6}, +{ 6, 8, 9}} +} diff --git a/xl-2003-samples/05/scientific.txt b/xl-2003-samples/05/scientific.txt new file mode 100644 index 0000000..1023040 --- /dev/null +++ b/xl-2003-samples/05/scientific.txt @@ -0,0 +1,4 @@ +12.3 12/31/1999 17:30 "text" +.33 1/2/2000 11:20 "several words in quotes" +-1e3 1/3/2000 0:13 "text" + diff --git a/xl-2003-samples/06/readme.txt b/xl-2003-samples/06/readme.txt new file mode 100644 index 0000000..3b314ab --- /dev/null +++ b/xl-2003-samples/06/readme.txt @@ -0,0 +1,2 @@ +see 05\vba-concepts.xls +and 05\miscellaneous.xls diff --git a/xl-2003-samples/07/Userform.xls b/xl-2003-samples/07/Userform.xls new file mode 100644 index 0000000..7441a01 Binary files /dev/null and b/xl-2003-samples/07/Userform.xls differ diff --git a/xl-2003-samples/08/CommandBar-AutoVisible.xls b/xl-2003-samples/08/CommandBar-AutoVisible.xls new file mode 100644 index 0000000..feac150 Binary files /dev/null and b/xl-2003-samples/08/CommandBar-AutoVisible.xls differ diff --git a/xl-2003-samples/08/CommandBar-Copy.xls b/xl-2003-samples/08/CommandBar-Copy.xls new file mode 100644 index 0000000..a740bce Binary files /dev/null and b/xl-2003-samples/08/CommandBar-Copy.xls differ diff --git a/xl-2003-samples/08/CommandBar-IdList.txt b/xl-2003-samples/08/CommandBar-IdList.txt new file mode 100644 index 0000000..6f523c9 --- /dev/null +++ b/xl-2003-samples/08/CommandBar-IdList.txt @@ -0,0 +1,1374 @@ + 2 &Spelling... + 3 &Save + 4 &Print... + 18 &New... + 19 &Copy + 21 Cu&t + 22 &Paste + 23 Open + 37 &Repeat Delete + 42 &Microsoft Word + 47 Clear Contents + 51 Custom + 52 &Piggy Bank + 59 Custom + 60 &Double Underline + 67 Custom + 68 Custom + 106 &Close + 107 AutoFormat + 108 &Format Painter + 109 Print Pre&view + 112 Custom + 113 &Bold + 114 &Italic + 115 &Underline + 117 &Custom + 118 &Dark Shading + 120 Align &Left + 121 Align &Right + 122 &Center + 123 &Justify + 124 What's &This? + 126 Custom + 128 &Undo + 129 &Redo + 130 &Line + 139 Te&xt Box + 140 &Find File... + 145 &Top Border + 146 &Bottom Border + 147 &Left Border + 148 &Right Border + 149 Apply Inside Borders + 150 &Outside Borders + 151 Clear Border + 164 &Group + 165 &Ungroup + 166 Bring to Fron&t + 167 Send to Bac&k + 170 Bring &Forward + 171 Send &Backward + 178 F&ull Screen + 182 &Select Objects + 184 &Record New Macro... + 186 &Macros... + 187 Step Macro + 189 Resume Macro + 196 Flip &Horizontal + 197 Flip &Vertical + 198 Rotate &Right + 199 Rotate &Left + 200 &Freeform + 203 &Borders + 204 &Drawing + 206 &Edit Points + 210 Sort &Ascending + 211 Sort Des&cending + 219 &Edit Box + 220 &Check Box + 221 &Combo Box + 222 Control Properties + 225 Lock Cell + 226 &AutoSum + 243 &Arrow + 247 Page Set&up... + 254 &Style... + 259 Routing Slip + 262 Microsoft &Mail + 264 Microsoft &Access + 265 Microsoft &Schedule+ + 266 Microsoft Visual &FoxPro + 267 Microsoft &PowerPoint + 269 Microsoft P&roject + 270 Custom + 271 Custom + 272 Custom + 273 Custom + 274 Custom + 275 Custom + 276 Custom + 278 Custom + 279 Custom + 280 &Camera + 281 Custom + 282 &Button + 283 Custom + 286 Custom + 290 &Strikethrough + 292 Delete + 293 Delete &Rows + 294 Delete &Columns + 295 C&ells... + 296 &Rows + 297 &Columns + 298 &Arrange... + 302 &Split + 303 &New Window + 305 &Accept or Reject Changes... + 313 R&eplace... + 318 &WordArt... + 338 Regr&oup + 339 &3-D + 363 Se&nd... + 364 &Set Print Area + 365 &Insert MS Excel 4.0 Macro + 368 &Clear Formatting + 369 &Paste Formatting + 370 &Paste Values + 371 &Right + 372 &Down + 373 &Equal Sign + 374 &Plus Sign + 375 &Minus Sign + 376 &Multiplication Sign + 377 &Division Sign + 378 &Exponentiation Sign + 379 &Left Parenthesis + 380 &Right Parenthesis + 381 &Colon + 382 &Comma + 383 &Percent Sign + 384 &Dollar Sign + 385 Paste Function + 387 &Constrain Numeric + 389 &XL Left Border + 390 &XL Right Border + 391 &XL Top Border + 393 &Light Shading + 394 &Shadow + 395 &Currency Style + 396 &Percent Style + 397 &Comma Style + 398 &Increase Decimal + 399 &Decrease Decimal + 401 &Font Color + 402 &Merge and Center + 403 &Increase Font Size + 404 &Decrease Font Size + 405 &Vertical Text + 406 &Rotate Text Up + 407 &Rotate Text Down + 408 Distribute &Horizontally + 409 &Scribble + 417 Custom + 418 &Area Chart + 419 &Bar Chart + 420 &Column Chart + 421 &Stacked Column Chart + 422 &Line Chart + 423 &Pie Chart + 424 &3-D Area Chart + 425 &3-D Bar Chart + 426 &3-D Clustered Column Chart + 427 &3-D Column Chart + 428 &3-D Line Chart + 429 &3-D Pie Chart + 430 &(XY) Scatter Chart + 431 &3-D Surface Chart + 432 &Radar Chart + 434 &Volume/High-Low-Close Chart + 435 &Default Chart + 436 &Chart Wizard + 437 &Value Axis Gridlines + 438 &Category Axis Gridlines + 439 &Legend + 440 &Show Outline Symbols + 441 &Select Visible Cells + 442 &Select Current Region + 443 &Freeze Panes + 444 &Zoom In + 445 &Zoom Out + 446 &Option Button + 447 &Scroll Bar + 448 &List Box + 449 &Doughnut Chart + 450 &Remove Dependent Arrows + 451 Trace &Dependents + 452 &Remove Precedent Arrows + 453 Remove &All Arrows + 454 &Attach Note + 455 &Update File + 456 &Toggle Read Only + 457 &Wizard... + 458 Auto&Filter + 459 &Refresh Data + 460 Fi&eld Settings... + 461 Show &Pages... + 462 &Show Detail + 463 Trace &Error + 464 &Hide Detail + 465 Distribute &Vertically + 467 &Group Box + 468 &Spinner + 469 Ta&b Order... + 470 &Run Dialog + 471 &Combination List-Edit + 475 &Combination Drop-Down Edit + 476 &Label + 477 Custom + 478 Custom + 479 Custom + 480 Custom + 481 Custom + 482 Custom + 483 Custom + 484 Custom + 485 Toggle Grid + 486 &Trace Precedents + 488 &Code + 489 &Dialog + 509 Page &Break + 522 &Options... + 537 Para&meters... + 541 H&eight... + 542 &Width... + 546 &Object... + 548 Control T&oolbox + 549 To &Grid + 569 C&ancel + 642 &More Controls... + 664 Align &Left + 665 Align &Right + 666 Align &Top + 667 Align &Bottom + 668 Align &Center + 669 Align &Middle + 682 &Clip Art... + 688 Free Ro&tate + 692 &Line Style + 693 &Dash Style + 694 &Arrow Style + 702 &Organization Chart + 723 &Normal + 724 &Page Break Preview + 732 &Crop + 748 Save &As... + 750 Propert&ies + 752 E&xit + 755 Paste &Special... + 757 &Go To... + 759 Lin&ks... + 762 &Header and Footer... + 786 &AutoFormat... + 793 &AutoCorrect... + 797 &Customize... + 798 &Merge Cells + 800 Unmerge Cells + 806 T&ext to Columns... + 825 Assign &Macro... + 830 &Window Name Goes Here + 831 &Recent File Name Goes Here + 837 &Create Microsoft Outlook Task + 838 Mi&nimize + 839 &Restore + 840 &Close + 841 &Move + 842 &Size + 843 Ma&ximize + 846 Save &Workspace... + 847 De&lete Sheet + 848 &Move or Copy Sheet... + 849 &Formula Bar + 850 &Status Bar + 852 &Worksheet + 855 C&ells... + 856 &Goal Seek... + 857 Sc&enarios... + 859 Assig&n Macro... + 860 F&orm... + 861 Su&btotals... + 862 &Table... + 863 Co&nsolidate... + 865 &Hide + 866 &Unhide... + 867 &Up + 868 &Left + 869 &Across Worksheets... + 870 &Series... + 871 &Justify + 872 &Formats + 873 &Contents + 874 Co&mments + 878 &Define... + 879 &Paste... + 880 &Create... + 881 &Apply... + 882 &AutoFit + 883 &Hide + 884 &Unhide + 885 &AutoFit Selection + 886 &Hide + 887 &Unhide + 888 &Standard Width... + 889 &Rename + 890 &Hide + 891 &Unhide... + 892 &Show Auditing Toolbar + 893 &Protect Sheet... + 894 Protect &Workbook... + 896 Relative Reference + 899 Auto&Filter + 900 &Show All + 901 &Advanced Filter... + 904 &Auto Outline + 905 &Clear Outline + 906 S&ettings... + 907 &Series + 908 Sized with &Window + 914 Add T&rendline... + 917 &Selected Object + 918 Chart &Type... + 919 3-D &View... + 925 &Zoom... + 927 &About Microsoft Excel + 928 &Sort... + 932 &Label... + 936 &Lotus 1-2-3 Help... + 937 &Answer Wizard... + 938 &Exchange Folder... + 943 Add-&Ins... + 945 &Insert... + 946 &Select All Sheets + 950 Custom &Views... + 952 &Background... + 954 &Source Data... + 955 &Location... + 956 Chart &Options... + 957 &Sheet List + 960 &Calculate Now + 961 &Object + 962 C&ells... + 984 Microsoft Excel &Help + 987 &Data Table + 988 Series in &Columns + 989 Series in &Rows + 991 &Enable Selection + 992 &List Formulas + 993 &Data + 994 Label &and Data + 995 &Label + 1004 Show the &Office Assistant + 1006 &Fill Effects... + 1013 &Angle Text Upward + 1014 &Angle Text Downward + 1015 &Open... + 1016 &Start Page + 1017 &Back + 1018 &Forward + 1019 &Stop Current Jump + 1020 &Refresh Current Page + 1021 Open &Favorites... + 1022 &Add to Favorites... + 1023 &Show Only Web Toolbar + 1031 &WordArt... + 1033 Rerou&te Connectors + 1035 &Up + 1036 &Down + 1037 &Left + 1038 &Right + 1041 &Curve + 1042 St&raight Connector + 1043 &Elbow Connector + 1044 C&urved Connector + 1047 &Callouts + 1048 &Flowchart + 1049 Block &Arrows + 1050 &Stars and Banners + 1051 &More Fill Colors... + 1052 &More Line Colors... + 1053 &Patterned Lines... + 1054 &More Lines... + 1055 &More Arrows... + 1056 &Shadow Settings... + 1057 &3-D Settings... + 1058 &WordArt Shape + 1059 &WordArt Alignment + 1060 &WordArt Character Spacing + 1061 &WordArt Vertical Text + 1063 &WordArt Same Letter Heights + 1064 &More Contrast + 1065 &Less Contrast + 1066 &More Brightness + 1067 &Less Brightness + 1068 &Nudge Shadow Up + 1069 &Nudge Shadow Down + 1070 &Nudge Shadow Left + 1071 &Nudge Shadow Right + 1072 &More Shadow Colors... + 1073 &More 3-D Colors... + 1108 &Left Align + 1109 &Center + 1110 &Line Callout 4 (Border and Accent Bar) + 1111 &Rectangle + 1112 &Parallelogram + 1113 &Trapezoid + 1114 &Diamond + 1115 &Rounded Rectangle + 1116 &Octagon + 1117 &Isosceles Triangle + 1118 &Right Triangle + 1119 &Oval + 1120 &Hexagon + 1121 &Cross + 1122 &Cube + 1123 &Plaque + 1124 &Regular Pentagon + 1125 &Wave + 1126 &Can + 1127 &Vertical Scroll + 1128 &Horizontal Scroll + 1129 &Folded Corner + 1130 &Bevel + 1131 &Smiley Face + 1132 &Donut + 1133 &"No" Symbol + 1134 &Block Arc + 1135 &Left Bracket + 1136 &Right Bracket + 1137 &Left Brace + 1138 &Right Brace + 1139 &Arc + 1140 &Lightning Bolt + 1141 &Heart + 1142 &Right Arrow + 1143 &Left Arrow + 1144 &Up Arrow + 1145 &Down Arrow + 1146 &Left-Right Arrow + 1147 &Up-Down Arrow + 1148 &Quad Arrow + 1149 &Left-Right-Up Arrow + 1150 &Left-Up Arrow + 1151 &Bent-Up Arrow + 1152 &Bent Arrow + 1153 &U-Turn Arrow + 1154 &Striped Right Arrow + 1155 &Notched Right Arrow + 1156 &Pentagon + 1157 &Chevron + 1158 &Circular Arrow + 1160 &Curved Right Arrow + 1161 &Curved Left Arrow + 1162 &Curved Up Arrow + 1163 &Curved Down Arrow + 1164 &Right Arrow Callout + 1165 &Left Arrow Callout + 1166 &Up Arrow Callout + 1167 &Down Arrow Callout + 1168 &Left-Right Arrow Callout + 1169 &Up-Down Arrow Callout + 1170 &Quad Arrow Callout + 1172 &Rectangular Callout + 1173 &Rounded Rectangular Callout + 1174 &Oval Callout + 1175 &Cloud Callout + 1176 &Line Callout 2 + 1177 &Line Callout 3 + 1178 &Line Callout 4 + 1179 &Down Ribbon + 1180 &Up Ribbon + 1181 &Curved Down Ribbon + 1182 &Curved Up Ribbon + 1183 &5-Point Star + 1184 &8-Point Star + 1185 &16-Point Star + 1186 &24-Point Star + 1187 &32-Point Star + 1188 &Explosion 1 + 1189 &Explosion 2 + 1190 &Flowchart: Process + 1191 &Flowchart: Alternate Process + 1192 &Flowchart: Decision + 1193 &Flowchart: Data + 1194 &Flowchart: Predefined Process + 1195 &Flowchart: Internal Storage + 1196 &Flowchart: Document + 1197 &Flowchart: Multidocument + 1198 &Flowchart: Terminator + 1199 &Flowchart: Preparation + 1200 &Flowchart: Manual Input + 1201 &Flowchart: Manual Operation + 1202 &Flowchart: Connector + 1203 &Flowchart: Off-page Connector + 1204 &Flowchart: Card + 1205 &Flowchart: Punched Tape + 1206 &Flowchart: Summing Junction + 1207 &Flowchart: Or + 1208 &Flowchart: Collate + 1209 &Flowchart: Sort + 1210 &Flowchart: Extract + 1211 &Flowchart: Merge + 1213 &Flowchart: Stored Data + 1214 &Flowchart: Sequential Access Storage + 1215 &Flowchart: Magnetic Disk + 1216 &Flowchart: Direct Access Storage + 1217 &Flowchart: Display + 1218 &Flowchart: Delay + 1219 &Line Callout 1 + 1220 &Line Callout 1 (Accent Bar) + 1221 &Line Callout 2 (Accent Bar) + 1222 &Line Callout 3 (Accent Bar) + 1223 &Line Callout 4 (Accent Bar) + 1224 &Line Callout 1 (No Border) + 1225 &Line Callout 2 (No Border) + 1226 &Line Callout 3 (No Border) + 1227 &Line Callout 4 (No Border) + 1228 &Line Callout 1 (Border and Accent Bar) + 1229 &Line Callout 2 (Border and Accent Bar) + 1230 &Line Callout 3 (Border and Accent Bar) + 1352 &Right Align + 1353 Le&tter Justify + 1354 &Word Justify + 1355 &Stretch Justify + 1356 Very T&ight + 1357 &Tight + 1358 &Normal + 1359 &Loose + 1360 &Very Loose + 1361 &Kern Character Pairs + 1362 &Reset Picture + 1365 &Automatic + 1366 &Grayscale + 1367 &Black && White + 1368 &Watermark + 1374 &3-D On/Off + 1375 &Tilt Down + 1376 &Tilt Up + 1377 &Tilt Left + 1378 &Tilt Right + 1379 &Depth + 1380 &Direction + 1382 &Lighting + 1383 &Surface + 1384 &0 pt. + 1385 &36 pt. + 1386 &72 pt. + 1387 &144 pt. + 1388 &288 pt. + 1389 &Infinity + 1390 &Perspective + 1391 P&arallel + 1392 &Bright + 1393 &Normal + 1394 &Dim + 1395 &Matte + 1396 &Plastic + 1398 Me&tal + 1399 &Wire Frame + 1401 Edit Te&xt + 1402 To &Shape + 1403 &Image Control + 1405 &Basic Shapes + 1406 &Callouts + 1407 &Flowchart + 1408 Block &Arrows + 1409 &Stars and Banners + 1410 Show WordArt Tool&bar + 1412 &Exit Rotate Mode + 1413 Show Pictu&re Toolbar + 1415 &Add Point + 1416 De&lete Point + 1417 &Straight Segment + 1418 &Curved Segment + 1420 Close C&urve + 1421 Au&to Point + 1422 &Smooth Point + 1423 St&raight Point + 1424 &Corner Point + 1425 Exit &Edit Point + 1453 &No Color + 1455 &Color Scheme + 1456 &Standard Colors + 1459 &Automatic Color + 1460 &Color Scheme + 1461 &Standard Colors + 1465 &Color Scheme + 1466 &Standard Colors + 1470 &Color Scheme + 1471 &Standard Colors + 1561 &View Code + 1574 Open in New &Window + 1575 &Copy Hyperlink + 1576 Hyperl&ink... + 1577 Edit &Hyperlink... + 1578 &Select Hyperlink + 1583 &Add to Print Area + 1584 &Clear Print Area + 1585 Reset &All Page Breaks + 1586 &Exclude From Print Area + 1588 Insert Page &Break + 1589 Co&mment + 1590 &Previous Comment + 1591 &Next Comment + 1592 Delete Co&mment + 1593 Sh&ow Comment + 1594 &Comments + 1597 Calculated &Field... + 1598 Calculated &Item... + 1600 Entire &Table + 1604 Table &Options... + 1605 &Design Mode + 1606 &WordArt Gallery + 1611 &Edit + 1613 Se&ttings... + 1614 &Show or Hide + 1616 &Chart Type + 1617 &Pattern + 1618 &Border + 1622 &Chart Objects: + 1623 &Navigate Circular Reference: + 1635 &Bubble Chart + 1636 &3-D Cylinder Chart + 1637 &3-D Pyramid Chart + 1638 &3-D Cone Chart + 1639 &Double Arrow + 1691 &Fill Color + 1692 &Line Color + 1693 &Shadow Color + 1694 &3-D Color + 1695 &Visual Basic Editor + 1699 &Bottom Double Border + 1704 &All Borders + 1728 &Font: + 1731 &Font Size: + 1732 &Style: + 1733 &Zoom: + 1737 &Scenario: + 1740 &Address: + 1741 M&ap... + 1742 &Merge Across + 1764 From &Scanner or Camera... + 1840 &Inside Horizontal Border + 1841 &Inside Vertical Border + 1842 &Diagonal Down Border + 1843 &Diagonal Up Border + 1844 &Open-High-Low-Close Chart + 1846 &Left-to-Right + 1847 &Right-to-Left + 1848 &Check Box + 1849 &Find... + 1850 &Text Box + 1851 &Command Button + 1852 &Option Button + 1853 &List Box + 1854 &Combo Box + 1855 &Toggle Button + 1856 &Spin Button + 1857 &Scroll Bar + 1858 &Label + 1859 &Semitransparent Shadow + 1922 Search the &Web + 1924 Sheet Left-to-Right + 1925 Sheet Right-to-Left + 1926 &Automatic Color + 1927 &Color Scheme + 1928 &Color + 1929 &Color Scheme + 1930 &Color + 1948 Run Save&d Query... + 1950 &Edit Query... + 1951 D&ata Range Properties + 1952 Refresh &All + 1953 &Cancel Refresh + 1954 &Refresh Status + 1957 C&hart... + 1963 &Add Data... + 1964 &All + 1965 & + 1966 Pic&k From List... + 1967 Con&vert... + 1968 &Ungroup Sheets + 1988 &Pattern + 2012 &None + 2013 &Average + 2014 &Count + 2015 C&ount Nums + 2016 &Max + 2017 M&in + 2018 &Sum + 2019 &Copy Cells + 2020 Fill &Series + 2021 Fill &Formats + 2022 Fill &Values + 2023 Fill &Days + 2024 Fill &Weekdays + 2025 Fill &Months + 2026 Fill &Years + 2027 &Linear Trend + 2028 &Growth Trend + 2029 S&eries... + 2031 Insert Co&mment + 2034 Va&lidation... + 2035 Circle Invalid Data + 2038 &Reset Print Area + 2040 S&hare Workbook... + 2042 &Highlight Changes... + 2044 Merge &Workbooks... + 2045 &Copy Here + 2046 &Move Here + 2047 Copy Here as &Formats Only + 2048 Copy Here as &Values Only + 2049 &Shift Down and Copy + 2050 Shif&t Right and Copy + 2051 Shift &Down and Move + 2052 Shift &Right and Move + 2054 &New Database Query... + 2055 &Clear Validation Circles + 2089 &Image + 2091 &Straight Connector + 2092 &Elbow Connector + 2093 C&urved Connector + 2094 Edit Te&xt... + 2158 &Link Here + 2159 Create &Hyperlink Here + 2175 &Shadow On/Off + 2179 Set AutoShape &Defaults + 2186 Stop &Recording + 2188 M&ail Recipient (as Attachment)... + 2520 &New + 2521 Print (Linotronic 330 v52.3) + 2571 Ch&art Window + 2619 &From File... + 2630 &AutoShapes + 2631 &Lines + 2632 &Basic Shapes + 2633 Co&nnectors + 2634 &Sun + 2635 &Moon + 2636 &Double Bracket + 2637 &Double Brace + 2638 &4-Point Star + 2639 &Double Wave + 2640 &Straight Arrow Connector + 2641 &Straight Double-Arrow Connector + 2642 &Elbow Arrow Connector + 2643 &Elbow Double-Arrow Connector + 2644 &Curved Arrow Connector + 2645 &Curved Double-Arrow Connector + 2668 &Fill Effects... + 2692 De&lete Segment + 2693 Open C&urve + 2787 Paste as &Hyperlink + 2792 Distributed Align + 2827 &Set Transparent Color + 2914 &Solve Order... + 2915 &PivotTable and PivotChart Report... + 2934 &Web Toolbar + 2949 &Custom Menu Item + 2950 &Custom Button + 3058 Con&ditional Formatting... + 3059 Protect and &Share Workbook... + 3125 Clear Co&ntents + 3141 &Automatic Color + 3159 &Group... + 3160 &Ungroup... + 3161 &Increase Indent + 3162 &Decrease Indent + 3492 &Hangul Hanja Conversion... + 3514 Pick From Phonetic List ... + 3626 &Remove Hyperlink + 3627 Security... + 3628 &Insert Script + 3630 Remove All S&cripts + 3631 Microsoft Script Editor + 3636 + 3637 + 3638 + 3639 + 3640 + 3641 + 3642 + 3643 + 3644 + 3645 + 3646 + 3647 + 3648 More fields + 3650 More fields + 3655 We&b Page Preview + 3675 + 3676 + 3677 + 3689 Show &All Scripts + 3708 &Send Now + 3709 &Select Names + 3710 &Check Names + 3720 Recon&version + 3727 &Meet Now + 3728 &Online Meeting Participant + 3738 &Mail Recipient + 3754 &COM Add-Ins... + 3774 Detect and &Repair... + 3775 Office on the &Web + 3789 Pivot&Chart + 3790 &Display Fields + 3817 Refre&sh + 3819 Do &Not Refresh + 3823 Save as Web Pa&ge... + 3829 New &Web Query... + 3831 &Web Options... + 3844 Import &Text File... + 3889 &More AutoShapes... + 3902 HTML Sourc&e + 3903 Publis&h as Web Page... + 3956 &Hide PivotChart Field Buttons + 3988 C&lient-Server Settings... + 3990 &Select Multiple Objects + 4002 Sho&w Detail + 4021 &Context + 4027 &Text Direction + 4148 Move to Be&ginning + 4149 Move &Up + 4150 Move &Down + 4151 Move to &End + 4177 &Web Discussions + 4179 &Schedule Meeting... + 4388 &Data Area + 4389 &Data Area + 4390 &Data Area + 4391 &Non-Data Area + 4392 &Non-Data Area + 4393 &Non-Data Area + 5416 Remo&ve Field + 5472 Calculate Full + 5473 Forma&t Report... + 30002 &File + 30003 &Edit + 30004 &View + 30005 &Insert + 30006 F&ormat + 30007 &Tools + 30008 T&able + 30009 &Window + 30010 &Help + 30011 &Data + 30012 &Run + 30013 D&raw + 30014 &Records + 30015 Securi&ty + 30016 &Query + 30017 &Macro + 30018 &Relationships + 30019 &Object + 30020 F&ill + 30021 Cle&ar + 30022 &Chart + 30023 &Name + 30024 &Row + 30025 &Column + 30026 S&heet + 30027 &Placement + 30028 A&uditing + 30029 &Protection + 30030 &Record Macro + 30031 &Filter + 30032 &Group and Outline + 30033 &Master + 30034 &Alignment + 30035 &Align + 30036 Rotate or Fli&p + 30037 Ne&w + 30038 Add-&Ins + 30039 &Go To + 30040 &Quick Sort + 30041 S&QL Specific + 30042 &Size + 30043 &Horizontal Spacing + 30044 &Vertical Spacing + 30045 &Toolbars + 30046 Query Layout + 30047 &Modify Selection + 30048 Document + 30049 Toolbar Name Goes Here + 30050 Change &Button Image + 30051 Other + 30052 &File + 30053 &Help + 30054 File + 30055 Edit + 30056 View + 30057 Insert + 30058 Format + 30059 Tools + 30060 Table + 30061 Window and Help + 30062 Macros + 30063 Fonts + 30064 AutoText + 30065 Styles + 30066 New Menu + 30067 Shortcut Menu + 30068 Built-in Menus + 30069 Sectio&n + 30070 &Binder Help + 30071 Help + 30072 . + 30073 Drawing + 30074 Mail Merge + 30075 Borders + 30076 Insert Merge Field + 30077 Insert Word Field + 30078 O&rder + 30079 &Distribute + 30080 &Change AutoShape + 30081 &Journal + 30082 &Nudge + 30083 A&ction + 30084 &Snap + 30085 Gridline Color + 30086 Font Color + 30087 Pattern + 30088 Border Color + 30089 Built-in Menus + 30090 Context Menus + 30091 &Make Same Size + 30092 &Center in Form + 30093 A&rrange Buttons + 30094 &Hyperlink + 30095 Sen&d To + 30096 A&utoCorrect + 30097 AutoManager + 30098 Synonyms + 30099 Fo&nt + 30100 Wor&k + 30101 Get External &Data + 30102 C&hange To + 30103 &Sort + 30104 Anal&yze + 30105 Re&plication + 30106 Office &Links + 30107 Database Ob&jects + 30108 &Zoom + 30109 P&ages + 30110 &Arrange Icons + 30111 Paragraph &Direction + 30112 &Object + 30113 View &Attachments + 30114 &Folder + 30115 &Message + 30116 &New + 30117 Ne&xt + 30118 Pre&vious + 30119 &Note + 30120 &Number of Days + 30121 E&xpand/Collapse Groups + 30122 Appointme&nt + 30123 C&olor + 30124 Current &View + 30125 Open Special Fol&der + 30126 Save Attac&hments + 30127 T&ask + 30128 TaskPad Sett&ings + 30129 Tas&kPad View + 30130 Cont&act + 30131 Co&mpose + 30132 Prin&t Setup + 30133 &Mail + 30134 Publis&hing + 30135 Commen&ts + 30136 Phone&tic Guide + 30137 Con&ditions + 30138 &Track Changes + 30139 &Validation + 30140 dummy + 30141 C&ontacts + 30142 &Calendar + 30143 Arrang&e + 30144 Speed &Dial + 30145 Fo&rm + 30146 &Layout + 30147 &Redial + 30148 Si&ze To + 30149 Tas&ks + 30150 Datasheet + 30151 Records + 30152 Query Design + 30153 Form/Report Design + 30154 Module Design + 30155 All Tables + 30156 All Queries + 30157 All Forms + 30158 All Reports + 30159 All Macros + 30160 All Modules + 30161 ActiveX Controls + 30162 Options + 30163 Te&xt Box + 30164 &Frame + 30165 &Debug + 30166 C&olor + 30167 Favorites + 30168 Font Size + 30169 F&ind All + 30170 &Remote Mail + 30171 Re¤ce + 30172 Page Set&up + 30173 &Dial + 30174 &Align or Distribute + 30175 &Grouping + 30176 Favorites + 30177 A&utoShapes + 30178 I&nternet + 30179 Sourc&e Code Control + 30180 &Picture + 30181 &AutoText + 30182 &Language + 30183 &Mail + 30184 Spelling + 30185 Grammar + 30186 Track Changes + 30187 Hyperlink + 30188 AutoText List Field + 30189 Curve + 30190 Curve Point + 30191 Curve Segment + 30192 Picture + 30193 OLE Object + 30194 Connector + 30195 WordArt + 30196 Rotate Mode + 30197 Comment + 30198 Track Changes Status Bar + 30199 Shapes + 30200 Drop Caps + 30201 Endnotes + 30202 Fields + 30203 Display Fields + 30204 Form Fields + 30205 Footnotes + 30206 Frames + 30207 Headings + 30208 Linked Headings + 30209 Lists + 30210 Tables + 30211 Table Cell + 30212 Table Headings + 30213 Table Lists + 30214 Table Pictures + 30215 Table Text + 30216 Whole Tables + 30217 Linked Whole Tables + 30218 Text + 30219 Linked Text + 30220 R T E Font + 30221 R T E Font Para + 30222 Microsoft on the &Web + 30223 &Movies and Sounds + 30224 Screen + 30225 Sli&de Show + 30226 Go To + 30227 Pointer Options + 30228 Pen Color + 30229 &File + 30230 &Edit + 30231 &Browse + 30232 &Window + 30233 &Database Utilities + 30234 &Bookmarks + 30235 All Commands + 30236 Format + 30237 ActiveX Controls + 30238 Table Design + 30239 Toolbox + 30240 Macro Design + 30241 Data + 30242 Window and Help + 30243 Charting + 30244 Forms + 30245 Custom + 30246 AutoShapes + 30247 Control Toolbox + 30248 PivotTable + 30249 Web + 30250 Source Code Control + 30251 &Group and Outline + 30252 &Select + 30253 &PivotTable + 30254 For&mulas + 30255 Prin&t Area + 30256 NYI + 30257 Title Bar + 30258 Design View Title Bar + 30259 Design View Upper Pane + 30260 Design View Lower Pane + 30261 Properties + 30262 Title Bar + 30263 Upper Pane + 30264 Lower Pane + 30265 Properties + 30266 General + 30267 Table Field List + 30268 Query Field List + 30269 Join + 30270 Datasheet View Title Bar + 30271 Datasheet View Column + 30272 Datasheet View Row + 30273 Datasheet View Cell + 30274 Design View General + 30275 Design View Field List + 30276 Join + 30277 Design View Grid + 30278 SQL Title Bar + 30279 SQL Text + 30280 Properties + 30281 Datasheet View Title Bar + 30282 Datasheet View Column + 30283 Datasheet View Row + 30284 Datasheet View Cell + 30285 Title Bar + 30286 Field + 30287 Filter By Form + 30288 Design View Title Bar + 30289 Design View Form + 30290 Design View Section + 30291 Design View Control + 30292 Design View Label + 30293 Form Design LabelX + 30294 Design View ActiveX Control + 30295 Design View Title Bar + 30296 Design View Report + 30297 Design View Section + 30298 Design View Control + 30299 Properties + 30300 Form View Title Bar + 30301 Form View Subform + 30302 Form View Control + 30303 Form View Subform Control + 30304 Form View Record + 30305 Datasheet View Title Bar + 30306 Datasheet View Column + 30307 Datasheet View Subform Column + 30308 Datasheet View Row + 30309 Datasheet View Cell + 30310 Print Preview + 30311 Title Bar + 30312 Upper Pane + 30313 Condition + 30314 Argument + 30315 Module Uncompiled + 30316 Module Compiled + 30317 Immediate Pane + 30318 Locals Pane + 30319 Object Browser + 30320 Watch Pane + 30321 Table / Query + 30322 Form + 30323 Report + 30324 Macro + 30325 Module + 30326 Background + 30327 Macro-defined Menu + 30328 &Go + 30329 Left Pane + 30330 Slide Show + 30331 Slide Miniature + 30332 Slider Sorter + 30333 Outliner + 30334 Non-default drag-and-drop + 30335 Document + 30336 Nondefault Drag and Drop + 30337 ActiveX Control + 30338 OLE Shared + 30339 Global + 30340 Arrange Icons + 30341 Filter + 30342 Get External Data + 30343 Workbook tabs + 30344 Cell + 30345 Row + 30346 Column + 30347 Cell + 30348 Row + 30349 Column + 30350 Ply + 30351 XLM Cell + 30352 Desktop + 30353 AutoFill + 30354 Button + 30355 Textbox + 30356 Dialog + 30357 Series + 30358 Plot Area + 30359 Floor and Walls + 30360 Trendline + 30361 Chart + 30362 Formula Bar + 30363 PivotTable + 30364 Query + 30365 AutoCalculate + 30366 Object / Plot + 30367 Title Bar (Charting) + 30368 Title Bar + 30369 PivotTable Select + 30370 PivotTable Grouping + 30371 PivotTable Formulas + 30372 Excel Control + 30373 Custom + 30374 Tab Control + 30375 Whole Document (Chart) + 30376 Black and White + 30377 Sav&e Form To + 30378 &View + 30379 &Macro + 30380 Database + 30381 Filter + 30382 Form + 30383 Index + 30384 Macro + 30385 Module + 30386 Query + 30387 Relationship + 30388 Report + 30389 Table + 30390 Custom + 30391 Notes View Slide + 30392 By &Title + 30393 &Custom show + 30394 Hyperlink + 30395 Slide Show Browse Mode + 30396 Save to &HTML/Web Formats + 30397 &Outlook Help + 30398 &Toggle + 30399 Draw + 30400 Text + 30401 SlideShow + 30402 Microsoft on the &Web + 30403 Bac&kground + 30404 Chart + 30405 Background Proofing Status Bar + 30406 Field Display List Numbers + 30407 Help + 30408 &Preset Animation + 30409 Inline Picture + 30410 Floating Picture + 30411 &Alignment + 30412 Table Thes&aurus + 30413 &Thesaurus + 30414 S&ynonyms + 30415 &File + 30416 &Edit + 30417 &View + 30418 &Insert + 30419 F&ormat + 30420 &Tools + 30421 Work + 30422 Document map + 30423 &AutoText + 30424 Fon&t Alignment + 30425 Control + 30426 Hyperlink Cascade + 30427 Mac Future Use + 30428 Wi&zard + 30429 Glossar&y + 30430 Mac Future Use + 30431 Mac Future Use + 30432 Mac Future Use + 30433 Mac Future Use + 30434 Mac Future Use + 30435 Mac Future Use + 30436 Mac Future Use + 30437 &Office Assistant + 30438 Horizontal Line Popup + 30439 T&able + 30440 S&how Panes + 30441 &Common Tasks + 30442 Assign &Hyperlink + 30443 &Language + 30444 &Insert + 30445 &Delete + 30446 Sele&ct + 30447 Con&vert + 30448 &Online Broadcast + 30449 Show or Hide &Toolbars + 30450 &Add or Remove Buttons + 30451 AutoSignature + 30452 F&rames + 30453 &Subdatasheet + 30454 &Diagram + 30455 Vi&ew Direction + 30456 Grammar (2) + 30457 Tab Control on Report Design + 30458 Combined Preview + 30459 &AutoFit + 30460 &AutoFit + 30461 Cell Ali&gnment + 30462 &Insert Table + 30463 Asian &Layout + 30464 Conver&t Database + 30465 Back&ground + 30466 &Dummy + 30467 F&ragments + 30468 O&nline Collaboration + 30469 &PivotChart + 30470 All Views + 30471 All Database Diagrams + 30472 All Stored Procedures + 30473 All Web Pages + 30474 Notes Pane + 30475 S&ynonyms + 30476 &Add to Group + 30477 Too&ls + 30478 &View + 30479 Arrange &Icons + 30480 &ActiveX Control + 30481 &Toolbox + 30482 &View Design + 30483 &Diagram + 30484 Table &Direction + 30485 Ord&er + 30486 Frameset Border Popup + 30487 Chinese Translation + 31101 Discussio&ns + 31102 View Design + 31103 Other + 31104 View + 31105 Stored Procedure + 31106 Diagram + 31107 Top Pane + 31108 Top Pane Table Title Bar + 31109 Top Pane Multi-select + 31110 Top Pane All Columns + 31111 Top Pane Field Item + 31112 Grid Pane + 31113 Join Line + 31114 SQL Pane + 31115 Diagram Designer Background + 31116 Diagram Designer Table + 31117 Diagram Designer Join Line + 31118 Stored Procedure Design/Trigger Editor + 31119 Page Design Section/Control + 31120 Data Page + 31121 Ite&ms + 31122 HTML Form Field + 31123 Internet Ca&ll + 31124 Current Vie&w + 31125 S&end/Receive + 31126 &Junk E-mail + 31127 Sync&hronize + 31128 S&hare + 31129 &Synchronize + 31130 Microsoft Fa&x Tools + 31131 Microsoft &Mail Tools + 31132 &Forms + 31133 Up&date Free/Busy + 31134 Preview Pa&ne + 31135 All Commands + 31136 Web + 31137 Built-in Menus + 31138 &Color + 31139 &Fonts + 31140 &Encoding + 31141 &Encoding + 31142 Do&wnload + 31143 &Style + 31144 S&end Using + 31145 &Signature + 31146 New &Mail Message Using + 31147 &More + 31148 &More + 31149 &Actions + 31150 Dial-Up &Connection + 31151 L&ink + 31152 &Link + 31153 Mi&crosoft Office diff --git a/xl-2003-samples/08/CommandBar-NewMenu.xls b/xl-2003-samples/08/CommandBar-NewMenu.xls new file mode 100644 index 0000000..a30a77a Binary files /dev/null and b/xl-2003-samples/08/CommandBar-NewMenu.xls differ diff --git a/xl-2003-samples/08/CommandBar.xls b/xl-2003-samples/08/CommandBar.xls new file mode 100644 index 0000000..378c16f Binary files /dev/null and b/xl-2003-samples/08/CommandBar.xls differ diff --git a/xl-2003-samples/09/Share.xlt b/xl-2003-samples/09/Share.xlt new file mode 100644 index 0000000..1f9a20e Binary files /dev/null and b/xl-2003-samples/09/Share.xlt differ diff --git a/xl-2003-samples/09/Speedy.xlt b/xl-2003-samples/09/Speedy.xlt new file mode 100644 index 0000000..aea4a11 Binary files /dev/null and b/xl-2003-samples/09/Speedy.xlt differ diff --git a/xl-2003-samples/10/Chart.xls b/xl-2003-samples/10/Chart.xls new file mode 100644 index 0000000..69798a2 Binary files /dev/null and b/xl-2003-samples/10/Chart.xls differ diff --git a/xl-2003-samples/10/Shapes.xls b/xl-2003-samples/10/Shapes.xls new file mode 100644 index 0000000..964882b Binary files /dev/null and b/xl-2003-samples/10/Shapes.xls differ diff --git a/xl-2003-samples/10/Trend.xls b/xl-2003-samples/10/Trend.xls new file mode 100644 index 0000000..4f5e692 Binary files /dev/null and b/xl-2003-samples/10/Trend.xls differ diff --git a/xl-2003-samples/10/d_20030501.xls b/xl-2003-samples/10/d_20030501.xls new file mode 100644 index 0000000..4b42985 Binary files /dev/null and b/xl-2003-samples/10/d_20030501.xls differ diff --git a/xl-2003-samples/10/d_20030502.xls b/xl-2003-samples/10/d_20030502.xls new file mode 100644 index 0000000..ff70577 Binary files /dev/null and b/xl-2003-samples/10/d_20030502.xls differ diff --git a/xl-2003-samples/10/d_20030503.xls b/xl-2003-samples/10/d_20030503.xls new file mode 100644 index 0000000..3c75ea4 Binary files /dev/null and b/xl-2003-samples/10/d_20030503.xls differ diff --git a/xl-2003-samples/10/d_20030504.xls b/xl-2003-samples/10/d_20030504.xls new file mode 100644 index 0000000..4d0304d Binary files /dev/null and b/xl-2003-samples/10/d_20030504.xls differ diff --git a/xl-2003-samples/10/d_20030505.xls b/xl-2003-samples/10/d_20030505.xls new file mode 100644 index 0000000..331fcc5 Binary files /dev/null and b/xl-2003-samples/10/d_20030505.xls differ diff --git a/xl-2003-samples/10/d_20030506.xls b/xl-2003-samples/10/d_20030506.xls new file mode 100644 index 0000000..dc01581 Binary files /dev/null and b/xl-2003-samples/10/d_20030506.xls differ diff --git a/xl-2003-samples/10/d_20030507.xls b/xl-2003-samples/10/d_20030507.xls new file mode 100644 index 0000000..4de16c7 Binary files /dev/null and b/xl-2003-samples/10/d_20030507.xls differ diff --git a/xl-2003-samples/10/d_20030508.xls b/xl-2003-samples/10/d_20030508.xls new file mode 100644 index 0000000..afaa264 Binary files /dev/null and b/xl-2003-samples/10/d_20030508.xls differ diff --git a/xl-2003-samples/10/d_20030509.xls b/xl-2003-samples/10/d_20030509.xls new file mode 100644 index 0000000..8e1aab7 Binary files /dev/null and b/xl-2003-samples/10/d_20030509.xls differ diff --git a/xl-2003-samples/10/d_20030510.xls b/xl-2003-samples/10/d_20030510.xls new file mode 100644 index 0000000..29443e5 Binary files /dev/null and b/xl-2003-samples/10/d_20030510.xls differ diff --git a/xl-2003-samples/10/d_20030511.xls b/xl-2003-samples/10/d_20030511.xls new file mode 100644 index 0000000..d20831e Binary files /dev/null and b/xl-2003-samples/10/d_20030511.xls differ diff --git a/xl-2003-samples/10/d_20030512.xls b/xl-2003-samples/10/d_20030512.xls new file mode 100644 index 0000000..ebbf9e8 Binary files /dev/null and b/xl-2003-samples/10/d_20030512.xls differ diff --git a/xl-2003-samples/10/d_20030513.xls b/xl-2003-samples/10/d_20030513.xls new file mode 100644 index 0000000..caae20c Binary files /dev/null and b/xl-2003-samples/10/d_20030513.xls differ diff --git a/xl-2003-samples/10/d_20030514.xls b/xl-2003-samples/10/d_20030514.xls new file mode 100644 index 0000000..96a7736 Binary files /dev/null and b/xl-2003-samples/10/d_20030514.xls differ diff --git a/xl-2003-samples/10/d_20030515.xls b/xl-2003-samples/10/d_20030515.xls new file mode 100644 index 0000000..1d5c2f8 Binary files /dev/null and b/xl-2003-samples/10/d_20030515.xls differ diff --git a/xl-2003-samples/10/d_20030516.xls b/xl-2003-samples/10/d_20030516.xls new file mode 100644 index 0000000..cea5215 Binary files /dev/null and b/xl-2003-samples/10/d_20030516.xls differ diff --git a/xl-2003-samples/10/d_20030517.xls b/xl-2003-samples/10/d_20030517.xls new file mode 100644 index 0000000..f432b05 Binary files /dev/null and b/xl-2003-samples/10/d_20030517.xls differ diff --git a/xl-2003-samples/10/d_20030518.xls b/xl-2003-samples/10/d_20030518.xls new file mode 100644 index 0000000..a49ccc2 Binary files /dev/null and b/xl-2003-samples/10/d_20030518.xls differ diff --git a/xl-2003-samples/10/d_20030519.xls b/xl-2003-samples/10/d_20030519.xls new file mode 100644 index 0000000..f63022b Binary files /dev/null and b/xl-2003-samples/10/d_20030519.xls differ diff --git a/xl-2003-samples/10/d_20030520.xls b/xl-2003-samples/10/d_20030520.xls new file mode 100644 index 0000000..dca07db Binary files /dev/null and b/xl-2003-samples/10/d_20030520.xls differ diff --git a/xl-2003-samples/10/d_20030521.xls b/xl-2003-samples/10/d_20030521.xls new file mode 100644 index 0000000..3de46ba Binary files /dev/null and b/xl-2003-samples/10/d_20030521.xls differ diff --git a/xl-2003-samples/10/d_20030522.xls b/xl-2003-samples/10/d_20030522.xls new file mode 100644 index 0000000..7ebb0ab Binary files /dev/null and b/xl-2003-samples/10/d_20030522.xls differ diff --git a/xl-2003-samples/10/d_20030523.xls b/xl-2003-samples/10/d_20030523.xls new file mode 100644 index 0000000..5cdff2f Binary files /dev/null and b/xl-2003-samples/10/d_20030523.xls differ diff --git a/xl-2003-samples/10/d_20030524.xls b/xl-2003-samples/10/d_20030524.xls new file mode 100644 index 0000000..5a15faf Binary files /dev/null and b/xl-2003-samples/10/d_20030524.xls differ diff --git a/xl-2003-samples/10/d_20030525.xls b/xl-2003-samples/10/d_20030525.xls new file mode 100644 index 0000000..6529b67 Binary files /dev/null and b/xl-2003-samples/10/d_20030525.xls differ diff --git a/xl-2003-samples/10/d_20030526.xls b/xl-2003-samples/10/d_20030526.xls new file mode 100644 index 0000000..c6aae34 Binary files /dev/null and b/xl-2003-samples/10/d_20030526.xls differ diff --git a/xl-2003-samples/10/d_20030527.xls b/xl-2003-samples/10/d_20030527.xls new file mode 100644 index 0000000..89ded37 Binary files /dev/null and b/xl-2003-samples/10/d_20030527.xls differ diff --git a/xl-2003-samples/10/d_20030528.xls b/xl-2003-samples/10/d_20030528.xls new file mode 100644 index 0000000..d14cbd9 Binary files /dev/null and b/xl-2003-samples/10/d_20030528.xls differ diff --git a/xl-2003-samples/10/d_20030529.xls b/xl-2003-samples/10/d_20030529.xls new file mode 100644 index 0000000..9f06bb9 Binary files /dev/null and b/xl-2003-samples/10/d_20030529.xls differ diff --git a/xl-2003-samples/10/d_20030530.xls b/xl-2003-samples/10/d_20030530.xls new file mode 100644 index 0000000..f9d3815 Binary files /dev/null and b/xl-2003-samples/10/d_20030530.xls differ diff --git a/xl-2003-samples/10/d_20030531.xls b/xl-2003-samples/10/d_20030531.xls new file mode 100644 index 0000000..7e15fad Binary files /dev/null and b/xl-2003-samples/10/d_20030531.xls differ diff --git a/xl-2003-samples/10/displayunitlabel.xls b/xl-2003-samples/10/displayunitlabel.xls new file mode 100644 index 0000000..3b06bdc Binary files /dev/null and b/xl-2003-samples/10/displayunitlabel.xls differ diff --git a/xl-2003-samples/11/Car_template.xlt b/xl-2003-samples/11/Car_template.xlt new file mode 100644 index 0000000..f8ed44a Binary files /dev/null and b/xl-2003-samples/11/Car_template.xlt differ diff --git a/xl-2003-samples/11/Consolidate.xls b/xl-2003-samples/11/Consolidate.xls new file mode 100644 index 0000000..ea12fad Binary files /dev/null and b/xl-2003-samples/11/Consolidate.xls differ diff --git a/xl-2003-samples/11/DB_Functions.xls b/xl-2003-samples/11/DB_Functions.xls new file mode 100644 index 0000000..9291262 Binary files /dev/null and b/xl-2003-samples/11/DB_Functions.xls differ diff --git a/xl-2003-samples/11/DB_Share.xls b/xl-2003-samples/11/DB_Share.xls new file mode 100644 index 0000000..887fbcc Binary files /dev/null and b/xl-2003-samples/11/DB_Share.xls differ diff --git a/xl-2003-samples/11/Staff.doc b/xl-2003-samples/11/Staff.doc new file mode 100644 index 0000000..9f0e1de Binary files /dev/null and b/xl-2003-samples/11/Staff.doc differ diff --git a/xl-2003-samples/11/Staff.xls b/xl-2003-samples/11/Staff.xls new file mode 100644 index 0000000..efa31e9 Binary files /dev/null and b/xl-2003-samples/11/Staff.xls differ diff --git a/xl-2003-samples/11/car_2003_05.xls b/xl-2003-samples/11/car_2003_05.xls new file mode 100644 index 0000000..78c3d4d Binary files /dev/null and b/xl-2003-samples/11/car_2003_05.xls differ diff --git a/xl-2003-samples/12/ADO.xls b/xl-2003-samples/12/ADO.xls new file mode 100644 index 0000000..a22f407 Binary files /dev/null and b/xl-2003-samples/12/ADO.xls differ diff --git a/xl-2003-samples/12/MS-Query.xls b/xl-2003-samples/12/MS-Query.xls new file mode 100644 index 0000000..0b84977 Binary files /dev/null and b/xl-2003-samples/12/MS-Query.xls differ diff --git a/xl-2003-samples/12/Nwind.mdb b/xl-2003-samples/12/Nwind.mdb new file mode 100644 index 0000000..e1dac24 Binary files /dev/null and b/xl-2003-samples/12/Nwind.mdb differ diff --git a/xl-2003-samples/12/query-definitions/readme.txt b/xl-2003-samples/12/query-definitions/readme.txt new file mode 100644 index 0000000..a4ec1b8 --- /dev/null +++ b/xl-2003-samples/12/query-definitions/readme.txt @@ -0,0 +1,3 @@ +These files have been created with MS Query. They are provided here only for the reason of completeness. Unforunately, they have little immediate value, as MS Query saves the file names of database files with absolute path names. + +Therefore, the queries can only be used if the database file is at the same place as it was on the computer of the author (I:\Code\xl-2000), or if a editor is used to replace this path by the actual path of NWind.mdb on your computer. diff --git a/xl-2003-samples/12/query-definitions/sample1.dqy b/xl-2003-samples/12/query-definitions/sample1.dqy new file mode 100644 index 0000000..d342604 --- /dev/null +++ b/xl-2003-samples/12/query-definitions/sample1.dqy @@ -0,0 +1,7 @@ +XLODBC +1 +DBQ=I:\Code\XL-2000\NWIND.MDB;DefaultDir=I:\Code\XL-2000;Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=5;SafeTransactions=0;Threads=3;UID=admin;UserCommitSync=Yes; +SELECT Products.ProductID, Products.ProductName, Products.UnitPrice FROM `I:\Code\XL-2000\NWIND`.Products Products + + +ProductID ProductName UnitPrice diff --git a/xl-2003-samples/12/query-definitions/sample2.dqy b/xl-2003-samples/12/query-definitions/sample2.dqy new file mode 100644 index 0000000..a547ffb --- /dev/null +++ b/xl-2003-samples/12/query-definitions/sample2.dqy @@ -0,0 +1,7 @@ +XLODBC +1 +DBQ=I:\Code\XL-2000\Nwind.mdb;DefaultDir=I:\Code\XL-2000;Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=5;SafeTransactions=0;Threads=3;UID=admin;UserCommitSync=Yes; +SELECT Orders.OrderID, Orders.OrderDate, Customers.CompanyName, Min(Employees.LastName) AS 'Min von LastName' FROM `I:\Code\XL-2000\Nwind`.Customers Customers, `I:\Code\XL-2000\Nwind`.Employees Employees, `I:\Code\XL-2000\Nwind`.Orders Orders WHERE Customers.CustomerID = Orders.CustomerID AND Employees.EmployeeID = Orders.EmployeeID AND ((Employees.EmployeeID=7)) GROUP BY Orders.OrderID, Orders.OrderDate, Customers.CompanyName ORDER BY Orders.OrderDate + + +OrderID OrderDate CompanyName Min von LastName diff --git a/xl-2003-samples/12/query-definitions/sample3.dqy b/xl-2003-samples/12/query-definitions/sample3.dqy new file mode 100644 index 0000000..7e77480 --- /dev/null +++ b/xl-2003-samples/12/query-definitions/sample3.dqy @@ -0,0 +1,7 @@ +XLODBC +1 +DBQ=I:\Code\XL-2000\NWIND.MDB;DefaultDir=I:\Code\XL-2000;Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=5;SafeTransactions=0;Threads=3;UserCommitSync=Yes; +SELECT Employees.LastName, Sum(Quantity*UnitPrice) AS 'Sales' FROM `I:\Code\XL-2000\Nwind`.Employees Employees, `I:\Code\XL-2000\Nwind`.`Order Details` `Order Details`, `I:\Code\XL-2000\Nwind`.Orders Orders WHERE `Order Details`.OrderID = Orders.OrderID AND Employees.EmployeeID = Orders.EmployeeID GROUP BY Employees.LastName ORDER BY Sum(Quantity*UnitPrice) DESC + + +LastName Sales diff --git a/xl-2003-samples/12/query-definitions/sample4.dqy b/xl-2003-samples/12/query-definitions/sample4.dqy new file mode 100644 index 0000000..d143c2f --- /dev/null +++ b/xl-2003-samples/12/query-definitions/sample4.dqy @@ -0,0 +1,7 @@ +XLODBC +1 +DBQ=I:\Code\XL-2000\NWIND.MDB;DefaultDir=I:\Code\XL-2000;Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=5;SafeTransactions=0;Threads=3;UserCommitSync=Yes; +SELECT Orders.OrderID, Orders.OrderDate, Employees.LastName AS 'EmployeeName', Shippers.CompanyName AS 'ShipperName', Customers.CompanyName AS 'CustomerName', Customers.Country AS 'CustomerCountry', Products.ProductName, Categories.CategoryName AS 'Category', Suppliers.CompanyName AS 'SuppliersName', `Order Details`.Quantity, `Order Details`.UnitPrice AS 'Price' FROM `I:\Code\XL-2000\Nwind`.Categories Categories, `I:\Code\XL-2000\Nwind`.Customers Customers, `I:\Code\XL-2000\Nwind`.Employees Employees, `I:\Code\XL-2000\Nwind`.`Order Details` `Order Details`, `I:\Code\XL-2000\Nwind`.Orders Orders, `I:\Code\XL-2000\Nwind`.Products Products, `I:\Code\XL-2000\Nwind`.Shippers Shippers, `I:\Code\XL-2000\Nwind`.Suppliers Suppliers WHERE Categories.CategoryID = Products.CategoryID AND Customers.CustomerID = Orders.CustomerID AND Employees.EmployeeID = Orders.EmployeeID AND `Order Details`.OrderID = Orders.OrderID AND `Order Details`.ProductID = Products.ProductID AND Products.SupplierID = Suppliers.SupplierID AND Shippers.ShipperID = Orders.ShipVia ORDER BY Orders.OrderID + + +OrderID OrderDate EmployeeName ShipperName CustomerName CustomerCountry ProductName Category SuppliersName Quantity Price diff --git a/xl-2003-samples/12/query-definitions/sample4a.dqy b/xl-2003-samples/12/query-definitions/sample4a.dqy new file mode 100644 index 0000000..daf7e41 --- /dev/null +++ b/xl-2003-samples/12/query-definitions/sample4a.dqy @@ -0,0 +1,7 @@ +XLODBC +1 +DBQ=d:\code\xl-2000-engl\NWIND.MDB;DefaultDir=d:\code\xl-2000-engl;Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=5;SafeTransactions=0;Threads=3;UserCommitSync=Yes; +SELECT Orders.OrderID, Orders.OrderDate, Employees.LastName AS 'EmployeeName', Shippers.CompanyName AS 'ShipperName', Customers.CompanyName AS 'CustomerName', Customers.Country AS 'CustomerCountry', Products.ProductName, Categories.CategoryName AS 'Category', Suppliers.CompanyName AS 'SuppliersName', `Order Details`.Quantity, `Order Details`.UnitPrice AS 'Price' FROM `d:\code\xl-2000-engl\Nwind`.Categories Categories, `d:\code\xl-2000-engl\Nwind`.Customers Customers, `d:\code\xl-2000-engl\Nwind`.Employees Employees, `d:\code\xl-2000-engl\Nwind`.`Order Details` `Order Details`, `d:\code\xl-2000-engl\Nwind`.Orders Orders, `d:\code\xl-2000-engl\Nwind`.Products Products, `d:\code\xl-2000-engl\Nwind`.Shippers Shippers, `d:\code\xl-2000-engl\Nwind`.Suppliers Suppliers WHERE Categories.CategoryID = Products.CategoryID AND Customers.CustomerID = Orders.CustomerID AND Employees.EmployeeID = Orders.EmployeeID AND `Order Details`.OrderID = Orders.OrderID AND `Order Details`.ProductID = Products.ProductID AND Products.SupplierID = Suppliers.SupplierID AND Shippers.ShipperID = Orders.ShipVia ORDER BY Orders.OrderID + + +OrderID OrderDate EmployeeName ShipperName CustomerName CustomerCountry ProductName Category SuppliersName Quantity Price diff --git a/xl-2003-samples/12/survey/analysedata.xls b/xl-2003-samples/12/survey/analysedata.xls new file mode 100644 index 0000000..59c3c61 Binary files /dev/null and b/xl-2003-samples/12/survey/analysedata.xls differ diff --git a/xl-2003-samples/12/survey/archive/20001006-081456-0001.xls b/xl-2003-samples/12/survey/archive/20001006-081456-0001.xls new file mode 100644 index 0000000..f993499 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20001006-081456-0001.xls differ diff --git a/xl-2003-samples/12/survey/archive/20001006-081457-0002.xls b/xl-2003-samples/12/survey/archive/20001006-081457-0002.xls new file mode 100644 index 0000000..b965786 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20001006-081457-0002.xls differ diff --git a/xl-2003-samples/12/survey/archive/20001006-081458-0003.xls b/xl-2003-samples/12/survey/archive/20001006-081458-0003.xls new file mode 100644 index 0000000..a3dd997 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20001006-081458-0003.xls differ diff --git a/xl-2003-samples/12/survey/archive/20001006-081459-0004.xls b/xl-2003-samples/12/survey/archive/20001006-081459-0004.xls new file mode 100644 index 0000000..0278cd5 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20001006-081459-0004.xls differ diff --git a/xl-2003-samples/12/survey/archive/20001006-081501-0005.xls b/xl-2003-samples/12/survey/archive/20001006-081501-0005.xls new file mode 100644 index 0000000..4046eee Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20001006-081501-0005.xls differ diff --git a/xl-2003-samples/12/survey/archive/20001006-081502-0006.xls b/xl-2003-samples/12/survey/archive/20001006-081502-0006.xls new file mode 100644 index 0000000..16a95ea Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20001006-081502-0006.xls differ diff --git a/xl-2003-samples/12/survey/archive/20001006-081504-0007.xls b/xl-2003-samples/12/survey/archive/20001006-081504-0007.xls new file mode 100644 index 0000000..bcd71ab Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20001006-081504-0007.xls differ diff --git a/xl-2003-samples/12/survey/archive/20001006-081505-0008.xls b/xl-2003-samples/12/survey/archive/20001006-081505-0008.xls new file mode 100644 index 0000000..0aadbbf Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20001006-081505-0008.xls differ diff --git a/xl-2003-samples/12/survey/archive/20001006-081506-0009.xls b/xl-2003-samples/12/survey/archive/20001006-081506-0009.xls new file mode 100644 index 0000000..12e1deb Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20001006-081506-0009.xls differ diff --git a/xl-2003-samples/12/survey/archive/20001006-081507-0010.xls b/xl-2003-samples/12/survey/archive/20001006-081507-0010.xls new file mode 100644 index 0000000..d33a58e Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20001006-081507-0010.xls differ diff --git a/xl-2003-samples/12/survey/archive/20020805-163130-0001.xls b/xl-2003-samples/12/survey/archive/20020805-163130-0001.xls new file mode 100644 index 0000000..84792ae Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20020805-163130-0001.xls differ diff --git a/xl-2003-samples/12/survey/archive/20020805-163131-0002.xls b/xl-2003-samples/12/survey/archive/20020805-163131-0002.xls new file mode 100644 index 0000000..35b8c20 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20020805-163131-0002.xls differ diff --git a/xl-2003-samples/12/survey/archive/20020805-163132-0003.xls b/xl-2003-samples/12/survey/archive/20020805-163132-0003.xls new file mode 100644 index 0000000..6c1a303 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20020805-163132-0003.xls differ diff --git a/xl-2003-samples/12/survey/archive/20020805-163133-0004.xls b/xl-2003-samples/12/survey/archive/20020805-163133-0004.xls new file mode 100644 index 0000000..a278316 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20020805-163133-0004.xls differ diff --git a/xl-2003-samples/12/survey/archive/20020805-163135-0005.xls b/xl-2003-samples/12/survey/archive/20020805-163135-0005.xls new file mode 100644 index 0000000..ac82d91 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20020805-163135-0005.xls differ diff --git a/xl-2003-samples/12/survey/archive/20020805-163136-0006.xls b/xl-2003-samples/12/survey/archive/20020805-163136-0006.xls new file mode 100644 index 0000000..0452a4c Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20020805-163136-0006.xls differ diff --git a/xl-2003-samples/12/survey/archive/20020805-163137-0007.xls b/xl-2003-samples/12/survey/archive/20020805-163137-0007.xls new file mode 100644 index 0000000..1f338e8 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20020805-163137-0007.xls differ diff --git a/xl-2003-samples/12/survey/archive/20020805-163138-0008.xls b/xl-2003-samples/12/survey/archive/20020805-163138-0008.xls new file mode 100644 index 0000000..c1c32d4 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20020805-163138-0008.xls differ diff --git a/xl-2003-samples/12/survey/archive/20020805-163140-0009.xls b/xl-2003-samples/12/survey/archive/20020805-163140-0009.xls new file mode 100644 index 0000000..2f80d32 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20020805-163140-0009.xls differ diff --git a/xl-2003-samples/12/survey/archive/20020805-163141-0010.xls b/xl-2003-samples/12/survey/archive/20020805-163141-0010.xls new file mode 100644 index 0000000..9de501c Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20020805-163141-0010.xls differ diff --git a/xl-2003-samples/12/survey/archive/20030505-182048-0001.xls b/xl-2003-samples/12/survey/archive/20030505-182048-0001.xls new file mode 100644 index 0000000..efdbb97 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20030505-182048-0001.xls differ diff --git a/xl-2003-samples/12/survey/archive/20030505-182049-0002.xls b/xl-2003-samples/12/survey/archive/20030505-182049-0002.xls new file mode 100644 index 0000000..e2b6f14 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20030505-182049-0002.xls differ diff --git a/xl-2003-samples/12/survey/archive/20030505-182050-0003.xls b/xl-2003-samples/12/survey/archive/20030505-182050-0003.xls new file mode 100644 index 0000000..f2149d6 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20030505-182050-0003.xls differ diff --git a/xl-2003-samples/12/survey/archive/20030505-182052-0004.xls b/xl-2003-samples/12/survey/archive/20030505-182052-0004.xls new file mode 100644 index 0000000..36bf208 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20030505-182052-0004.xls differ diff --git a/xl-2003-samples/12/survey/archive/20030505-182053-0005.xls b/xl-2003-samples/12/survey/archive/20030505-182053-0005.xls new file mode 100644 index 0000000..3f8b343 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20030505-182053-0005.xls differ diff --git a/xl-2003-samples/12/survey/archive/20030505-182054-0006.xls b/xl-2003-samples/12/survey/archive/20030505-182054-0006.xls new file mode 100644 index 0000000..6174bec Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20030505-182054-0006.xls differ diff --git a/xl-2003-samples/12/survey/archive/20030505-182055-0007.xls b/xl-2003-samples/12/survey/archive/20030505-182055-0007.xls new file mode 100644 index 0000000..7e80105 Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20030505-182055-0007.xls differ diff --git a/xl-2003-samples/12/survey/archive/20030505-182057-0008.xls b/xl-2003-samples/12/survey/archive/20030505-182057-0008.xls new file mode 100644 index 0000000..a5114cd Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20030505-182057-0008.xls differ diff --git a/xl-2003-samples/12/survey/archive/20030505-182058-0009.xls b/xl-2003-samples/12/survey/archive/20030505-182058-0009.xls new file mode 100644 index 0000000..6f4307f Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20030505-182058-0009.xls differ diff --git a/xl-2003-samples/12/survey/archive/20030505-182059-0010.xls b/xl-2003-samples/12/survey/archive/20030505-182059-0010.xls new file mode 100644 index 0000000..9866f0c Binary files /dev/null and b/xl-2003-samples/12/survey/archive/20030505-182059-0010.xls differ diff --git a/xl-2003-samples/12/survey/dbsurvey.mdb b/xl-2003-samples/12/survey/dbsurvey.mdb new file mode 100644 index 0000000..57fffb2 Binary files /dev/null and b/xl-2003-samples/12/survey/dbsurvey.mdb differ diff --git a/xl-2003-samples/12/survey/dbsurvey.mdb.bak b/xl-2003-samples/12/survey/dbsurvey.mdb.bak new file mode 100644 index 0000000..b74ecad Binary files /dev/null and b/xl-2003-samples/12/survey/dbsurvey.mdb.bak differ diff --git a/xl-2003-samples/12/survey/survey.xls b/xl-2003-samples/12/survey/survey.xls new file mode 100644 index 0000000..3367aab Binary files /dev/null and b/xl-2003-samples/12/survey/survey.xls differ diff --git a/xl-2003-samples/12/survey/survey_template.xls b/xl-2003-samples/12/survey/survey_template.xls new file mode 100644 index 0000000..4fdf04d Binary files /dev/null and b/xl-2003-samples/12/survey/survey_template.xls differ diff --git a/xl-2003-samples/13/Nwind.mdb b/xl-2003-samples/13/Nwind.mdb new file mode 100644 index 0000000..e1dac24 Binary files /dev/null and b/xl-2003-samples/13/Nwind.mdb differ diff --git a/xl-2003-samples/13/Pivot.xls b/xl-2003-samples/13/Pivot.xls new file mode 100644 index 0000000..6e78150 Binary files /dev/null and b/xl-2003-samples/13/Pivot.xls differ diff --git a/xl-2003-samples/13/Subtotal.xls b/xl-2003-samples/13/Subtotal.xls new file mode 100644 index 0000000..75f3618 Binary files /dev/null and b/xl-2003-samples/13/Subtotal.xls differ diff --git a/xl-2003-samples/13/cube1.oqy b/xl-2003-samples/13/cube1.oqy new file mode 100644 index 0000000..2679273 --- /dev/null +++ b/xl-2003-samples/13/cube1.oqy @@ -0,0 +1,5 @@ +QueryType=OLEDB +Version=1 +CommandType=Cube +Connection=Provider=MSOLAP; Initial Catalog=[OCWCube]; Data Source=D:\code\Xl-2000-engl\olap.cub; CreateCube=CREATE CUBE [OCWCube] ( DIMENSION [OrderDate] TYPE TIME, LEVEL [All] TYPE ALL, LEVEL [Year] TYPE YEAR, LEVEL [Quarter] TYPE QUARTER, LEVEL [Month] TYPE MONTH, LEVEL [Day] TYPE DAY, DIMENSION [LastName], LEVEL [All] TYPE ALL, LEVEL [LastName], DIMENSION [CategoryName], LEVEL [All] TYPE ALL, LEVEL [CategoryName], MEASURE [Count Of OrderID] FUNCTION COUNT, MEASURE [Sum Of Quantity] FUNCTION SUM, MEASURE [Sum Of UnitPrice] FUNCTION SUM ); InsertInto=INSERT INTO OCWCube([Count Of OrderID], [OrderDate], [LastName].[LastName], SKIPONECOLUMN, SKIPONECOLUMN, SKIPONECOLUMN, SKIPONECOLUMN, [CategoryName].[CategoryName], SKIPONECOLUMN, [Sum Of Quantity], [Sum Of UnitPrice]) OPTIONS ATTEMPT_ANALYSIS SELECT Orders.OrderID, Orders.OrderDate, Employees.LastName, Shippers.CompanyName, Customers.CompanyName, Customers.Country, Products.ProductName, Categories.CategoryName, Suppliers.CompanyName, `Order Details`.Quantity, `Order Details`.UnitPrice FROM `d:\code\xl-2000-engl\Nwind`.Categories Categories, `d:\code\xl-2000-engl\Nwind`.Customers Customers, `d:\code\xl-2000-engl\Nwind`.Employees Employees, `d:\code\xl-2000-engl\Nwind`.`Order Details` `Order Details`, `d:\code\xl-2000-engl\Nwind`.Orders Orders, `d:\code\xl-2000-engl\Nwind`.Products Products, `d:\code\xl-2000-engl\Nwind`.Shippers Shippers, `d:\code\xl-2000-engl\Nwind`.Suppliers Suppliers WHERE Categories.CategoryID = Products.CategoryID AND Customers.CustomerID = Orders.CustomerID AND Employees.EmployeeID = Orders.EmployeeID AND `Order Details`.OrderID = Orders.OrderID AND `Order Details`.ProductID = Products.ProductID AND Products.SupplierID = Suppliers.SupplierID AND Shippers.ShipperID = Orders.ShipVia ORDER BY Orders.OrderID; Source_DSN="DBQ=d:\code\xl-2000-engl\NWIND.MDB;DefaultDir=d:\code\xl-2000-engl;Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=5;SafeTransactions=0;Threads=3;UserCommitSync=Yes;";UseExistingFile=True +CommandText=OCWCube diff --git a/xl-2003-samples/13/olap.cub b/xl-2003-samples/13/olap.cub new file mode 100644 index 0000000..d8709cc Binary files /dev/null and b/xl-2003-samples/13/olap.cub differ diff --git a/xl-2003-samples/13/sql2string/readme.txt b/xl-2003-samples/13/sql2string/readme.txt new file mode 100644 index 0000000..848aaf7 --- /dev/null +++ b/xl-2003-samples/13/sql2string/readme.txt @@ -0,0 +1,8 @@ +sql2string.exe has been developed using VB6. Please use setup.exe +to install the program and the necessary libraries. If you +want to change the program, you need Visual Basic 6. + +sql2string.exe wurde mit VB6 programmiert. Vor der ersten +Ausführung müssen Sie das Setup-Programm verwenden, um die +erforderlichen Bibliotheken zu installieren. Um den Quellcode +zu bearbeiten, benötigen Sie Visual Basic 6. Version 6. \ No newline at end of file diff --git a/xl-2003-samples/13/sql2string/setup/Setup.Lst b/xl-2003-samples/13/sql2string/setup/Setup.Lst new file mode 100644 index 0000000..0dfc436 --- /dev/null +++ b/xl-2003-samples/13/sql2string/setup/Setup.Lst @@ -0,0 +1,76 @@ +[Bootstrap] +SetupTitle=Install +SetupText=Copying Files, please stand by. +CabFile=sql2string.CAB +Spawn=Setup1.exe +Uninstal=st6unst.exe +TmpDir=msftqws.pdw +Cabs=1 + +[Bootstrap Files] +File1=@vb6stkit.dll,$(WinSysPathSysFile),,,3/26/99 5:38:48 AM,101888,6.0.84.50 +File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/30/98 11:00:00 PM,22288,4.71.1460.1 +File3=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,3/8/99 11:02:26 AM,17920,2.40.4275.1 +File4=@ASYCFILT.DLL,$(WinSysPathSysFile),,,3/8/99 11:02:26 AM,147728,2.40.4275.1 +File5=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,3/8/99 11:02:26 AM,164112,5.0.4275.1 +File6=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,3/8/99 11:02:26 AM,598288,2.40.4275.1 +File7=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,5/9/99 11:00:00 PM,1384448,6.0.84.95 + +[IconGroups] +Group0=Projekt1 +PrivateGroup0=0 +Parent0=$(Programs) + +[Projekt1] +Icon1="sql2string.exe" +Title1=sql2string +StartIn1=$(AppPath) + +[Setup] +Title=Projekt1 +DefaultDir=$(ProgramFiles)\Projekt1 +AppExe=sql2string.exe +AppToUninstall=sql2string.exe + +[Setup1 Files] +File1=@sql2string.exe,$(AppPath),,,1/21/00 4:46:16 PM,28672,1.0.0.0 + +; Die folgenden Zeilen können gelöscht werden, um zusätzlichen +; Platz für die Anpassung dieser Datei auf einer vollen Installationsdiskette +; zu schaffen. +; +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX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XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX diff --git a/xl-2003-samples/13/sql2string/setup/Support/ASYCFILT.DLL b/xl-2003-samples/13/sql2string/setup/Support/ASYCFILT.DLL new file mode 100644 index 0000000..dd7163e Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/ASYCFILT.DLL differ diff --git a/xl-2003-samples/13/sql2string/setup/Support/COMCAT.DLL b/xl-2003-samples/13/sql2string/setup/Support/COMCAT.DLL new file mode 100644 index 0000000..613109a Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/COMCAT.DLL differ diff --git a/xl-2003-samples/13/sql2string/setup/Support/OLEAUT32.DLL b/xl-2003-samples/13/sql2string/setup/Support/OLEAUT32.DLL new file mode 100644 index 0000000..32fea23 Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/OLEAUT32.DLL differ diff --git a/xl-2003-samples/13/sql2string/setup/Support/OLEPRO32.DLL b/xl-2003-samples/13/sql2string/setup/Support/OLEPRO32.DLL new file mode 100644 index 0000000..f68336a Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/OLEPRO32.DLL differ diff --git a/xl-2003-samples/13/sql2string/setup/Support/Projekt1.DDF b/xl-2003-samples/13/sql2string/setup/Support/Projekt1.DDF new file mode 100644 index 0000000..e8e3df6 --- /dev/null +++ b/xl-2003-samples/13/sql2string/setup/Support/Projekt1.DDF @@ -0,0 +1,24 @@ +.OPTION EXPLICIT +.Set Cabinet=off +.Set Compress=off +.Set MaxDiskSize=CDROM +.Set ReservePerCabinetSize=6144 +.Set DiskDirectoryTemplate=".." +.Set CompressionType=MSZIP +.Set CompressionLevel=7 +.Set CompressionMemory=21 +.Set CabinetNameTemplate="sql2string.CAB" +"Setup.Lst" +"setup.exe" +.Set Cabinet=on +.Set Compress=on +"sql2string.exe" +"msvbvm60.dll" +"OLEAUT32.DLL" +"OLEPRO32.DLL" +"ASYCFILT.DLL" +"STDOLE2.TLB" +"COMCAT.DLL" +"SETUP1.EXE" +"VB6STKIT.DLL" +"ST6UNST.EXE" diff --git a/xl-2003-samples/13/sql2string/setup/Support/STDOLE2.TLB b/xl-2003-samples/13/sql2string/setup/Support/STDOLE2.TLB new file mode 100644 index 0000000..337294a Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/STDOLE2.TLB differ diff --git a/xl-2003-samples/13/sql2string/setup/Support/msvbvm60.dll b/xl-2003-samples/13/sql2string/setup/Support/msvbvm60.dll new file mode 100644 index 0000000..8c59979 Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/msvbvm60.dll differ diff --git a/xl-2003-samples/13/sql2string/setup/Support/setup.exe b/xl-2003-samples/13/sql2string/setup/Support/setup.exe new file mode 100644 index 0000000..279df5c Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/setup.exe differ diff --git a/xl-2003-samples/13/sql2string/setup/Support/setup.inf b/xl-2003-samples/13/sql2string/setup/Support/setup.inf new file mode 100644 index 0000000..7d3cbb0 --- /dev/null +++ b/xl-2003-samples/13/sql2string/setup/Support/setup.inf @@ -0,0 +1,29 @@ +;*** BEGIN ********************************************************** +;** ** +;** Automatically generated on: Thu Aug 17 16:19:54 2000 ** +;** ** +;** MakeCAB Version: (32) 1.00.603.4 (06/25/98) ** +;** ** +;*** BEGIN ********************************************************** +[disk list] +1,Disk 1 +[cabinet list] +1,1,sql2string.CAB +[file list] +1,0,Setup.Lst,3599 +1,0,setup.exe,139776 +1,1,sql2string.exe,28672 +1,1,msvbvm60.dll,1384448 +1,1,OLEAUT32.DLL,598288 +1,1,OLEPRO32.DLL,164112 +1,1,ASYCFILT.DLL,147728 +1,1,STDOLE2.TLB,17920 +1,1,COMCAT.DLL,22288 +1,1,SETUP1.EXE,249856 +1,1,VB6STKIT.DLL,101888 +1,1,ST6UNST.EXE,73216 +;*** END ************************************************************ +;** ** +;** Automatically generated on: Thu Aug 17 16:19:54 2000 ** +;** ** +;*** END ************************************************************ diff --git a/xl-2003-samples/13/sql2string/setup/Support/setup.lst b/xl-2003-samples/13/sql2string/setup/Support/setup.lst new file mode 100644 index 0000000..0dfc436 --- /dev/null +++ b/xl-2003-samples/13/sql2string/setup/Support/setup.lst @@ -0,0 +1,76 @@ +[Bootstrap] +SetupTitle=Install +SetupText=Copying Files, please stand by. +CabFile=sql2string.CAB +Spawn=Setup1.exe +Uninstal=st6unst.exe +TmpDir=msftqws.pdw +Cabs=1 + +[Bootstrap Files] +File1=@vb6stkit.dll,$(WinSysPathSysFile),,,3/26/99 5:38:48 AM,101888,6.0.84.50 +File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/30/98 11:00:00 PM,22288,4.71.1460.1 +File3=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,3/8/99 11:02:26 AM,17920,2.40.4275.1 +File4=@ASYCFILT.DLL,$(WinSysPathSysFile),,,3/8/99 11:02:26 AM,147728,2.40.4275.1 +File5=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,3/8/99 11:02:26 AM,164112,5.0.4275.1 +File6=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,3/8/99 11:02:26 AM,598288,2.40.4275.1 +File7=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,5/9/99 11:00:00 PM,1384448,6.0.84.95 + +[IconGroups] +Group0=Projekt1 +PrivateGroup0=0 +Parent0=$(Programs) + +[Projekt1] +Icon1="sql2string.exe" +Title1=sql2string +StartIn1=$(AppPath) + +[Setup] +Title=Projekt1 +DefaultDir=$(ProgramFiles)\Projekt1 +AppExe=sql2string.exe +AppToUninstall=sql2string.exe + +[Setup1 Files] +File1=@sql2string.exe,$(AppPath),,,1/21/00 4:46:16 PM,28672,1.0.0.0 + +; Die folgenden Zeilen können gelöscht werden, um zusätzlichen +; Platz für die Anpassung dieser Datei auf einer vollen Installationsdiskette +; zu schaffen. +; +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXX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XXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX diff --git a/xl-2003-samples/13/sql2string/setup/Support/setup.rpt b/xl-2003-samples/13/sql2string/setup/Support/setup.rpt new file mode 100644 index 0000000..78ed8ff --- /dev/null +++ b/xl-2003-samples/13/sql2string/setup/Support/setup.rpt @@ -0,0 +1,8 @@ +MakeCAB Report: Thu Aug 17 16:19:54 2000 + +Total files: 12 +Bytes before: 2,931,791 +Bytes after: 1,486,824 +After/Before: 50.71% compression +Time: 5.82 seconds ( 0 hr 0 min 5.82 sec) +Throughput: 492.11 Kb/second diff --git a/xl-2003-samples/13/sql2string/setup/Support/setup1.exe b/xl-2003-samples/13/sql2string/setup/Support/setup1.exe new file mode 100644 index 0000000..a61705d Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/setup1.exe differ diff --git a/xl-2003-samples/13/sql2string/setup/Support/sql2string.BAT b/xl-2003-samples/13/sql2string/setup/Support/sql2string.BAT new file mode 100644 index 0000000..8fa9bc6 --- /dev/null +++ b/xl-2003-samples/13/sql2string/setup/Support/sql2string.BAT @@ -0,0 +1,4 @@ +@echo off +ECHO Diese Stapelverarbeitungsdatei zum Erstellen einer neuen CAB-Datei verwenden. Drücken Sie STRG-C um abzubrechen. +pause +"J:\bin-srv\vs98\VB98\Wizards\PDWizard\MAKECAB.EXE" /f "Projekt1.DDF" diff --git a/xl-2003-samples/13/sql2string/setup/Support/sql2string.exe b/xl-2003-samples/13/sql2string/setup/Support/sql2string.exe new file mode 100644 index 0000000..2f6492a Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/sql2string.exe differ diff --git a/xl-2003-samples/13/sql2string/setup/Support/st6unst.exe b/xl-2003-samples/13/sql2string/setup/Support/st6unst.exe new file mode 100644 index 0000000..6881a9a Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/st6unst.exe differ diff --git a/xl-2003-samples/13/sql2string/setup/Support/vb6stkit.dll b/xl-2003-samples/13/sql2string/setup/Support/vb6stkit.dll new file mode 100644 index 0000000..fd87588 Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/Support/vb6stkit.dll differ diff --git a/xl-2003-samples/13/sql2string/setup/setup.exe b/xl-2003-samples/13/sql2string/setup/setup.exe new file mode 100644 index 0000000..279df5c Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/setup.exe differ diff --git a/xl-2003-samples/13/sql2string/setup/sql2string.CAB b/xl-2003-samples/13/sql2string/setup/sql2string.CAB new file mode 100644 index 0000000..25c3f64 Binary files /dev/null and b/xl-2003-samples/13/sql2string/setup/sql2string.CAB differ diff --git a/xl-2003-samples/13/sql2string/sql2string.PDM b/xl-2003-samples/13/sql2string/sql2string.PDM new file mode 100644 index 0000000..4651603 --- /dev/null +++ b/xl-2003-samples/13/sql2string/sql2string.PDM @@ -0,0 +1,94 @@ +[Root] +Most Recent Package=Standardmäßiges Setup-Paket 1 + + +[Package|Standardmäßiges Setup-Paket 1|Root] +SubWizProgID=PDWizard.SetupPkgSubWiz +BuildFolder=h:\TEMP\setup + +[Package|Standardmäßiges Setup-Paket 1|Configure DAO ISAMs] +Applicable=No + +[Package|Standardmäßiges Setup-Paket 1|Configure DAO ODBC] +JetWorkspace= +ODBCDirect= + +[Package|Standardmäßiges Setup-Paket 1|Files Found] + +[Package|Standardmäßiges Setup-Paket 1|Files Released] + +[Package|Standardmäßiges Setup-Paket 1|Missing Dependency Information] + +[Package|Standardmäßiges Setup-Paket 1|Out-of-Date Dependency Information] + +[Package|Standardmäßiges Setup-Paket 1|Files Added] + +[Package|Standardmäßiges Setup-Paket 1|Files Removed] +j:\bin-srv\vs98\vb98\wizards\pdwizard\redist\mdac_typ.exe= + +[Package|Standardmäßiges Setup-Paket 1|Files In Project] +H:\WINNT4\system32\msvbvm60.dll=Yes +H:\WINNT4\system32\OLEAUT32.DLL=Yes +H:\WINNT4\system32\OLEPRO32.DLL=Yes +H:\WINNT4\system32\ASYCFILT.DLL=Yes +H:\WINNT4\system32\STDOLE2.TLB=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\Redist\COMCAT.DLL=Yes +H:\WINNT4\system32\VB6DE.DLL=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\Redist\MDAC_TYP.EXE=No +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP.EXE=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP1.EXE=Yes +H:\WINNT4\system32\VB6STKIT.DLL=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\ST6UNST.EXE=Yes +\\Mars\mars_winnt\code\Xl-2000-engl\sql2string\sql2string.exe=Yes + +[Package|Standardmäßiges Setup-Paket 1|Configure Registry Files] +Applicable=No + +[Package|Standardmäßiges Setup-Paket 1|Configure Remote Servers] +Applicable=No + +[Package|Standardmäßiges Setup-Paket 1|Install Locations] +I:\Code\XL-2000\sql2string\sql2string.exe=$(AppPath) +H:\WINNT4\system32\msvbvm60.dll=$(WinSysPathSysFile) +H:\WINNT4\system32\OLEAUT32.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\OLEPRO32.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\ASYCFILT.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\STDOLE2.TLB=$(WinSysPathSysFile) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\Redist\COMCAT.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\VB6DE.DLL=$(WinSysPath) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP.EXE=$(AppPath) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP1.EXE=$(WinPath) +H:\WINNT4\system32\VB6STKIT.DLL=$(WinSysPathSysFile) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\ST6UNST.EXE=$(WinPath) +\\Mars\mars_winnt\code\Xl-2000-engl\sql2string\sql2string.exe=$(AppPath) + +[Package|Standardmäßiges Setup-Paket 1|Configure Shared Files] +Applicable=Yes +I:\Code\XL-2000\sql2string\sql2string.exe=No +\\Mars\mars_winnt\code\Xl-2000-engl\sql2string\sql2string.exe=No + +[Package|Standardmäßiges Setup-Paket 1|Distribution] +Type=single +Size= +Title=Projekt1 + +[Package|Standardmäßiges Setup-Paket 1|IconGroups] +Group0=Projekt1 +PrivateGroup0=Falsch +Parent0=$(Programs) + +[Package|Standardmäßiges Setup-Paket 1|Projekt1] +Icon1=sql2string.exe +Title1=sql2string +StartIn1=$(AppPath) +Key1=Icon1 + +[Package|Standardmäßiges Setup-Paket 1|Package] +PackageFolder=h:\TEMP\setup +ProjectFolder=\\Mars\mars_winnt\code\Xl-2000-engl\sql2string +ServerSideCab= +File1=h:\TEMP\setup\setup.exe +File2=h:\TEMP\setup\Setup.Lst +File3=h:\TEMP\setup\sql2string.CAB +Handler1=PDWizard.FolderDplySubWiz +Handler2=PDWizard.WebPostDplySubWiz diff --git a/xl-2003-samples/13/sql2string/sql2string.exe b/xl-2003-samples/13/sql2string/sql2string.exe new file mode 100644 index 0000000..b69e599 Binary files /dev/null and b/xl-2003-samples/13/sql2string/sql2string.exe differ diff --git a/xl-2003-samples/13/sql2string/sql2string.frm b/xl-2003-samples/13/sql2string/sql2string.frm new file mode 100644 index 0000000..06029fc --- /dev/null +++ b/xl-2003-samples/13/sql2string/sql2string.frm @@ -0,0 +1,158 @@ +VERSION 5.00 +Begin VB.Form Form1 + Caption = "Transform SQL code into a VB string" + ClientHeight = 4230 + ClientLeft = 60 + ClientTop = 345 + ClientWidth = 5970 + LinkTopic = "Form1" + ScaleHeight = 4230 + ScaleWidth = 5970 + StartUpPosition = 3 'Windows-Standard + Begin VB.CommandButton cmdEnd + Caption = "End" + Height = 375 + Left = 3360 + TabIndex = 6 + Top = 120 + Width = 735 + End + Begin VB.TextBox txtVarname + Height = 285 + Left = 1440 + TabIndex = 5 + Text = "sql" + Top = 120 + Width = 735 + End + Begin VB.TextBox txtResult + BeginProperty Font + Name = "Courier New" + Size = 9.75 + Charset = 0 + Weight = 400 + Underline = 0 'False + Italic = 0 'False + Strikethrough = 0 'False + EndProperty + Height = 1455 + Left = 0 + MultiLine = -1 'True + ScrollBars = 3 'Beides + TabIndex = 1 + Text = "sql2string.frx":0000 + Top = 2640 + Width = 5895 + End + Begin VB.TextBox txtSQL + BeginProperty Font + Name = "Courier New" + Size = 9.75 + Charset = 0 + Weight = 400 + Underline = 0 'False + Italic = 0 'False + Strikethrough = 0 'False + EndProperty + Height = 1335 + Left = 0 + MultiLine = -1 'True + ScrollBars = 3 'Beides + TabIndex = 0 + Text = "sql2string.frx":0020 + Top = 840 + Width = 5895 + End + Begin VB.Label Label3 + Caption = "Variable name:" + Height = 255 + Left = 0 + TabIndex = 4 + Top = 120 + Width = 1335 + End + Begin VB.Label lblResult + Caption = "Resulting VB code:" + Height = 255 + Left = 0 + TabIndex = 3 + Top = 2400 + Width = 5655 + End + Begin VB.Label lblSQL + Caption = "Paste the SQL command (using the clipboard / Strg+V)." + Height = 255 + Left = 0 + TabIndex = 2 + Top = 600 + Width = 4695 + End +End +Attribute VB_Name = "Form1" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = True +Attribute VB_Exposed = False +Option Explicit +Const maxlines = 20 + +Private Sub txtVarname_Change() + txtSQL_Change +End Sub +Private Sub txtSQL_Change() + Dim sqllines As Variant, vblines As Variant + Dim i& + sqllines = Split(txtSQL, vbCrLf) + For i = 0 To UBound(sqllines) + If i = UBound(sqllines) And sqllines(i) = "" Then Exit For + sqllines(i) = strng(sqllines(i)) + If i = 0 Then + sqllines(i) = txtVarname + " = " & sqllines(i) + ElseIf (i Mod maxlines) = 0 Then + sqllines(i) = txtVarname + " = " + txtVarname + " + " + sqllines(i) + Else + sqllines(i) = String(Len(txtVarname), " ") + " " + sqllines(i) + End If + If i < UBound(sqllines) And ((i + 1) Mod maxlines) <> 0 _ + And Not (i + 1 = UBound(sqllines) And sqllines(UBound(sqllines)) = "") Then + sqllines(i) = sqllines(i) + " + _" + End If + Next + txtResult = Join(sqllines, vbCrLf) +End Sub + +Private Function strng(x) + strng = """" + Replace(x, """", """""") + " """ +End Function + +' mark content of text boxes +Private Sub txtSQL_GotFocus() + txtSQL.SelStart = 0 + txtSQL.SelLength = Len(txtSQL) +End Sub +Private Sub txtResult_GotFocus() + txtResult.SelStart = 0 + txtResult.SelLength = Len(txtResult) + Clipboard.Clear + Clipboard.SetText txtResult +End Sub + +' Resize +Private Sub Form_Resize() + On Error Resume Next + txtSQL.Move 0, txtSQL.Top, ScaleWidth, (ScaleHeight - txtSQL.Top) / 2 + lblResult.Move 0, txtSQL.Top + txtSQL.Height + 60 + txtResult.Move 0, lblResult.Top + lblResult.Height + 60, ScaleWidth, ScaleHeight - (lblResult.Top + lblResult.Height + 60) + cmdEnd.Width = ScaleWidth - cmdEnd.Left - 60 +End Sub + +' End +Private Sub cmdEnd_Click() + Unload Me +End Sub +Private Sub Form_Unload(Cancel As Integer) + Clipboard.Clear + Clipboard.SetText txtResult +End Sub + + diff --git a/xl-2003-samples/13/sql2string/sql2string.frx b/xl-2003-samples/13/sql2string/sql2string.frx new file mode 100644 index 0000000..d3172e7 --- /dev/null +++ b/xl-2003-samples/13/sql2string/sql2string.frx @@ -0,0 +1,2 @@ +sql = "SELECT * FROM tabelle" +SELECT * FROM tabelle diff --git a/xl-2003-samples/13/sql2string/sql2string.vbp b/xl-2003-samples/13/sql2string/sql2string.vbp new file mode 100644 index 0000000..da61444 --- /dev/null +++ b/xl-2003-samples/13/sql2string/sql2string.vbp @@ -0,0 +1,32 @@ +Type=Exe +Form=sql2string.frm +Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#H:\WINNT4\SYSTEM32\STDOLE2.TLB#OLE Automation +Reference=*\G{00000200-0000-0010-8000-00AA006D2EA4}#2.0#0#H:\Program Files\Common Files\system\ado\msado20.tlb#Microsoft ActiveX Data Objects 2.0 Library +IconForm="Form1" +Startup="Form1" +ExeName32="sql2string.exe" +Command32="" +Name="Projekt1" +HelpContextID="0" +CompatibleMode="0" +MajorVer=1 +MinorVer=0 +RevisionVer=0 +AutoIncrementVer=0 +ServerSupportFiles=0 +VersionCompanyName="adw" +CompilationType=0 +OptimizationType=0 +FavorPentiumPro(tm)=0 +CodeViewDebugInfo=0 +NoAliasing=0 +BoundsCheck=0 +OverflowCheck=0 +FlPointCheck=0 +FDIVCheck=0 +UnroundedFP=0 +StartMode=0 +Unattended=0 +Retained=0 +ThreadPerObject=0 +MaxNumberOfThreads=1 diff --git a/xl-2003-samples/13/sql2string/sql2string.vbw b/xl-2003-samples/13/sql2string/sql2string.vbw new file mode 100644 index 0000000..f4bb8ea --- /dev/null +++ b/xl-2003-samples/13/sql2string/sql2string.vbw @@ -0,0 +1 @@ +Form1 = 118, 47, 804, 599, , 245, 12, 722, 381, C diff --git a/xl-2003-samples/14/ActiveX-Access.xls b/xl-2003-samples/14/ActiveX-Access.xls new file mode 100644 index 0000000..3251ee6 Binary files /dev/null and b/xl-2003-samples/14/ActiveX-Access.xls differ diff --git a/xl-2003-samples/14/ActiveX-Explorer.xls b/xl-2003-samples/14/ActiveX-Explorer.xls new file mode 100644 index 0000000..99450db Binary files /dev/null and b/xl-2003-samples/14/ActiveX-Explorer.xls differ diff --git a/xl-2003-samples/14/AddInFn.xla b/xl-2003-samples/14/AddInFn.xla new file mode 100644 index 0000000..a0f36fc Binary files /dev/null and b/xl-2003-samples/14/AddInFn.xla differ diff --git a/xl-2003-samples/14/AddInFn.xls b/xl-2003-samples/14/AddInFn.xls new file mode 100644 index 0000000..47ef1e0 Binary files /dev/null and b/xl-2003-samples/14/AddInFn.xls differ diff --git a/xl-2003-samples/14/DLL.xls b/xl-2003-samples/14/DLL.xls new file mode 100644 index 0000000..ab6df62 Binary files /dev/null and b/xl-2003-samples/14/DLL.xls differ diff --git a/xl-2003-samples/14/Excel.htm b/xl-2003-samples/14/Excel.htm new file mode 100644 index 0000000..ce92a4a --- /dev/null +++ b/xl-2003-samples/14/Excel.htm @@ -0,0 +1,14 @@ + + Definitive Guide to Excel VBA + + + + + + + + +
Definitive Guide to Excel VBA
Publisherapress
AuthorMichael Kofler
+ + + diff --git a/xl-2003-samples/14/Nwind.mdb b/xl-2003-samples/14/Nwind.mdb new file mode 100644 index 0000000..33c628e Binary files /dev/null and b/xl-2003-samples/14/Nwind.mdb differ diff --git a/xl-2003-samples/14/OLE-Equation.xls b/xl-2003-samples/14/OLE-Equation.xls new file mode 100644 index 0000000..418ccbc Binary files /dev/null and b/xl-2003-samples/14/OLE-Equation.xls differ diff --git a/xl-2003-samples/14/OLE-WinWord.xls b/xl-2003-samples/14/OLE-WinWord.xls new file mode 100644 index 0000000..79f09dc Binary files /dev/null and b/xl-2003-samples/14/OLE-WinWord.xls differ diff --git a/xl-2003-samples/14/smarttags.xls b/xl-2003-samples/14/smarttags.xls new file mode 100644 index 0000000..109d312 Binary files /dev/null and b/xl-2003-samples/14/smarttags.xls differ diff --git a/xl-2003-samples/14/vb.net/AssemblyInfo.vb b/xl-2003-samples/14/vb.net/AssemblyInfo.vb new file mode 100644 index 0000000..0162d1b --- /dev/null +++ b/xl-2003-samples/14/vb.net/AssemblyInfo.vb @@ -0,0 +1,31 @@ +Imports System.Reflection +Imports System.Runtime.InteropServices + +' Allgemeine Informationen über eine Assembly werden über die folgende +' Attributgruppe gesteuert. Ändern Sie diese Attributwerte, um Informationen, +' die mit einer Assembly verknüpft sind, zu bearbeiten. + +' Die Werte der Assemblyattribute überprüfen + + + + + + + + + +'Die folgende GUID ist für die ID der Typbibliothek, wenn dieses Projekt in COM angezeigt wird + + +' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +' +' Haupversion +' Nebenversion +' Buildnummer +' Revisionsnummer +' +' Sie können alle Werte angeben oder auf die standardmäßigen Build- und Revisionsnummern +' zurückgreifen, indem Sie '*' wie unten angezeigt verwenden: + + diff --git a/xl-2003-samples/14/vb.net/Module1.vb b/xl-2003-samples/14/vb.net/Module1.vb new file mode 100644 index 0000000..010c6dc --- /dev/null +++ b/xl-2003-samples/14/vb.net/Module1.vb @@ -0,0 +1,38 @@ +' to use late binding +Option Strict Off +Module Module1 + Sub Main() + ' process Excel file + process_xl_file() + ' close Excel + GC.Collect() + GC.WaitForPendingFinalizers() + GC.Collect() + GC.WaitForPendingFinalizers() + ' end this program + Console.WriteLine("Hit Return to end") + Console.ReadLine() + End Sub + + Sub process_xl_file() + Dim i, j As Integer + Dim xl, wb, ws As Object + Dim fname As String + fname = IO.Path.Combine(Environment.CurrentDirectory, "..\sample.xls") + wb = GetObject(fname) + xl = wb.Application + ' xl.Visible = True 'if you want to see Excel + ' wb.NewWindow() + ws = wb.Sheets(1) + For i = 1 To 3 + For j = 1 To 3 + Console.WriteLine("Cell in line {0} / column {1} ={2}", i, j, ws.Cells(i, j).Value) + Next + Next + ws.Cells(4, 1).Value = Now + ' wb.Windows(wb.Windows.Count).Close() + wb.Save() + wb.Close() + If xl.Workbooks.Count = 0 Then xl.Quit() + End Sub +End Module diff --git a/xl-2003-samples/14/vb.net/automation-excel.sln b/xl-2003-samples/14/vb.net/automation-excel.sln new file mode 100644 index 0000000..1c52cb0 --- /dev/null +++ b/xl-2003-samples/14/vb.net/automation-excel.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 7.00 +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "automation-excel", "automation-excel.vbproj", "{564360D8-DCD8-49F8-AAC4-8E63C6CE41A1}" +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + ConfigName.0 = Debug + ConfigName.1 = Release + EndGlobalSection + GlobalSection(ProjectDependencies) = postSolution + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {564360D8-DCD8-49F8-AAC4-8E63C6CE41A1}.Debug.ActiveCfg = Debug|.NET + {564360D8-DCD8-49F8-AAC4-8E63C6CE41A1}.Debug.Build.0 = Debug|.NET + {564360D8-DCD8-49F8-AAC4-8E63C6CE41A1}.Release.ActiveCfg = Release|.NET + {564360D8-DCD8-49F8-AAC4-8E63C6CE41A1}.Release.Build.0 = Release|.NET + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/xl-2003-samples/14/vb.net/automation-excel.suo b/xl-2003-samples/14/vb.net/automation-excel.suo new file mode 100644 index 0000000..fe8b64c Binary files /dev/null and b/xl-2003-samples/14/vb.net/automation-excel.suo differ diff --git a/xl-2003-samples/14/vb.net/automation-excel.vbproj b/xl-2003-samples/14/vb.net/automation-excel.vbproj new file mode 100644 index 0000000..153a8ce --- /dev/null +++ b/xl-2003-samples/14/vb.net/automation-excel.vbproj @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xl-2003-samples/14/vb.net/automation-excel.vbproj.user b/xl-2003-samples/14/vb.net/automation-excel.vbproj.user new file mode 100644 index 0000000..eabb41d --- /dev/null +++ b/xl-2003-samples/14/vb.net/automation-excel.vbproj.user @@ -0,0 +1,48 @@ + + + + + + + + + + + + diff --git a/xl-2003-samples/14/vb.net/bin/automation-excel.exe b/xl-2003-samples/14/vb.net/bin/automation-excel.exe new file mode 100644 index 0000000..512e856 Binary files /dev/null and b/xl-2003-samples/14/vb.net/bin/automation-excel.exe differ diff --git a/xl-2003-samples/14/vb.net/bin/automation-excel.pdb b/xl-2003-samples/14/vb.net/bin/automation-excel.pdb new file mode 100644 index 0000000..3468162 Binary files /dev/null and b/xl-2003-samples/14/vb.net/bin/automation-excel.pdb differ diff --git a/xl-2003-samples/14/vb.net/readme.txt b/xl-2003-samples/14/vb.net/readme.txt new file mode 100644 index 0000000..bcd0061 --- /dev/null +++ b/xl-2003-samples/14/vb.net/readme.txt @@ -0,0 +1,5 @@ +to run bin/automation-excel.exe, the .NET framework needs to be installed; + +bin/automation-excel.exe can not run from a network drive (due to the default security settings of .NET) + +to edit the project, you need Visual Studio .NET \ No newline at end of file diff --git a/xl-2003-samples/14/vb.net/sample.xls b/xl-2003-samples/14/vb.net/sample.xls new file mode 100644 index 0000000..cc51f2c Binary files /dev/null and b/xl-2003-samples/14/vb.net/sample.xls differ diff --git a/xl-2003-samples/14/vb6/Chart/ActiveX_Chart.xls b/xl-2003-samples/14/vb6/Chart/ActiveX_Chart.xls new file mode 100644 index 0000000..de4b897 Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/ActiveX_Chart.xls differ diff --git a/xl-2003-samples/14/vb6/Chart/ExcelChart.PDM b/xl-2003-samples/14/vb6/Chart/ExcelChart.PDM new file mode 100644 index 0000000..cefb231 --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/ExcelChart.PDM @@ -0,0 +1,105 @@ +[Root] +Most Recent Package=Standardmäßiges Setup-Paket 1 + + +[Package|Standardmäßiges Setup-Paket 1|Root] +SubWizProgID=PDWizard.SetupPkgSubWiz +BuildFolder=n:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\setup + +[Package|Standardmäßiges Setup-Paket 1|Configure DAO ISAMs] +Applicable=No + +[Package|Standardmäßiges Setup-Paket 1|Configure DAO ODBC] +JetWorkspace= +ODBCDirect= + +[Package|Standardmäßiges Setup-Paket 1|Files Found] + +[Package|Standardmäßiges Setup-Paket 1|Files Released] + +[Package|Standardmäßiges Setup-Paket 1|Missing Dependency Information] +J:\bin-srv\office2000\Office\EXCEL9.OLB= + +[Package|Standardmäßiges Setup-Paket 1|Out-of-Date Dependency Information] + +[Package|Standardmäßiges Setup-Paket 1|Files Added] +N:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\ActiveX_Chart.xls= + +[Package|Standardmäßiges Setup-Paket 1|Files Removed] +j:\bin-srv\office2000\office\excel9.olb= + +[Package|Standardmäßiges Setup-Paket 1|Files In Project] +H:\WINNT4\system32\msvbvm60.dll=Yes +H:\WINNT4\system32\OLEAUT32.DLL=Yes +H:\WINNT4\system32\OLEPRO32.DLL=Yes +H:\WINNT4\system32\ASYCFILT.DLL=Yes +H:\WINNT4\system32\STDOLE2.TLB=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\Redist\COMCAT.DLL=Yes +H:\WINNT4\system32\VB6DE.DLL=Yes +J:\bin-srv\office2000\Office\EXCEL9.OLB=No +H:\WINNT4\system32\MSCOMCTL.OCX=Yes +H:\WINNT4\system32\MSCMCDE.DLL=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP.EXE=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP1.EXE=Yes +H:\WINNT4\system32\VB6STKIT.DLL=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\ST6UNST.EXE=Yes +N:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\ExcelChart.exe=Yes +N:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\ActiveX_Chart.xls=Yes + +[Package|Standardmäßiges Setup-Paket 1|Configure Registry Files] +Applicable=No + +[Package|Standardmäßiges Setup-Paket 1|Configure Remote Servers] +Applicable=No + +[Package|Standardmäßiges Setup-Paket 1|Install Locations] +I:\Code\XL-2000\vb6\Chart\ExcelChart.exe=$(AppPath) +H:\WINNT4\system32\msvbvm60.dll=$(WinSysPathSysFile) +H:\WINNT4\system32\OLEAUT32.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\OLEPRO32.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\ASYCFILT.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\STDOLE2.TLB=$(WinSysPathSysFile) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\Redist\COMCAT.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\VB6DE.DLL=$(WinSysPath) +H:\WINNT4\system32\MSCOMCTL.OCX=$(WinSysPath) +H:\WINNT4\system32\MSCMCDE.DLL=$(WinSysPath) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP.EXE=$(AppPath) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP1.EXE=$(WinPath) +H:\WINNT4\system32\VB6STKIT.DLL=$(WinSysPathSysFile) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\ST6UNST.EXE=$(WinPath) +\\Mars\mars_winnt\code\Xl-2000-engl\vb6\Chart\ExcelChart.exe=$(AppPath) +N:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\ExcelChart.exe=$(AppPath) +N:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\ActiveX_Chart.xls=$(AppPath) + +[Package|Standardmäßiges Setup-Paket 1|Configure Shared Files] +Applicable=Yes +I:\Code\XL-2000\vb6\Chart\ExcelChart.exe=No +\\Mars\mars_winnt\code\Xl-2000-engl\vb6\Chart\ExcelChart.exe=No +N:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\ExcelChart.exe=No +N:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\ActiveX_Chart.xls=No + +[Package|Standardmäßiges Setup-Paket 1|Distribution] +Type=single +Size= +Title=excelchart + +[Package|Standardmäßiges Setup-Paket 1|Package] +PackageFolder=n:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\setup +ProjectFolder=N:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart +ServerSideCab= +File1=n:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\setup\setup.exe +File2=n:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\setup\Setup.Lst +File3=n:\xl2000e\engl-final\cd-rom\samplecode\vb6\Chart\setup\ExcelChart.CAB +Handler1=PDWizard.FolderDplySubWiz +Handler2=PDWizard.WebPostDplySubWiz + +[Package|Standardmäßiges Setup-Paket 1|IconGroups] +Group0=excelchart +PrivateGroup0=Falsch +Parent0=$(Programs) + +[Package|Standardmäßiges Setup-Paket 1|excelchart] +Icon1=ExcelChart.exe +Title1=excelchart +StartIn1=$(AppPath) +Key1=Icon1 diff --git a/xl-2003-samples/14/vb6/Chart/ExcelChart.exe b/xl-2003-samples/14/vb6/Chart/ExcelChart.exe new file mode 100644 index 0000000..2de1e47 Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/ExcelChart.exe differ diff --git a/xl-2003-samples/14/vb6/Chart/ExcelChart.vbp b/xl-2003-samples/14/vb6/Chart/ExcelChart.vbp new file mode 100644 index 0000000..4898d28 --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/ExcelChart.vbp @@ -0,0 +1,39 @@ +Type=Exe +Reference=*\G{00020813-0000-0000-C000-000000000046}#1.3#0#J:\bin-srv\office2000\Office\EXCEL9.OLB#Microsoft Excel 9.0 Object Library +Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCTL.OCX +Form=formMain.frm +Form=formOLE.frm +Form=formPara.frm +Form=formWait.frm +IconForm="formOLE" +Startup="formMain" +HelpFile="" +Title="excelchart" +ExeName32="ExcelChart.exe" +Command32="" +Name="Project1" +HelpContextID="0" +CompatibleMode="0" +MajorVer=1 +MinorVer=0 +RevisionVer=0 +AutoIncrementVer=0 +ServerSupportFiles=0 +VersionCompanyName="adw" +VersionLegalCopyright="Michael Kofler, 1995" +CompilationType=0 +OptimizationType=0 +FavorPentiumPro(tm)=0 +CodeViewDebugInfo=0 +NoAliasing=0 +BoundsCheck=0 +OverflowCheck=0 +FlPointCheck=0 +FDIVCheck=0 +UnroundedFP=0 +StartMode=0 +Unattended=0 +Retained=0 +ThreadPerObject=0 +MaxNumberOfThreads=1 +DebugStartupOption=0 diff --git a/xl-2003-samples/14/vb6/Chart/ExcelChart.vbw b/xl-2003-samples/14/vb6/Chart/ExcelChart.vbw new file mode 100644 index 0000000..e986dc7 --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/ExcelChart.vbw @@ -0,0 +1,4 @@ +formMain = 61, 170, 836, 646, C, 76, 22, 596, 523, C +formOLE = 128, 0, 900, 761, , 169, 16, 649, 401, C +formPara = 176, 176, 1031, 704, C, 176, 176, 526, 432, C +formWait = 220, 220, 1075, 748, C, 198, 198, 714, 485, C diff --git a/xl-2003-samples/14/vb6/Chart/Readme.txt b/xl-2003-samples/14/vb6/Chart/Readme.txt new file mode 100644 index 0000000..53decb0 --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/Readme.txt @@ -0,0 +1 @@ +see ../readme.txt diff --git a/xl-2003-samples/14/vb6/Chart/formMain.frm b/xl-2003-samples/14/vb6/Chart/formMain.frm new file mode 100644 index 0000000..462fe85 --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/formMain.frm @@ -0,0 +1,23 @@ +VERSION 5.00 +Begin VB.MDIForm formMain + BackColor = &H8000000C& + Caption = "Show 3D chart using Excel" + ClientHeight = 5940 + ClientLeft = 435 + ClientTop = 1770 + ClientWidth = 6690 + Icon = "formMain.frx":0000 + LinkTopic = "MDIForm1" +End +Attribute VB_Name = "formMain" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = True +Attribute VB_Exposed = False +' vb6\chart\formMain.frm +Option Explicit +Dim olef As New formOLE + +Private Sub MDIForm_Load() + olef.Show 'show OLEForm +End Sub diff --git a/xl-2003-samples/14/vb6/Chart/formMain.frx b/xl-2003-samples/14/vb6/Chart/formMain.frx new file mode 100644 index 0000000..c69c300 Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/formMain.frx differ diff --git a/xl-2003-samples/14/vb6/Chart/formOLE.frm b/xl-2003-samples/14/vb6/Chart/formOLE.frm new file mode 100644 index 0000000..73cadfa --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/formOLE.frm @@ -0,0 +1,194 @@ +VERSION 5.00 +Begin VB.Form formOLE + ClientHeight = 4065 + ClientLeft = 2295 + ClientTop = 3030 + ClientWidth = 5355 + ControlBox = 0 'False + Icon = "formOLE.frx":0000 + LinkTopic = "Form1" + MDIChild = -1 'True + PaletteMode = 1 'ZReihenfolge + ScaleHeight = 4065 + ScaleWidth = 5355 + WindowState = 2 'Maximiert + Begin VB.TextBox Text1 + Height = 285 + Left = -2000 + TabIndex = 1 + Text = "Text1" + Top = 3600 + Width = 1335 + End + Begin VB.OLE OLE1 + Class = "Excel.Sheet.8" + Height = 3375 + Left = 0 + OLETypeAllowed = 1 'Eingebettet + SizeMode = 1 'Strecken + SourceDoc = "H:\Code\vb-5\ActiveX-Automation\Excel\ExcelGrafik.xls" + TabIndex = 0 + Top = 0 + Width = 5295 + End + Begin VB.Menu menuMain + Caption = "3D Chart" + Index = 1 + NegotiatePosition= 1 'Links + Begin VB.Menu menuPara + Caption = "Change &Chart parameters" + End + Begin VB.Menu menuSettings + Caption = "Change &Excel settings" + End + Begin VB.Menu menuClose + Caption = "&Deactivate Excel " + End + Begin VB.Menu menuPrint + Caption = "&Print" + End + Begin VB.Menu menuEnd + Caption = "&Quit" + End + End +End +Attribute VB_Name = "formOLE" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = True +Attribute VB_Exposed = False +'VB6\Chart\formOLE.frm +Option Explicit + + +Dim wb As Workbook + +' initialize: load Excel file, save reference to workbook +' in the variable wb, insert data, show result in +' OLE control +Private Sub Form_Load() + Dim xl As Object, win As Window + On Error Resume Next + ' ChDrive App.Path + ' ChDir App.Path + Me.OLE1.Visible = False 'hidden + formWait.Show 'please wait ... + MousePointer = vbHourglass + With Me + .OLE1.CreateEmbed App.Path + "\ActiveX_Chart.xls" + Set xl = .OLE1.object.Application + ' loop through all Excel windows, + ' search for new window + For Each win In xl.Windows + If win.Parent.Title = "ActiveX_Chart_keyword" Then + ' got it! + Set wb = win.Parent + Exit For + End If + Next + End With + + ' if an error has occured, is Excel + ' probably not available + If Err <> 0 Then + MsgBox "An error has occurred. " _ + & "This program is stopped. You need Excel 2000 " _ + & "to test this sample." + Unload Me + End If + PlotChart + Me.OLE1.Visible = True + MousePointer = 0 + formWait.Hide +End Sub + + +' change graphics parameter +Private Sub menuPara_Click() + Dim xfreq, yfreq + ' show form to change parameters + With formPara + xfreq = .SliderX: yfreq = .SliderY + .Show vbModal + If .Tag = "cancel" Then + .SliderX = xfreq: .SliderY = yfreq + Exit Sub + End If + End With + PlotChart 'redraw chart +End Sub + +' change Excel settings +Private Sub menuSettings_Click() + Me.OLE1.DoVerb +End Sub + +' print chart +Private Sub menuPrint_Click() + On Error Resume Next + wb.Sheets("chart").PrintOut + If Err <> 0 Then + MsgBox "Beim Versuch, das Diagramm zu drucken, ist ein Fehler aufgetreten" + End If + ' alternative: call procedure PrintChart + ' in Module1 of the workbook + ' Dim pname$ + ' pname = wb.Name & "!Module1.PrintChart" + ' wb.Application.Run pname +End Sub + + +' create test data and transfer via clipboard +' into the sheet (this is the fastest way to do it) +Sub PlotChart() + Dim xfreq, yfreq + Dim x#, y#, z#, data$ + xfreq = formPara.SliderX + yfreq = formPara.SliderY + ' calculate new data + For y = 0 To 2.00001 Step 0.1 + For x = 0 To 2.00001 Step 0.1 + z = Sin(x * xfreq / 10) + Sin(y * yfreq / 10) + data = data & DecimalPoint(Str(z)) & vbTab + Next x + data = data & vbCr + Next y + Clipboard.Clear + Clipboard.SetText data + wb.Sheets("table").Paste wb.Sheets("table").Cells(2, 2) + ' show the chart, not the worksheet + wb.Sheets("chart").Activate + ' Activate does not suffice (for whatever reason ...) + wb.Sheets("table").Visible = False +End Sub + +' replace comma by point (only neccessary for some regional settings) +Private Function DecimalPoint$(x$) + DecimalPoint = Replace(x, ",", ".") +End Function + +' deactive Excel +Private Sub menuClose_Click() + Text1.SetFocus +End Sub + + +' end +Private Sub menuEnd_Click() + Unload Me + End +End Sub + +' end +Private Sub Form_Unload(Cancel As Integer) + Set wb = Nothing 'Excel is no longer needed + End +End Sub + +' resize OLE control +Private Sub Form_Resize() + If WindowState = vbMinimized Then Exit Sub + OLE1.Width = ScaleWidth + OLE1.Height = ScaleHeight +End Sub + diff --git a/xl-2003-samples/14/vb6/Chart/formOLE.frx b/xl-2003-samples/14/vb6/Chart/formOLE.frx new file mode 100644 index 0000000..dda0fa6 Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/formOLE.frx differ diff --git a/xl-2003-samples/14/vb6/Chart/formPara.frm b/xl-2003-samples/14/vb6/Chart/formPara.frm new file mode 100644 index 0000000..e22c8eb --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/formPara.frm @@ -0,0 +1,141 @@ +VERSION 5.00 +Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX" +Begin VB.Form formPara + BorderStyle = 3 'Fester Dialog + Caption = "Parameters of Chart" + ClientHeight = 2295 + ClientLeft = 1140 + ClientTop = 1515 + ClientWidth = 4275 + Icon = "formPara.frx":0000 + LinkTopic = "Form1" + MaxButton = 0 'False + MinButton = 0 'False + PaletteMode = 1 'ZReihenfolge + ScaleHeight = 2295 + ScaleWidth = 4275 + ShowInTaskbar = 0 'False + Begin VB.CommandButton Command2 + Cancel = -1 'True + Caption = "Cancel" + Height = 375 + Left = 240 + TabIndex = 9 + Top = 1740 + Width = 1815 + End + Begin VB.CommandButton Command1 + Caption = "Redraw Chart" + Default = -1 'True + Height = 375 + Left = 2280 + TabIndex = 8 + Top = 1740 + Width = 1815 + End + Begin MSComctlLib.Slider SliderY + Height = 630 + Left = 2280 + TabIndex = 7 + Top = 420 + Width = 1695 + _ExtentX = 2990 + _ExtentY = 1111 + _Version = 393216 + Min = 10 + Max = 50 + SelStart = 10 + Value = 10 + End + Begin MSComctlLib.Slider SliderX + Height = 630 + Left = 240 + TabIndex = 0 + Top = 420 + Width = 1695 + _ExtentX = 2990 + _ExtentY = 1111 + _Version = 393216 + Min = 10 + Max = 50 + SelStart = 10 + Value = 10 + End + Begin VB.Label LabelY + Caption = "Y Frequency" + Height = 255 + Left = 2400 + TabIndex = 6 + Top = 180 + Width = 1575 + End + Begin VB.Label Label5 + Caption = "1" + Height = 195 + Left = 2400 + TabIndex = 5 + Top = 1020 + Width = 255 + End + Begin VB.Label Label4 + Caption = "5" + Height = 195 + Left = 3720 + TabIndex = 4 + Top = 1020 + Width = 255 + End + Begin VB.Label Label3 + Caption = "5" + Height = 195 + Left = 1680 + TabIndex = 3 + Top = 1020 + Width = 255 + End + Begin VB.Label Label2 + Caption = "1" + Height = 195 + Left = 360 + TabIndex = 2 + Top = 1020 + Width = 255 + End + Begin VB.Label LabelX + Caption = "X Frequency" + Height = 255 + Left = 360 + TabIndex = 1 + Top = 180 + Width = 1575 + End +End +Attribute VB_Name = "formPara" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = True +Attribute VB_Exposed = False +Option Explicit + +Private Sub Command1_Click() + Tag = "ok" + Hide +End Sub + +Private Sub Command2_Click() + Tag = "cancel" + Hide +End Sub + +Private Sub Sliderx_Change() + LabelX = "X frequency: " & SliderX / 10 +End Sub +Private Sub Sliderx_Scroll() + LabelX = "Y frequency: " & SliderX / 10 +End Sub +Private Sub Slidery_Change() + LabelY = "Y frequency: " & SliderY / 10 +End Sub +Private Sub Slidery_Scroll() + LabelY = "Y frequency: " & SliderY / 10 +End Sub diff --git a/xl-2003-samples/14/vb6/Chart/formPara.frx b/xl-2003-samples/14/vb6/Chart/formPara.frx new file mode 100644 index 0000000..c69c300 Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/formPara.frx differ diff --git a/xl-2003-samples/14/vb6/Chart/formWait.frm b/xl-2003-samples/14/vb6/Chart/formWait.frm new file mode 100644 index 0000000..13aeb72 --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/formWait.frm @@ -0,0 +1,51 @@ +VERSION 5.00 +Begin VB.Form formWait + BorderStyle = 3 'Fester Dialog + Caption = "Please wait..." + ClientHeight = 2790 + ClientLeft = 1215 + ClientTop = 2070 + ClientWidth = 6375 + BeginProperty Font + Name = "MS Sans Serif" + Size = 9.75 + Charset = 0 + Weight = 400 + Underline = 0 'False + Italic = 0 'False + Strikethrough = 0 'False + EndProperty + Icon = "formWait.frx":0000 + LinkTopic = "Form1" + MaxButton = 0 'False + MinButton = 0 'False + PaletteMode = 1 'ZReihenfolge + ScaleHeight = 2790 + ScaleWidth = 6375 + ShowInTaskbar = 0 'False + Begin VB.TextBox Text1 + BackColor = &H8000000F& + BorderStyle = 0 'Kein + Height = 2655 + Left = 840 + MultiLine = -1 'True + TabIndex = 0 + Text = "formWait.frx":0442 + Top = 120 + Width = 5415 + End + Begin VB.Image Image1 + Height = 480 + Left = 120 + Picture = "formWait.frx":0575 + Top = 180 + Width = 480 + End +End +Attribute VB_Name = "formWait" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = True +Attribute VB_Exposed = False +Option Explicit + diff --git a/xl-2003-samples/14/vb6/Chart/formWait.frx b/xl-2003-samples/14/vb6/Chart/formWait.frx new file mode 100644 index 0000000..1a8b883 Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/formWait.frx differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/ExcelChart.CAB b/xl-2003-samples/14/vb6/Chart/setup/ExcelChart.CAB new file mode 100644 index 0000000..d510ffa Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/ExcelChart.CAB differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Setup.Lst b/xl-2003-samples/14/vb6/Chart/setup/Setup.Lst new file mode 100644 index 0000000..ecb345a --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/setup/Setup.Lst @@ -0,0 +1,78 @@ +[Bootstrap] +SetupTitle=Install +SetupText=Copying Files, please stand by. +CabFile=ExcelChart.CAB +Spawn=Setup1.exe +Uninstal=st6unst.exe +TmpDir=msftqws.pdw +Cabs=1 + +[Bootstrap Files] +File1=@vb6stkit.dll,$(WinSysPathSysFile),,,3/26/99 5:38:48 AM,101888,6.0.84.50 +File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1 +File3=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,8/31/99 4:55:18 PM,17920,2.40.4277.1 +File4=@ASYCFILT.DLL,$(WinSysPathSysFile),,,8/31/99 4:55:18 PM,147728,2.40.4277.1 +File5=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/31/99 4:55:18 PM,164112,5.0.4277.1 +File6=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/31/99 4:55:18 PM,598288,2.40.4277.1 +File7=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,5/10/99 12:00:00 AM,1384448,6.0.84.95 + +[IconGroups] +Group0=excelchart +PrivateGroup0=0 +Parent0=$(Programs) + +[excelchart] +Icon1="ExcelChart.exe" +Title1=excelchart +StartIn1=$(AppPath) + +[Setup] +Title=excelchart +DefaultDir=$(ProgramFiles)\excelchart +AppExe=ExcelChart.exe +AppToUninstall=ExcelChart.exe + +[Setup1 Files] +File1=@ActiveX_Chart.xls,$(AppPath),,,1/24/00 4:59:22 PM,55808,0.0.0.0 +File2=@MSCOMCTL.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/13/99 12:00:00 AM,1064456,6.0.84.98 +File3=@ExcelChart.exe,$(AppPath),,,8/17/00 3:59:55 PM,45056,1.0.0.0 + +; Die folgenden Zeilen können gelöscht werden, um zusätzlichen +; Platz für die Anpassung dieser Datei auf einer vollen Installationsdiskette +; zu schaffen. +; +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXX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XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/ASYCFILT.DLL b/xl-2003-samples/14/vb6/Chart/setup/Support/ASYCFILT.DLL new file mode 100644 index 0000000..6a90dbc Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/ASYCFILT.DLL differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/ActiveX_Chart.xls b/xl-2003-samples/14/vb6/Chart/setup/Support/ActiveX_Chart.xls new file mode 100644 index 0000000..ee0e61d Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/ActiveX_Chart.xls differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/COMCAT.DLL b/xl-2003-samples/14/vb6/Chart/setup/Support/COMCAT.DLL new file mode 100644 index 0000000..613109a Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/COMCAT.DLL differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/ExcelChart.BAT b/xl-2003-samples/14/vb6/Chart/setup/Support/ExcelChart.BAT new file mode 100644 index 0000000..c0dfffa --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/setup/Support/ExcelChart.BAT @@ -0,0 +1,4 @@ +@echo off +ECHO Diese Stapelverarbeitungsdatei zum Erstellen einer neuen CAB-Datei verwenden. Drücken Sie STRG-C um abzubrechen. +pause +"J:\bin-srv\vs98\VB98\Wizards\PDWizard\MAKECAB.EXE" /f "Project1.DDF" diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/ExcelChart.exe b/xl-2003-samples/14/vb6/Chart/setup/Support/ExcelChart.exe new file mode 100644 index 0000000..cc95b95 Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/ExcelChart.exe differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/MSCOMCTL.OCX b/xl-2003-samples/14/vb6/Chart/setup/Support/MSCOMCTL.OCX new file mode 100644 index 0000000..b3f9d7e Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/MSCOMCTL.OCX differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/OLEAUT32.DLL b/xl-2003-samples/14/vb6/Chart/setup/Support/OLEAUT32.DLL new file mode 100644 index 0000000..5e61fcc Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/OLEAUT32.DLL differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/OLEPRO32.DLL b/xl-2003-samples/14/vb6/Chart/setup/Support/OLEPRO32.DLL new file mode 100644 index 0000000..15f12bd Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/OLEPRO32.DLL differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/Project1.DDF b/xl-2003-samples/14/vb6/Chart/setup/Support/Project1.DDF new file mode 100644 index 0000000..9365ab7 --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/setup/Support/Project1.DDF @@ -0,0 +1,26 @@ +.OPTION EXPLICIT +.Set Cabinet=off +.Set Compress=off +.Set MaxDiskSize=CDROM +.Set ReservePerCabinetSize=6144 +.Set DiskDirectoryTemplate=".." +.Set CompressionType=MSZIP +.Set CompressionLevel=7 +.Set CompressionMemory=21 +.Set CabinetNameTemplate="ExcelChart.CAB" +"Setup.Lst" +"setup.exe" +.Set Cabinet=on +.Set Compress=on +"ExcelChart.exe" +"msvbvm60.dll" +"OLEAUT32.DLL" +"OLEPRO32.DLL" +"ASYCFILT.DLL" +"STDOLE2.TLB" +"COMCAT.DLL" +"MSCOMCTL.OCX" +"SETUP1.EXE" +"VB6STKIT.DLL" +"ST6UNST.EXE" +"ActiveX_Chart.xls" diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/STDOLE2.TLB b/xl-2003-samples/14/vb6/Chart/setup/Support/STDOLE2.TLB new file mode 100644 index 0000000..eb2658f Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/STDOLE2.TLB differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/msvbvm60.dll b/xl-2003-samples/14/vb6/Chart/setup/Support/msvbvm60.dll new file mode 100644 index 0000000..8c59979 Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/msvbvm60.dll differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/setup.exe b/xl-2003-samples/14/vb6/Chart/setup/Support/setup.exe new file mode 100644 index 0000000..279df5c Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/setup.exe differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/setup.inf b/xl-2003-samples/14/vb6/Chart/setup/Support/setup.inf new file mode 100644 index 0000000..51f98da --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/setup/Support/setup.inf @@ -0,0 +1,31 @@ +;*** BEGIN ********************************************************** +;** ** +;** Automatically generated on: Thu Aug 17 16:05:10 2000 ** +;** ** +;** MakeCAB Version: (32) 1.00.603.4 (06/25/98) ** +;** ** +;*** BEGIN ********************************************************** +[disk list] +1,Disk 1 +[cabinet list] +1,1,ExcelChart.CAB +[file list] +1,0,Setup.Lst,3782 +1,0,setup.exe,139776 +1,1,ExcelChart.exe,45056 +1,1,msvbvm60.dll,1384448 +1,1,OLEAUT32.DLL,598288 +1,1,OLEPRO32.DLL,164112 +1,1,ASYCFILT.DLL,147728 +1,1,STDOLE2.TLB,17920 +1,1,COMCAT.DLL,22288 +1,1,MSCOMCTL.OCX,1064456 +1,1,SETUP1.EXE,249856 +1,1,VB6STKIT.DLL,101888 +1,1,ST6UNST.EXE,73216 +1,1,ActiveX_Chart.xls,55808 +;*** END ************************************************************ +;** ** +;** Automatically generated on: Thu Aug 17 16:05:10 2000 ** +;** ** +;*** END ************************************************************ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/setup.lst b/xl-2003-samples/14/vb6/Chart/setup/Support/setup.lst new file mode 100644 index 0000000..ecb345a --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/setup/Support/setup.lst @@ -0,0 +1,78 @@ +[Bootstrap] +SetupTitle=Install +SetupText=Copying Files, please stand by. +CabFile=ExcelChart.CAB +Spawn=Setup1.exe +Uninstal=st6unst.exe +TmpDir=msftqws.pdw +Cabs=1 + +[Bootstrap Files] +File1=@vb6stkit.dll,$(WinSysPathSysFile),,,3/26/99 5:38:48 AM,101888,6.0.84.50 +File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1 +File3=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,8/31/99 4:55:18 PM,17920,2.40.4277.1 +File4=@ASYCFILT.DLL,$(WinSysPathSysFile),,,8/31/99 4:55:18 PM,147728,2.40.4277.1 +File5=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/31/99 4:55:18 PM,164112,5.0.4277.1 +File6=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/31/99 4:55:18 PM,598288,2.40.4277.1 +File7=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,5/10/99 12:00:00 AM,1384448,6.0.84.95 + +[IconGroups] +Group0=excelchart +PrivateGroup0=0 +Parent0=$(Programs) + +[excelchart] +Icon1="ExcelChart.exe" +Title1=excelchart +StartIn1=$(AppPath) + +[Setup] +Title=excelchart +DefaultDir=$(ProgramFiles)\excelchart +AppExe=ExcelChart.exe +AppToUninstall=ExcelChart.exe + +[Setup1 Files] +File1=@ActiveX_Chart.xls,$(AppPath),,,1/24/00 4:59:22 PM,55808,0.0.0.0 +File2=@MSCOMCTL.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/13/99 12:00:00 AM,1064456,6.0.84.98 +File3=@ExcelChart.exe,$(AppPath),,,8/17/00 3:59:55 PM,45056,1.0.0.0 + +; Die folgenden Zeilen können gelöscht werden, um zusätzlichen +; Platz für die Anpassung dieser Datei auf einer vollen Installationsdiskette +; zu schaffen. +; +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX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XXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/setup.rpt b/xl-2003-samples/14/vb6/Chart/setup/Support/setup.rpt new file mode 100644 index 0000000..11a07d3 --- /dev/null +++ b/xl-2003-samples/14/vb6/Chart/setup/Support/setup.rpt @@ -0,0 +1,8 @@ +MakeCAB Report: Thu Aug 17 16:05:10 2000 + +Total files: 14 +Bytes before: 4,068,622 +Bytes after: 2,010,924 +After/Before: 49.43% compression +Time: 8.47 seconds ( 0 hr 0 min 8.47 sec) +Throughput: 468.99 Kb/second diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/setup1.exe b/xl-2003-samples/14/vb6/Chart/setup/Support/setup1.exe new file mode 100644 index 0000000..a61705d Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/setup1.exe differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/st6unst.exe b/xl-2003-samples/14/vb6/Chart/setup/Support/st6unst.exe new file mode 100644 index 0000000..6881a9a Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/st6unst.exe differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/Support/vb6stkit.dll b/xl-2003-samples/14/vb6/Chart/setup/Support/vb6stkit.dll new file mode 100644 index 0000000..fd87588 Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/Support/vb6stkit.dll differ diff --git a/xl-2003-samples/14/vb6/Chart/setup/setup.exe b/xl-2003-samples/14/vb6/Chart/setup/setup.exe new file mode 100644 index 0000000..279df5c Binary files /dev/null and b/xl-2003-samples/14/vb6/Chart/setup/setup.exe differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/ActiveX_Clip.xls b/xl-2003-samples/14/vb6/ClipBoard/ActiveX_Clip.xls new file mode 100644 index 0000000..a6091bf Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/ActiveX_Clip.xls differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/Class.cls b/xl-2003-samples/14/vb6/ClipBoard/Class.cls new file mode 100644 index 0000000..1f3284f --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/Class.cls @@ -0,0 +1,47 @@ +VERSION 1.0 CLASS +BEGIN + MultiUse = -1 'True + Persistable = 0 'NotPersistable + DataBindingBehavior = 0 'vbNone + DataSourceBehavior = 0 'vbNone + MTSTransactionMode = 0 'NotAnMTSObject +END +Attribute VB_Name = "ClipBoard" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = True +Attribute VB_PredeclaredId = False +Attribute VB_Exposed = True +Option Explicit + +' clear clipboard +Sub Clear() + On Error Resume Next + ClipBoard.Clear +End Sub + +' read text from clipboard +Function GetText$(Optional format) + On Error Resume Next + If IsMissing(format) Then + GetText = ClipBoard.GetText(1) + Else + GetText = ClipBoard.GetText(format) + End If +End Function + +' insert text into clipboard +Sub SetText(txt$, Optional format) + On Error Resume Next + If IsMissing(format) Then + ClipBoard.SetText txt + Else + ClipBoard.SetText txt, format + End If +End Sub + +' test if clipboard contains data in a certain format +Function GetFormat(format) + On Error Resume Next + GetFormat = ClipBoard.GetFormat(format) +End Function + diff --git a/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.PDM b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.PDM new file mode 100644 index 0000000..36504c1 --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.PDM @@ -0,0 +1,81 @@ +[Root] +Most Recent Package=Standardmäßiges Setup-Paket 1 + + +[Package|Standardmäßiges Setup-Paket 1|Root] +SubWizProgID=PDWizard.SetupPkgSubWiz +BuildFolder=n:\xl2000e\engl-final\cd-rom\samplecode\vb6\ClipBoard\setup + +[Package|Standardmäßiges Setup-Paket 1|Configure DAO ISAMs] +Applicable=No + +[Package|Standardmäßiges Setup-Paket 1|Configure DAO ODBC] +JetWorkspace= +ODBCDirect= + +[Package|Standardmäßiges Setup-Paket 1|Files Found] + +[Package|Standardmäßiges Setup-Paket 1|Files Released] + +[Package|Standardmäßiges Setup-Paket 1|Missing Dependency Information] + +[Package|Standardmäßiges Setup-Paket 1|Out-of-Date Dependency Information] + +[Package|Standardmäßiges Setup-Paket 1|Files Added] + +[Package|Standardmäßiges Setup-Paket 1|Files Removed] + +[Package|Standardmäßiges Setup-Paket 1|Files In Project] +H:\WINNT4\system32\msvbvm60.dll=Yes +H:\WINNT4\system32\OLEAUT32.DLL=Yes +H:\WINNT4\system32\OLEPRO32.DLL=Yes +H:\WINNT4\system32\ASYCFILT.DLL=Yes +H:\WINNT4\system32\STDOLE2.TLB=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\Redist\COMCAT.DLL=Yes +H:\WINNT4\system32\VB6DE.DLL=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP.EXE=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP1.EXE=Yes +H:\WINNT4\system32\VB6STKIT.DLL=Yes +J:\bin-srv\vs98\VB98\Wizards\PDWizard\ST6UNST.EXE=Yes +N:\xl2000e\engl-final\cd-rom\samplecode\vb6\ClipBoard\ClipBrd.dll=Yes + +[Package|Standardmäßiges Setup-Paket 1|Configure Registry Files] +Applicable=No + +[Package|Standardmäßiges Setup-Paket 1|Configure Remote Servers] +Applicable=No + +[Package|Standardmäßiges Setup-Paket 1|Install Locations] +I:\Code\XL-2000\vb6\ClipBoard\ClipBrd.dll=$(AppPath) +H:\WINNT4\system32\msvbvm60.dll=$(WinSysPathSysFile) +H:\WINNT4\system32\OLEAUT32.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\OLEPRO32.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\ASYCFILT.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\STDOLE2.TLB=$(WinSysPathSysFile) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\Redist\COMCAT.DLL=$(WinSysPathSysFile) +H:\WINNT4\system32\VB6DE.DLL=$(WinSysPath) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP.EXE=$(AppPath) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\SETUP1.EXE=$(WinPath) +H:\WINNT4\system32\VB6STKIT.DLL=$(WinSysPathSysFile) +J:\bin-srv\vs98\VB98\Wizards\PDWizard\ST6UNST.EXE=$(WinPath) +N:\xl2000e\engl-final\cd-rom\samplecode\vb6\ClipBoard\ClipBrd.dll=$(AppPath) + +[Package|Standardmäßiges Setup-Paket 1|Configure Shared Files] +Applicable=Yes +I:\Code\XL-2000\vb6\ClipBoard\ClipBrd.dll=No +N:\xl2000e\engl-final\cd-rom\samplecode\vb6\ClipBoard\ClipBrd.dll=No + +[Package|Standardmäßiges Setup-Paket 1|Distribution] +Type=single +Size= +Title=ClipBrd + +[Package|Standardmäßiges Setup-Paket 1|Package] +PackageFolder=n:\xl2000e\engl-final\cd-rom\samplecode\vb6\ClipBoard\setup +ProjectFolder=N:\xl2000e\engl-final\cd-rom\samplecode\vb6\ClipBoard +ServerSideCab= +File1=n:\xl2000e\engl-final\cd-rom\samplecode\vb6\ClipBoard\setup\setup.exe +File2=n:\xl2000e\engl-final\cd-rom\samplecode\vb6\ClipBoard\setup\Setup.Lst +File3=n:\xl2000e\engl-final\cd-rom\samplecode\vb6\ClipBoard\setup\ClipBrd.CAB +Handler1=PDWizard.FolderDplySubWiz +Handler2=PDWizard.WebPostDplySubWiz diff --git a/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.Vbp b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.Vbp new file mode 100644 index 0000000..05a160c --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.Vbp @@ -0,0 +1,34 @@ +Type=OleDll +Class=ClipBoard; Class.cls +Startup="(None)" +HelpFile="" +Title="ClipBrd" +ExeName32="ClipBrd.dll" +Command32="" +Name="ClipBiblio" +HelpContextID="0" +Description="Clipboard-Object (ActiveX sample)" +CompatibleMode="1" +CompatibleEXE32="ClipBrd.dll" +MajorVer=1 +MinorVer=0 +RevisionVer=0 +AutoIncrementVer=0 +ServerSupportFiles=0 +VersionCompanyName="adw" +CompilationType=0 +OptimizationType=0 +FavorPentiumPro(tm)=0 +CodeViewDebugInfo=0 +NoAliasing=0 +BoundsCheck=0 +OverflowCheck=0 +FlPointCheck=0 +FDIVCheck=0 +UnroundedFP=0 +StartMode=1 +Unattended=0 +Retained=0 +ThreadPerObject=0 +MaxNumberOfThreads=1 +DebugStartupOption=0 diff --git a/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.dll b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.dll new file mode 100644 index 0000000..a98f9d1 Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.dll differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.exp b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.exp new file mode 100644 index 0000000..b9d48d1 Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.exp differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.lib b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.lib new file mode 100644 index 0000000..d1a6a8d Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.lib differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.vbw b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.vbw new file mode 100644 index 0000000..8958fb8 --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/ClipBrd.vbw @@ -0,0 +1 @@ +ClipBoard = 88, 88, 858, 564, diff --git a/xl-2003-samples/14/vb6/ClipBoard/Readme.txt b/xl-2003-samples/14/vb6/ClipBoard/Readme.txt new file mode 100644 index 0000000..778b596 --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/Readme.txt @@ -0,0 +1,2 @@ +see ../readme.txt + diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/ClipBrd.CAB b/xl-2003-samples/14/vb6/ClipBoard/setup/ClipBrd.CAB new file mode 100644 index 0000000..c6213cc Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/ClipBrd.CAB differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Setup.Lst b/xl-2003-samples/14/vb6/ClipBoard/setup/Setup.Lst new file mode 100644 index 0000000..31615f5 --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/setup/Setup.Lst @@ -0,0 +1,66 @@ +[Bootstrap] +SetupTitle=Install +SetupText=Copying Files, please stand by. +CabFile=ClipBrd.CAB +Spawn=Setup1.exe +Uninstal=st6unst.exe +TmpDir=msftqws.pdw +Cabs=1 + +[Bootstrap Files] +File1=@vb6stkit.dll,$(WinSysPathSysFile),,,3/26/99 5:38:48 AM,101888,6.0.84.50 +File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1 +File3=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,8/31/99 4:55:18 PM,17920,2.40.4277.1 +File4=@ASYCFILT.DLL,$(WinSysPathSysFile),,,8/31/99 4:55:18 PM,147728,2.40.4277.1 +File5=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/31/99 4:55:18 PM,164112,5.0.4277.1 +File6=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/31/99 4:55:18 PM,598288,2.40.4277.1 +File7=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,5/10/99 12:00:00 AM,1384448,6.0.84.95 + +[Setup] +Title=ClipBrd +DefaultDir=$(ProgramFiles)\ClipBrd +AppExe=ClipBrd.dll +AppToUninstall=ClipBrd.dll + +[Setup1 Files] +File1=@ClipBrd.dll,$(AppPath),$(DLLSelfRegister),,8/17/00 3:12:36 PM,24576,1.0.0.0 + +; Die folgenden Zeilen können gelöscht werden, um zusätzlichen +; Platz für die Anpass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XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ASYCFILT.DLL b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ASYCFILT.DLL new file mode 100644 index 0000000..6a90dbc Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ASYCFILT.DLL differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/COMCAT.DLL b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/COMCAT.DLL new file mode 100644 index 0000000..613109a Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/COMCAT.DLL differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ClipBiblio.DDF b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ClipBiblio.DDF new file mode 100644 index 0000000..0605111 --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ClipBiblio.DDF @@ -0,0 +1,24 @@ +.OPTION EXPLICIT +.Set Cabinet=off +.Set Compress=off +.Set MaxDiskSize=CDROM +.Set ReservePerCabinetSize=6144 +.Set DiskDirectoryTemplate=".." +.Set CompressionType=MSZIP +.Set CompressionLevel=7 +.Set CompressionMemory=21 +.Set CabinetNameTemplate="ClipBrd.CAB" +"Setup.Lst" +"setup.exe" +.Set Cabinet=on +.Set Compress=on +"ClipBrd.dll" +"msvbvm60.dll" +"OLEAUT32.DLL" +"OLEPRO32.DLL" +"ASYCFILT.DLL" +"STDOLE2.TLB" +"COMCAT.DLL" +"SETUP1.EXE" +"VB6STKIT.DLL" +"ST6UNST.EXE" diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ClipBrd.BAT b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ClipBrd.BAT new file mode 100644 index 0000000..a723976 --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ClipBrd.BAT @@ -0,0 +1,4 @@ +@echo off +ECHO Diese Stapelverarbeitungsdatei zum Erstellen einer neuen CAB-Datei verwenden. Drücken Sie STRG-C um abzubrechen. +pause +"J:\bin-srv\vs98\VB98\Wizards\PDWizard\MAKECAB.EXE" /f "ClipBiblio.DDF" diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ClipBrd.dll b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ClipBrd.dll new file mode 100644 index 0000000..f78386d Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/ClipBrd.dll differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/OLEAUT32.DLL b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/OLEAUT32.DLL new file mode 100644 index 0000000..5e61fcc Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/OLEAUT32.DLL differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/OLEPRO32.DLL b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/OLEPRO32.DLL new file mode 100644 index 0000000..15f12bd Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/OLEPRO32.DLL differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/STDOLE2.TLB b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/STDOLE2.TLB new file mode 100644 index 0000000..eb2658f Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/STDOLE2.TLB differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/msvbvm60.dll b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/msvbvm60.dll new file mode 100644 index 0000000..8c59979 Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/msvbvm60.dll differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.exe b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.exe new file mode 100644 index 0000000..279df5c Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.exe differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.inf b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.inf new file mode 100644 index 0000000..824b00d --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.inf @@ -0,0 +1,29 @@ +;*** BEGIN ********************************************************** +;** ** +;** Automatically generated on: Thu Aug 17 15:14:12 2000 ** +;** ** +;** MakeCAB Version: (32) 1.00.603.4 (06/25/98) ** +;** ** +;*** BEGIN ********************************************************** +[disk list] +1,Disk 1 +[cabinet list] +1,1,ClipBrd.CAB +[file list] +1,0,Setup.Lst,3455 +1,0,setup.exe,139776 +1,1,ClipBrd.dll,24576 +1,1,msvbvm60.dll,1384448 +1,1,OLEAUT32.DLL,598288 +1,1,OLEPRO32.DLL,164112 +1,1,ASYCFILT.DLL,147728 +1,1,STDOLE2.TLB,17920 +1,1,COMCAT.DLL,22288 +1,1,SETUP1.EXE,249856 +1,1,VB6STKIT.DLL,101888 +1,1,ST6UNST.EXE,73216 +;*** END ************************************************************ +;** ** +;** Automatically generated on: Thu Aug 17 15:14:12 2000 ** +;** ** +;*** END ************************************************************ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.lst b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.lst new file mode 100644 index 0000000..31615f5 --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.lst @@ -0,0 +1,66 @@ +[Bootstrap] +SetupTitle=Install +SetupText=Copying Files, please stand by. +CabFile=ClipBrd.CAB +Spawn=Setup1.exe +Uninstal=st6unst.exe +TmpDir=msftqws.pdw +Cabs=1 + +[Bootstrap Files] +File1=@vb6stkit.dll,$(WinSysPathSysFile),,,3/26/99 5:38:48 AM,101888,6.0.84.50 +File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1 +File3=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,8/31/99 4:55:18 PM,17920,2.40.4277.1 +File4=@ASYCFILT.DLL,$(WinSysPathSysFile),,,8/31/99 4:55:18 PM,147728,2.40.4277.1 +File5=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/31/99 4:55:18 PM,164112,5.0.4277.1 +File6=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/31/99 4:55:18 PM,598288,2.40.4277.1 +File7=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,5/10/99 12:00:00 AM,1384448,6.0.84.95 + +[Setup] +Title=ClipBrd +DefaultDir=$(ProgramFiles)\ClipBrd +AppExe=ClipBrd.dll +AppToUninstall=ClipBrd.dll + +[Setup1 Files] +File1=@ClipBrd.dll,$(AppPath),$(DLLSelfRegister),,8/17/00 3:12:36 PM,24576,1.0.0.0 + +; Die folgenden Zeilen können gelöscht werden, um zusätzlichen +; Platz für die Anpassung dieser Datei auf einer vollen Installationsdiskette +; zu schaffen. +; +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXX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XXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.rpt b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.rpt new file mode 100644 index 0000000..753fab2 --- /dev/null +++ b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup.rpt @@ -0,0 +1,8 @@ +MakeCAB Report: Thu Aug 17 15:14:12 2000 + +Total files: 12 +Bytes before: 2,927,551 +Bytes after: 1,484,362 +After/Before: 50.70% compression +Time: 5.66 seconds ( 0 hr 0 min 5.66 sec) +Throughput: 505.29 Kb/second diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup1.exe b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup1.exe new file mode 100644 index 0000000..a61705d Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/setup1.exe differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/st6unst.exe b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/st6unst.exe new file mode 100644 index 0000000..6881a9a Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/st6unst.exe differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/Support/vb6stkit.dll b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/vb6stkit.dll new file mode 100644 index 0000000..fd87588 Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/Support/vb6stkit.dll differ diff --git a/xl-2003-samples/14/vb6/ClipBoard/setup/setup.exe b/xl-2003-samples/14/vb6/ClipBoard/setup/setup.exe new file mode 100644 index 0000000..279df5c Binary files /dev/null and b/xl-2003-samples/14/vb6/ClipBoard/setup/setup.exe differ diff --git a/xl-2003-samples/14/vb6/readme.txt b/xl-2003-samples/14/vb6/readme.txt new file mode 100644 index 0000000..84898e9 --- /dev/null +++ b/xl-2003-samples/14/vb6/readme.txt @@ -0,0 +1,41 @@ +Chart + +ExcelChart.exe demonstrates how to use Excel functions +within a Visual Basic program. If you have never +before executed an VB6 program on your PC you +must use setup\setup.exe to install the program +with all necessary libaries. Then execute +Start|Programms|ExcelChart|ExcelChart. + +ClipBoard + +ClipBrd.dll demonstrates how to use a new ActiveX component +in Excel. ClipBrd.dll was created using Visual Basic 6. +You must first execute clipboard\Setup\Setup.exe! Then +use ClipBoard\ActiveX_Clip.xls to test the sample. + +------- + +This information applies to both samples: + +During the setup process, it might be that you have to restart +your system to allow the replacement of certain system DLLs. +This is due to the complicated setup process for VB6 projects. + +This examples were tested on Windows NT 4 SP 4 english with +Office 2000 english (no SPs), and they did work. They were also +tested with Windows 2000 english (no SP) with Office 2000 english (no SP). + +Even if the setup process succeeds, it might happen that the +example still does not work as expected, depending on which +language of Office 2000 and which Service Pack you have installed. +In this cases you would need Visual Basic 6 to recompile the samples. +In case of the clipboard example, you must also delete and then create +anew the reference to the clipboard.dll in the ActiveX_Clip.dll. + +I am sorry for this 'DLL hell'; it is not my fault (but M$'s). +I am not able to provide further support for these samples. + +Sorry about that, + + Michael Kofler \ No newline at end of file diff --git a/xl-2003-samples/14/webservice.xls b/xl-2003-samples/14/webservice.xls new file mode 100644 index 0000000..9761715 Binary files /dev/null and b/xl-2003-samples/14/webservice.xls differ diff --git a/xl-2003-samples/excel2003-beta2/listtest.xls b/xl-2003-samples/excel2003-beta2/listtest.xls new file mode 100644 index 0000000..e4d39b0 Binary files /dev/null and b/xl-2003-samples/excel2003-beta2/listtest.xls differ diff --git a/xl-2003-samples/readme.htm b/xl-2003-samples/readme.htm new file mode 100644 index 0000000..a2a6886 --- /dev/null +++ b/xl-2003-samples/readme.htm @@ -0,0 +1,26 @@ + + + + Definitive Guide to Excel VBA -- Sample Files + + + +

Definitive Guide to Excel VBA -- Sample Files

+ +

These are the sample files for the book: + +

Definitive Guide to Excel VBA +
Michael Kofler +
2nd edition +
ISBN: 1590591038 +
apress 2003 + +

Links: For more information about the book, updates, errata +etc. please see: kofler.cc and apress.com. + +

Michael Kofler, April 2003 + + + diff --git a/xl-2003-samples/readme.txt b/xl-2003-samples/readme.txt new file mode 100644 index 0000000..6ea5747 --- /dev/null +++ b/xl-2003-samples/readme.txt @@ -0,0 +1,17 @@ +These are the sample files for the book: + + Definitive Guide to Excel VBA + Michael Kofler + 2nd edition + ISBN: 1590591038 + apress 2003 + +(c): The files are copyrighted by Michael Kofler and apress and may +not be distributed in any form. + +For more information about the book, updates, errata etc. please see: + +http://www.kofler.cc/english/excel.html +http://www.apress.com/ + +Michael Kofler, May 2003 \ No newline at end of file