View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
José Ignacio Bella José Ignacio Bella is offline
external usenet poster
 
Posts: 7
Default save command bar into an excel workbook using vb

Hello, I want to save a custom command bar into an excel workbook.
Instead of doing that manually, I want to do with Vb code (before close,
join the command bar to the book, and delete the bar).

The Vb help says I can do it using the command bar property "context"
<Application.CommandBars("BarName").Context, but I do not know how to use
context (there is no example).
Does anyone know how to do it?

Thanks in advance