A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , , , ,

Problem with VBA and different language versions





 
 
Thread Tools Display Modes
  #1  
Old September 6th 07, 12:48 PM posted to microsoft.public.outlook.program_vba
bobens_83
external usenet poster
 
Posts: 3
Default Problem with VBA and different language versions

Hi.

I have macro written under OUTLOOK 2003. It works under:
- OUTLOOK 2003 PL (polish)
- OUTLOOK 2003 CZ (czech)
- OUTLOOK 2000 PL

but it doesn't work under OUTLOOK 200 CS. I receive ERROR:

"Compile error in hidden module:ThisOutlookSesion Can't find project or
Library"

And the debugger stops in first line of macro:
"Set okay_panel = Application.ActiveExplorer.CommandBars.Add(Name:=" OKAY",
Position:=msoBarTop, Temporary:=True)"

Do You have any idea how to solve that problem? Greetings!
Ads
  #2  
Old September 7th 07, 07:43 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,264
Default Problem with VBA and different language versions



That's not language dependent. Just add the Office library to the project.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Thu, 6 Sep 2007 03:48:02 -0700 schrieb bobens_83:

Hi.

I have macro written under OUTLOOK 2003. It works under:
- OUTLOOK 2003 PL (polish)
- OUTLOOK 2003 CZ (czech)
- OUTLOOK 2000 PL

but it doesn't work under OUTLOOK 200 CS. I receive ERROR:

"Compile error in hidden module:ThisOutlookSesion Can't find project or
Library"

And the debugger stops in first line of macro:
"Set okay_panel = Application.ActiveExplorer.CommandBars.Add(Name:=" OKAY",
Position:=msoBarTop, Temporary:=True)"

Do You have any idea how to solve that problem? Greetings!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a problem with multiple versions of contacts in Outlook TM Outlook - Using Contacts 2 June 4th 07 04:43 PM
run 2 simultaneous versions of OE? HG2 Outlook Express 2 April 23rd 07 06:14 PM
i have two versions milly8506 Outlook - General Queries 1 June 20th 06 10:52 AM
Versions of Outlook Jeanie Outlook - General Queries 1 May 10th 06 01:44 AM
Problem with language settings of Custom Outlook Form Muhammad Usman Outlook - Using Forms 0 May 3rd 06 08:28 AM


All times are GMT +1. The time now is 05:58 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Credit Cards - Online Advertising - Loans - Online Advertising - Credit Card