Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default inputbox and helpfile

Can someone explain what I am doing incorrectly with this code?

examle 1 and 2 work OK. example 3 does not display a help button on
the inputbox. I believe the syntax is ok, so what am I doing wrong?

tia
g.

example 1
MsgBox "Press the help button", _
Buttons:=vbOKCancel Or vbMsgBoxHelpButton, _
HelpFile:=ThisWorkbook.Path & "\my.chm", _
Context:=144

example 2
strData = InputBox( _
Prompt:="Enter a number" & vbLf & vbLf & _
"Enter a 0 to quit", Title:="Add Rows", _
HelpFile:=ThisWorkbook.Path & "\my.chm", Context:="144")

example 3
'lNumber = Application.InputBox( _
Prompt:="Enter a number", Title:="Number", _
HelpFile:=ThisWorkbook.Path & "\my.chm", HelpContextID:=144, _
Type:=1)
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
userform 'helpfile' Pierre via OfficeKB.com[_2_] Excel Programming 2 October 21st 05 11:49 PM
Create a Helpfile within Excel Ligaya Excel Programming 7 December 21st 04 01:55 PM
MyHelp - VBProject.Helpfile Marc Deveaux[_2_] Excel Programming 1 October 7th 04 05:40 PM
Open Helpfile from Excel VBA or hyperlink Thijs Hessels Excel Programming 0 September 30th 04 08:57 AM
Unable to launch html helpfile RB Smissaert Excel Programming 0 July 19th 03 01:49 AM


All times are GMT +1. The time now is 02:04 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"