Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Persistent Excel toolbar

I used the code below to add a toolbar to my excel 97

Set xlapp = CreateObject("Excel.Application")
xlapp.visible=true
Set xlbook = xlapp.Workbooks.add
'xlapp.volatile(false)
Set cbs = xlapp.CommandBars
Set cb = cbs.Add("Impression CAB", 1,,false)
cb.Visible = True
Set cbc = cb.Controls.Add(1)
cbc.OnAction = "'c:\ged\perso.xls'!ImprimeCAB"
cbc.Caption = "Imprimer CAB"
cbc.FaceId = 59
xlbook.saved=true
xlapp.Quit


the prolem is that the toolbar is not added permanentely to my excel
help plz.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel ODBC driver created table/data not persistent Farid Z Excel Discussion (Misc queries) 2 May 19th 10 05:14 PM
excel toolbar like word toolbar, please Meng[_2_] Excel Discussion (Misc queries) 1 May 23rd 09 04:28 PM
Persistent External File Links Vulch1968 Setting up and Configuration of Excel 1 April 28th 07 03:06 AM
How to Delete a persistent Toolbar? alainr Excel Discussion (Misc queries) 6 October 6th 05 04:29 PM
saving toolbar buttons on custom toolbar Paul James Excel Programming 12 August 6th 03 08:28 AM


All times are GMT +1. The time now is 12:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"