Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default excel 2007, problem with msgbox and custom help file

Has anyone out there ever used an excel 2007 MsgBox to display a
custom help file?

For many years I've used an excel MsgBox with a Help button to display
my help file at a given context id.

Excel 2007 seems to ignore the last two arguments of the MsgBox call,
and so does not display my help file.

On a userform I use Stephen Bullen's ShowHelp routine to show my help
file, and that works fine in excel 2007.

I hope I don't have to create my own Msgbox function with a userform.

Thanks,

Brian Murphy

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default excel 2007, problem with msgbox and custom help file

Can you post a sample code so that we can try it?

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

wrote in message
oups.com...
Has anyone out there ever used an excel 2007 MsgBox to display a
custom help file?

For many years I've used an excel MsgBox with a Help button to display
my help file at a given context id.

Excel 2007 seems to ignore the last two arguments of the MsgBox call,
and so does not display my help file.

On a userform I use Stephen Bullen's ShowHelp routine to show my help
file, and that works fine in excel 2007.

I hope I don't have to create my own Msgbox function with a userform.

Thanks,

Brian Murphy



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default excel 2007, problem with msgbox and custom help file

The code is just a generic call of the MsgBox function. Either in a
macro or in the immediate window, the result is the same either way.

Here's a sample that works in excel 2003, but in excel 2007 it
displays some sort of Excel help file instead of the supplied help
file.

msgbox "test",vbMsgBoxHelpButton,"","C:\Program Files\Microsoft Office
\OFFICE11\CGMIMP32.HLP",0

Thanks,

Brian



On Aug 29, 3:18 am, "Bob Phillips" wrote:
Can you post a sample code so that we can try it?

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

wrote in message

oups.com...

Has anyone out there ever used an excel 2007 MsgBox to display a
custom help file?


For many years I've used an excel MsgBox with a Help button to display
my help file at a given context id.


Excel 2007 seems to ignore the last two arguments of the MsgBox call,
and so does not display my help file.


On a userform I use Stephen Bullen's ShowHelp routine to show my help
file, and that works fine in excel 2007.


I hope I don't have to create my own Msgbox function with a userform.


Thanks,


Brian Murphy



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default excel 2007, problem with msgbox and custom help file

FWIW, I can replicate Brian's problem. I think I recall reading that it is a
feature/known issue with Office 2007.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


wrote in message
ps.com...
The code is just a generic call of the MsgBox function. Either in a
macro or in the immediate window, the result is the same either way.

Here's a sample that works in excel 2003, but in excel 2007 it
displays some sort of Excel help file instead of the supplied help
file.

msgbox "test",vbMsgBoxHelpButton,"","C:\Program Files\Microsoft Office
\OFFICE11\CGMIMP32.HLP",0

Thanks,

Brian



On Aug 29, 3:18 am, "Bob Phillips" wrote:
Can you post a sample code so that we can try it?

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

wrote in message

oups.com...

Has anyone out there ever used an excel 2007 MsgBox to display a
custom help file?


For many years I've used an excel MsgBox with a Help button to display
my help file at a given context id.


Excel 2007 seems to ignore the last two arguments of the MsgBox call,
and so does not display my help file.


On a userform I use Stephen Bullen's ShowHelp routine to show my help
file, and that works fine in excel 2007.


I hope I don't have to create my own Msgbox function with a userform.


Thanks,


Brian Murphy





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default excel 2007, problem with msgbox and custom help file

Somehow my first reply never showed up in the posting list. Strange.

Here is a sample that works in excel 2003, but in excel 2007 is causes
what looks like a default excel help window to appear.

msgbox "prompt",vbMsgBoxHelpButton,"title","c:\progra m files\winzip
\winzip.hlp",101

Brian


On Aug 29, 3:18 am, "Bob Phillips" wrote:
Can you post a sample code so that we can try it?

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

wrote in message

oups.com...

Has anyone out there ever used anexcel2007MsgBox to display a
custom help file?


For many years I've used anexcelMsgBox with a Help button to display
my help file at a given context id.


Excel2007seems to ignore the last two arguments of the MsgBox call,
and so does not display my help file.


On a userform I use Stephen Bullen's ShowHelp routine to show my help
file, and that works fine inexcel2007.


I hope I don't have to create my own Msgbox function with a userform.


Thanks,


Brian Murphy





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
problem custom sorting a date in an excel file clcnewtoaccess Excel Discussion (Misc queries) 1 January 16th 09 06:15 PM
Want to add help file for custom function but excel 2007 is flaked Sabotuer99 Excel Worksheet Functions 1 July 19th 08 01:46 PM
Excel 2007 File Sharing Problem [email protected] Excel Discussion (Misc queries) 0 October 31st 07 06:19 AM
problem with open text file in excel 2007 Lina Excel Discussion (Misc queries) 8 September 18th 07 08:16 AM
Custom help file in Excel 2007 peterhoa[_2_] Excel Programming 0 September 29th 06 01:04 PM


All times are GMT +1. The time now is 07:55 PM.

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"