For my personal.xls everything works fine. It's when I add it to my XLA add-in it doesn't work. I'm no longer using my personal.xls. I currently only have VBA code for my menus in my XLA. No code yet for my custom toolbar. So, without having any VBA code for custom toolbar, it shows up on a separate line. Someone told me that I should not attach the toolbar. Instead I should create the entire custom toolbar via VBA code, in the same way I'm creating the menu in VBA.
Main Topics
Browse All Topics





by: exciter_grPosted on 2007-10-27 at 06:23:06ID: 20161331
have you tried adding a code like the following into the Open event of the Workbook object for file Personal.xls?
hart").Pos ition = msoBarTop
Code:
Private Sub Workbook_Open()
Application.CommandBars("C
End Sub
where "chart" please insert your toolbar's name.