OL 2007 Custom Button

Status
Not open for further replies.
P

Peter Hibbs

In OL2003 I can add a new button to the tool-bar and assign some VB

code to it.

Is this still possible in OL2007 and if so, is there any info on the

Internet on how to do this.

TIA

Peter Hibbs.
 
New button where, in an Explorer or Inspector?

You can add a button but for an Inspector, where the ribbon is used, it will

be relegated to being in the Add-Ins tab since there are no Inspector menus

or toolbars in Outlook 2007.

For Explorers Outlook 2007 is the same as 2003.

There's tons of information on this all over the Web, all it takes is a

google search.

"Peter Hibbs" <peter.hibbs@btinternet.com.NO_SPAM> wrote in message

news:2k7085l00uvmu6af9gb64b8p6entqlvgn0@4ax.com...
> In OL2003 I can add a new button to the tool-bar and assign some VB
> code to it.

> Is this still possible in OL2007 and if so, is there any info on the
> Internet on how to do this.

> TIA

> Peter Hibbs.
 
Thanks for the info, I did find some detailed info at the MSDN for

Outlook i.e. http://msdn.microsoft.com/en-us/library/dd229324.aspx

I am writing some code for a customer which will execute when they

click a custom button on the tool-bar. I have OL2003 and I can do it

OK with that version.

The problem is that they are using OL2007 and are not very 'computer

literate' (and they are in a different country) so I am going to have

to explain how to do this 'in words of one syllable'. In OL2003 I

would say press ALT + F11, copy this code into the VB window, click

Save. Right click tool-bar, choose Customize, drag Macro to tool-bar,

change label text, add icon, etc, etc.

If I do this for OL2003 will they be able to use the same procedure in

OL2007 or is the interface so different that they will get lost from

the start. If I had OL2007 installed I could try it myself and write a

step by step guide but this is not possible. Looking at the above Web

site, it looks to me as if the Explorers display is similar to OL2003

and the Inspectors version uses the new ribbons but I don't know what

my customer uses at the moment or can they switch from one to the

other easily.

If you have any more insights on how I should proceed I would be

grateful, failing that I may just have to install Office2007 on my

laptop!

Peter Hibbs.

On Mon, 10 Aug 2009 10:05:39 -0400, "
<kenslovak@mvps.org> wrote:


> New button where, in an Explorer or Inspector?

> You can add a button but for an Inspector, where the ribbon is used, it will
> be relegated to being in the Add-Ins tab since there are no Inspector menus
> or toolbars in Outlook 2007.

> For Explorers Outlook 2007 is the same as 2003.

> There's tons of information on this all over the Web, all it takes is a
> google search.
 
Outlook 2003 uses toolbars/menus for both Inspectors and Explorers. Outlook

2007 uses toolbars/menus for Explorers and the ribbon for Inspectors.

Outlook 2010 will use the ribbon for both Inspectors and Explorers.

From what you say I'm inferring that you're referring to Inspector UI, where

you can't do what you want for the ribbon. It's also not a good idea at all

to deploy VBA macro code, it's designed for personal use and quick macros

and prototyping, not for robust code or deployment. You really should be

using a COM addin for that.

The ribbon is totally different and your procedure will not work there for

Outlook 2007 Inspectors (or Outlook 2010). If you plan to develop for

Outlook 2007 I'd strongly recommend that you have it installed somewhere, at

least for testing purposes. If you are limited as to machines you can always

use a virtual machine. I have over 15 of them running everything from

Outlook 2000 on Win2K to Outlook 2010 on Vista. That lets you test in every

environment.

"Peter Hibbs" <peter.hibbs@btinternet.com.NO_SPAM> wrote in message

news:t6g085lcgid38djc2souufm962vet75f58@4ax.com...
> Thanks for the info, I did find some detailed info at the MSDN for
> Outlook i.e. http://msdn.microsoft.com/en-us/library/dd229324.aspx

> I am writing some code for a customer which will execute when they
> click a custom button on the tool-bar. I have OL2003 and I can do it
> OK with that version.

> The problem is that they are using OL2007 and are not very 'computer
> literate' (and they are in a different country) so I am going to have
> to explain how to do this 'in words of one syllable'. In OL2003 I
> would say press ALT + F11, copy this code into the VB window, click
> Save. Right click tool-bar, choose Customize, drag Macro to tool-bar,
> change label text, add icon, etc, etc.

> If I do this for OL2003 will they be able to use the same procedure in
> OL2007 or is the interface so different that they will get lost from
> the start. If I had OL2007 installed I could try it myself and write a
> step by step guide but this is not possible. Looking at the above Web
> site, it looks to me as if the Explorers display is similar to OL2003
> and the Inspectors version uses the new ribbons but I don't know what
> my customer uses at the moment or can they switch from one to the
> other easily.

> If you have any more insights on how I should proceed I would be
> grateful, failing that I may just have to install Office2007 on my
> laptop!

> Peter Hibbs.
 
OK Ken, will give your comments some more thought.

Thanks.

Peter Hibbs.

On Mon, 10 Aug 2009 15:53:51 -0400, "
<kenslovak@mvps.org> wrote:


