Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default cant dim as commandbar

I'm trying to help out a co-worker... he has one module that he was able to
create the line

dim cb as CommandBar

in another module, CommandBar is not an option in the drop-down list. we
can't figure out what the differences are between the two modules.

Anyone have any suggestions or ideas?

Thanks~
Seren
--
"Behave like a duck- keep calm and unruffled on the surface but paddle like
hell underneath."
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default cant dim as commandbar

Commandbar is an object in the Office Type Library. with the troublesome
workbook as the activeproject in the VBE, go into Tools=References and make
sure you have the "Microsoft Office XX.0 Object Library" checked. If it
is checked, but shown as Missing, it is probably because you have moved the
file to a computer with an older version of office. Create a reference to
the proper version.

--
Regards,
Tom Ogilvy

"Seren" wrote in message
...
I'm trying to help out a co-worker... he has one module that he was able

to
create the line

dim cb as CommandBar

in another module, CommandBar is not an option in the drop-down list. we
can't figure out what the differences are between the two modules.

Anyone have any suggestions or ideas?

Thanks~
Seren
--
"Behave like a duck- keep calm and unruffled on the surface but paddle

like
hell underneath."



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
CommandBar swiederkehr Excel Programming 5 July 19th 05 04:58 PM
Custom Commandbar Stefano Condotta Excel Programming 2 March 3rd 05 07:00 PM
Commandbar frustration. Julian Cox Excel Programming 6 July 23rd 04 08:57 PM
Add-In needs to create CommandBar lucp Excel Programming 8 June 27th 04 01:46 PM
commandbar Greg Prost[_2_] Excel Programming 2 November 21st 03 11:42 AM


All times are GMT +1. The time now is 07:54 AM.

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

About Us

"It's about Microsoft Excel"