PageRenderTime 42ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/Visual Studio 2008/VBVstoExcelWorkbook/Readme.txt

#
Plain Text | 44 lines | 28 code | 16 blank | 0 comment | 0 complexity | ff5684cb8375c51aa091938f02e7620d MD5 | raw file
  1. ========================================================================
  2. EXCEL WORKBOOK : VBVstoExcelWorkbook Project Overview
  3. ========================================================================
  4. /////////////////////////////////////////////////////////////////////////////
  5. Use:
  6. The VBVstoExcelWorkbook provides the examples on how to customize Excel
  7. Workbooks by using the ListObject and the document Actions Pane.
  8. /////////////////////////////////////////////////////////////////////////////
  9. Prerequisites:
  10. The code sample requires Microsoft Excel 2007.
  11. /////////////////////////////////////////////////////////////////////////////
  12. Creation:
  13. Actions Pane
  14. 1. Create a User Control named CourseQueryPane.
  15. 2. In ThisWorkbook class, add the User Control to the Actions Pane using the
  16. following code:
  17. this.ActionsPane.Controls.Add(new CourseQueryPane());
  18. List Object
  19. 1. Drag & drop a ListObject from the Toolbox onto Sheet1.
  20. 2. Set the DataSource property of the ListObject.
  21. 3. At runtime, update related tables and the ListObject will reflect the data.
  22. /////////////////////////////////////////////////////////////////////////////
  23. References:
  24. ListObject Class:
  25. http://msdn.microsoft.com/en-us/library/microsoft.office.tools.excel.listobject.aspx
  26. ActionsPane Class:
  27. http://msdn.microsoft.com/en-us/library/microsoft.office.tools.actionspane.aspx
  28. /////////////////////////////////////////////////////////////////////////////