> Outlook 2003 uses toolbars/menus for both Inspectors and Explorers. Outlook
> 2007 uses toolbars/menus for Explorers and the ribbon for Inspectors.
> Outlook 2010 will use the ribbon for both Inspectors and Explorers.

> From what you say I'm inferring that you're referring to Inspector UI, where
> you can't do what you want for the ribbon. It's also not a good idea at all
> to deploy VBA macro code, it's designed for personal use and quick macros
> and prototyping, not for robust code or deployment. You really should be
> using a COM addin for that.

> The ribbon is totally different and your procedure will not work there for
> Outlook 2007 Inspectors (or Outlook 2010). If you plan to develop for
> Outlook 2007 I'd strongly recommend that you have it installed somewhere, at
> least for testing purposes. If you are limited as to machines you can always
> use a virtual machine. I have over 15 of them running everything from
> Outlook 2000 on Win2K to Outlook 2010 on Vista. That lets you test in every
> environment.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
J Can Click to Drag Custom Form Field But Cannot Drop When Designing in Outlook 2007 Outlook VBA and Custom Forms 2
Z how to make OL (2007) to use custom contact form when importing / opening .VCF? Using Outlook 1
L Outlook 2007 Custom Form and Toolbar Not Working Using Outlook 5
divan Outlook 2007 - Replace email body with custom text Using Outlook 9
Z outlook 2007 - opening a contact from the search results doesn't use the custom form Using Outlook 10
M Workarounds for sharing custom Outlook 2007 forms? Using Outlook 3
D Custom Tool Bar and/or Commands do not remain when re-opening Outlook 2007 Using Outlook 3
D Outlook 2007 Custom Form - Dual Addresses and Mailing Address Using Outlook 6
B Reply to All custom action doesn't work with attachments in Outlook 2007 Using Outlook 1
S How to call a procedure from a custom command bar in Outlook 2007 Outlook VBA and Custom Forms 1
J Making custom Outlook 2007 folders emptiable like "Deleted Items" Outlook VBA and Custom Forms 1
P outlook 2007 - custom buttoms with hyperlinks to oft files Outlook VBA and Custom Forms 1
B Importing Contacts Does Not Use Defined Custom Form in Outlook 2007 Outlook VBA and Custom Forms 1
R Build custom ribbon in Outlook 2007 Outlook VBA and Custom Forms 3
J Extra text on an Outlook 2007 custom form Outlook VBA and Custom Forms 2
K Accessing contact's custom properties in a Outlook 2007 form region Outlook VBA and Custom Forms 1
S Make field searchable in custom form in outlook 2007 Outlook VBA and Custom Forms 1
T Custom form created in 2003 won't print since upgrade to 2007 Outlook VBA and Custom Forms 1
T Custom form created in 2003 won't print since upgrade to 2007 Outlook VBA and Custom Forms 13
T How to export custom form from exchange 2003 to exchange 2007 Outlook VBA and Custom Forms 2
J Outlook 2007 using custom form created for Outlook 2003 Outlook VBA and Custom Forms 2
B Outlook 2007 Custom Form does not display in 2003 Outlook VBA and Custom Forms 3
D Outlook 2007 Recovering E-Mails Using Outlook 0
W Transfer Outlook 2016 autocomplete file to Outlook 2007 Using Outlook 1
C Outlook 2007 Removing then adding account restores junk email processing Using Outlook 0
S Outlook 2007 crash linked to gdiplus.dll Using Outlook 0
S Outlook 2007 - Automatic purge fail Using Outlook 0
J outlook 2007 doesn't let me choose which .pst to search Using Outlook 2
D Outlook 2007 vs. Outlook 2010 -- ToDo Bar Using Outlook 0
D Outlook 2007 on 365 Using Outlook.com accounts in Outlook 2
S Macro for other actions - Outlook 2007 Outlook VBA and Custom Forms 23
S Verwendung von Outlook 2007 Using Outlook 0
A Arthur needs help with 2007 Outlook e-mail Using Outlook.com accounts in Outlook 3
M PST import from Outlook 2007 to 2010 - Address Book contacts all in 1 group Using Outlook 4
S outlook 2007 calendar search Using Outlook 6
B Migrate Outlook 2007 to Office 365 Using Outlook 3
X I have met my waterloo trying to resolve embedded graphics problem with outlook 2007 and now 2016 Using Outlook 1
R Outlook 2007 only loads some appointments Using Outlook 0
C Move Outlook 2007 to new PC with Outlook 365 Using Outlook 3
J Outlook 2007 Hide Messages Option not Available Using Outlook 2
B Outllok 2007 License Expired issue Using Outlook 0
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 4
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 0
B Server errors Outlook 2007 Using Outlook 1
S Reboot of frozen windows7 results in changed outlook 2007 settings Using Outlook 1
S Outlook 2007 printing wrong email address at top of page Using Outlook 8
M Configure outlook 2007 to accept digital signatures Using Outlook 2
D Outlook 2007 crashes when opening an email Using Outlook 2
R New chap saying hello and needing advice on Outlook 2007 thumbnails Using Outlook 3
icacream From Outlook 2007 to 2016 ! Using Outlook 9

Similar threads

Back
Top