Saturday, June 30, 2007

Adding a VBA Macro To a Toolbar

  1. Type CUI at the command line.
  2. Press the new command button
  3. Create a new Toolbar
  4. Type in the following format of the vba macro to get it to load and run, notice that the folder separators go in the wrong direction:
  5. ^C^C-vbarun;"C:/Documents and Settings/user/My Documents/Autodesk/PipeNetworkQuantity-0.1.dvb!ExcelExportLengthCount.ExportToExcelLengthCount";
  6. Add an icon and drag the command from the lower left area up to the new toolbar

No comments:


Blog Widget by LinkWithin