Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
PATH for Project Help File?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alastair Cameron  
View profile  
 More options Sep 16 1997, 3:00 am
Newsgroups: microsoft.public.excel.programming
From: Alastair Cameron <ALASTAIR.CAME...@BBSRC.AC.UK>
Date: 1997/09/16
Subject: PATH for Project Help File?

Hi.

I have developed an Excel 97 application, and have developed a
corresponding help (.HLP) system which features context-sensitive help.

While in the VBA editor inside Excel, I can associate a Help file by
going in to Project Properties.

However, the spreadsheet will be given to other people, who may install
it on a network share, secondary hard disk, etc.

I can not specify a hard-coded path in the Project Properties box,
because I do not know that it will always be (say) C:\MYAPP\MYAPP.HLP.

So what do I do?

I've tried putting the spreadsheet on a different PC, and when the user
tries to get Whats-This-Style help, the dialog appears asking for the
user to locate the Help file.

Any ideas?

-Alastair


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Manville  
View profile  
 More options Sep 17 1997, 3:00 am
Newsgroups: microsoft.public.excel.programming
From: Bill-Manvi...@msn.com (Bill Manville)
Date: 1997/09/17
Subject: Re: PATH for Project Help File?

On Tue, 16 Sep 1997 17:00:05 +0100, Alastair Cameron

I would put the help file in the same directory as the workbook that
uses it.  Then the help file is
ThisWorkbook.Path & "\MYAPP.HLP"

Bill Manville
Oxford, England
Microsoft Excel - MVP


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alastair Cameron  
View profile  
 More options Sep 17 1997, 3:00 am
Newsgroups: microsoft.public.excel.programming
From: Alastair Cameron <ALASTAIR.CAME...@BBSRC.AC.UK>
Date: 1997/09/17
Subject: Re: PATH for Project Help File?

Bill I'm a little confused.

As you say, we are shipping the .HLP in the same directory as the .XLS.
I have code in the Workbook open to check for the existence of the help
file (IF THISWORKBOOK.PATH & APPLICATION.PATHEPARATOR & "MYAPP.HLP) and
so am familiar with ThisWorkbook.Path method.

Are you saying that in Project Properties, Help File text box in the VBA
editor, I can actually type in

        ThisWorkbook.Path & "\MYAPP.HLP"

And it will evaluate it at runtime so that users installing the
.XLS/.HLP into whatever directory will not have the problem mentioned in
my original mail.

Apologies for the confusion.

-Alastair


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Manville  
View profile  
 More options Sep 17 1997, 3:00 am
Newsgroups: microsoft.public.excel.programming
From: Bill-Manvi...@msn.com (Bill Manville)
Date: 1997/09/17
Subject: Re: PATH for Project Help File?

On Wed, 17 Sep 1997 11:40:00 +0100, Alastair Cameron

I'm the one who was confused.  Didn't realise you were talking about
the help file in the Project Properties box.

How about (untested)

Thisworkbook.VBProject.HelpFile = ThisWorkbook.Path & "\MYAPP.HLP"

in your workbook_open?

Bill Manville
Oxford, England
Microsoft Excel - MVP


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »