Click here to load reader

Excel 2013 Power Programming with · PDF fileКоманды редактора VBA 29 ... Управление объектами и коллекциями 222 Конструкция

  • View
    226

  • Download
    7

Embed Size (px)

Text of Excel 2013 Power Programming with · PDF fileКоманды редактора VBA 29 ......

  • 25

    27 27 27 28, 28

    Excel 28 VBA 29 29, 30

    , 30 30

    I. Excel 30II. Visual Basic for Applications 31III. 31IV. 31V. 31VI. 31VII. 31

    32 Power Utility Pak 32 32 ! 32

    I. Excel 33

    1. Excel 35 36

    36 37 38 XLM 38 Excel5/95 39

    Excel 39 41 44

    Excel 2013 Power Programming with VBA.indb 6Excel 2013 Power Programming with VBA.indb 6 08.04.2014 13:04:5208.04.2014 13:04:52

  • 7

    - 47 47 49 49

    50, 51 52 53 55

    55 56 56 VBA- 57

    58 SmartArt 58 59

    59 60

    Excel 60 61 63 63 63 Excel 63

    2. 65 65 66 67

    67 R1C1 69 70

    72 72 74 74 74 75 75 76 77

    Excel 78 Excel 79

    79 80

    Excel 2013 Power Programming with VBA.indb 7Excel 2013 Power Programming with VBA.indb 7 08.04.2014 13:04:5208.04.2014 13:04:52

  • 8

    82 84 84 84 Excel 86

    87 88 89 89

    90 91 92 93

    93 95

    95 1900 96

    97

    3. Excel 101 Excel 101 102

    Excel 103 104 105 105

    Excel 107 108 109

    109 109 110

    110 110 110 112

    Excel 113 113 116

    Offi ceUI 117 XLB 118 118 Excel 119

    119 Excel 120

    Excel 2013 Power Programming with VBA.indb 8Excel 2013 Power Programming with VBA.indb 8 08.04.2014 13:04:5208.04.2014 13:04:52

  • 9

    4. 123 123 124 125 126 128

    128 129 129 130 ActiveX 131 133

    133 133 134 136 138 , 138 139 139

    140 Excel, 140, 140 140 141

    II. Visual Basic forApplications 143

    5. Visual Basic for Applications 145 BASIC 145 VBA 146

    146 VBA XLM 146

    VBA 147 Visual Basic 149

    149 VBE 151 VBE 151

    Project Explorer 152 VBA 154 VBA 154 154

    155 155 VBA 155

    Excel 2013 Power Programming with VBA.indb 9Excel 2013 Power Programming with VBA.indb 9 08.04.2014 13:04:5308.04.2014 13:04:53

  • 10

    VBA 156 VBE 162

    Editor 162 Editor Format 165 General 166 Docking 167

    168 168 169 172 173

    175 175 175 176

    177 177 179

    Comment 179 Comment 179 Comment 181 Comment 181 Comments 182 Comment 183, Comment 183 184 Comment 185

    Application 185 Range 187

    Range 187 Cells 189 Offset 191

    193 193 194 196

    6. VBA 197 VBA 197 200, 201

    202 204 207

    Excel 2013 Power Programming with VBA.indb 10Excel 2013 Power Programming with VBA.indb 10 08.04.2014 13:04:5308.04.2014 13:04:53

  • 11

    210 212 212

    213 216

    216 216 217

    217 218 219 222

    With-End With 222 For Each-Next 223

    225 GoTo 225 If-Then 226 Select Case 230 232

    7. VBA 241 241

    242 243

    Sub 244 Run Sub/UserForm 244 245 245 246 247 247 251 252 253

    253 257

    257 259

    261 262 262 262 263 263 263

    Excel 2013 Power Programming with VBA.indb 11Excel 2013 Power Programming with VBA.indb 11 08.04.2014 13:04:5308.04.2014 13:04:53

  • 12

    265 266 267 271 271 275 276

    8. 277 277 278 278

    279 VBA 280 280

    283 284 284

    288 288

    288 291 293 294 295 VBA, 296, 299 300

    Excel 301 304 306 307

    MacroOptions 308 310 311

    311 Windows API 312

    Windows API 312 Windows 313 314 Windows API 315

    9. VBA 317 317 318

    Excel 2013 Power Programming with VBA.indb 12Excel 2013 Power Programming with VBA.indb 12 08.04.2014 13:04:5308.04.2014 13:04:53

  • 13

    318 319 320 321 323 324 325 326 328 329 330 334 334 , 336 337 338 339 341 Variant 341 342 343

    345 345 346 346 347 348

    VBA 349 349 350 351 353 353 355

    VBA 357 FileExists 357 FileNameOnly 357 PathExists 358 RangeNameExists 358 SheetExists 359 WorkbookIsOpen 359 360

    Excel 361 362

    Excel 2013 Power Programming with VBA.indb 13Excel 2013 Power Programming with VBA.indb 13 08.04.2014 13:04:5408.04.2014 13:04:54

  • 14

    363 363 364 365 366 367 n- 368 369 369 SHEETOFFSET 370 371 372 373 375

    Windows API 377 377 378 378 379 380

    III. 383

    10. 385 385 386

    InputBox VBA 386 Excel InputBox 388

    VBA MsgBox 391 Excel GetOpenFilename 395 Excel GetSaveAsFilename 398 399 Excel 399 401

    403 VBA 403

    11. 405 Excel 405 UserForm 406

    407 Toolbox 407

    CheckBox 407ComboBox 408CommandButton 408

    Excel 2013 Power Programming with VBA.indb 14Excel 2013 Power Programming with VBA.indb 14 08.04.2014 13:04:5408.04.2014 13:04:54

  • 15

    Frame 408Image 408Label 409ListBox 409MultiPage 409OptionButton 409RefEdit 409ScrollBar 409SpinButton 410TabStrip 410TextBox 410ToggleButton 410

    412 413

    Properties 413 415 415

    UserForm 417 418 418 419 419 419

    419 421

    421 423 424 425 426, ! 427

    UserForm 427 427 UserForm 428 SpinButton 429 SpinButton TextBox 430

    433 Toolbox 434

    434 434 ActiveX 436

    437 437

    Excel 2013 Power Programming with VBA.indb 15Excel 2013 Power Programming with VBA.indb 15 08.04.2014 13:04:5408.04.2014 13:04:54

  • 16

    12. 439 UserForm 439

    CommandButton 440 ListBox 440

    441 443 445 UserForm 446 447 ListBox 449

    ListBox 450 ListBox 454 ListBox 455 ListBox 456 ListBox 457 ListBox 458 ListBox 459 ListBox 461 ListBox 463

    MultiPage 466 467 Label 469

    13. 473 474 477

    478 MultiPage 481 MultiPage 484

    485 MultiPage 486 486 487 489 490

    MsgBox 491 MyMsgBox 492 493 MyMsgBox 495

    495 UserForm 496 UserForm 498

    Excel 2013 Power Programming with VBA.indb 16Excel 2013 Power Programming with VBA.indb 16 08.04.2014 13:04:5408.04.2014 13:04:54

  • 17

    UserForm 500 UserForm 501 505 507 UserForm 509

    GIF- 510 Picture Image 510

    UserForm 511 512

    514 Enhanced Data Form 515

    515 UserForm 516

    IV. 517

    14. Excel VBA 519 Excel 519 VBA 520 521 Text Tools 521

    Text Tools 522 Text Tools 522 Text Tools 523 524 Text Tools 525 Module1 526 UserForm1 528 Text Tools 529 Text Tools 531 532 535 RibbonX 535 536 Text Tools 537

    Excel 538

    15. 539 539

    540 VBA 541 542

    545 546 547

    Excel 2013 Power Programming with VBA.indb 17Excel 2013 Power Programming with VBA.indb 17 08.04.2014 13:04:5408.04.2014 13:04:54

  • 18

    548 552

    16. 555 556

    556 557 557

    558 560 561 VBA 562 563 564 564 ChartObjects Charts 565 566 568 570 572

    572 573

    575 VBA 576

    579 583 585

    Chart 586 589 Chart 590

    , 592 592/ 592 594 MouseOver 596

    598 599 601 602

    604 605 605 605 606

    Excel 2013 Power Programming with VBA.indb 18Excel 2013 Power Programming with VBA.indb 18 08.04.2014 13:04:5508.04.2014 13:04:55

  • 19

    607 607

    17. Excel 611 Excel 611

    612 613 614 615 , 616

    Workbook 618 Open 619 Activate 620 SheetActivate 620 NewSheet 620 BeforeSave 621 Deactivate 621 BeforePrint 622 BeforeClose 623

    Worksheet 625 Change 625 SelectionChange 631 BeforeDoubleClick 632 BeforeRightClick 632

    Chart 633 Application 635

    Application 636 636 Application 637

    UserForm 638, 639

    OnTime 640 OnKey 641

    18. 645 Excel 645

    Shell 645 648 API- ShellExecute 648

    Excel 649 AppActivate 649 Microsoft Office 650

    650 Excel 652

    652

    Excel 2013 Power Programming with VBA.indb 19Excel 2013 Power Programming with VBA.indb 19 08.04.2014 13:04:5508.04.2014 13:04:55

  • 20

    652 655 Word Excel 656 Excel 659

    Outlook 661 Excel 664

    19. 667 667

    668 669

    Excel 670 672 673

    674 674 676 677 677 677

    XLAM XLSM 679 679 XSLM XLAM 679 XLSM XLAM 680 VBA- 680

    VBA 684 AddIns 684 AddIns 685 AddIn 686 688 AddIn 689

    689, 690

    690 692 Excel 693

    V. 695

    20. 697 697 VBA 701

    702 703 705

    Excel 2013 Power Programming with VBA.indb 20Excel 2013 Power Programming with VBA.indb 20 08.04.2014 13:04:5508.04.2014 13:04:55

  • 21

    705 RibbonX 706 RibbonX 709 RibbonX 714 716 DynamicMenu 723 725

    726, Excel2007 727 727

    21. 731 CommandBar 731

    CommandBar 732 732 CommandBar 733 CommandBar 734 CommandBar 735 736

    VBA 738 Excel2013 738 740 741 741 Cell 742 743 746

    746 746 747 747

    22. 751 Excel 751 , Excel 754

    754 755 756 758

    - 761 HTML- 761 MHTML 762

    HTML Help 762 Help 764

    Excel 2013 Power Programming with VBA.indb 21Excel 2013

Search related