PC Review


Reply
Thread Tools Rate Thread

Button to open an excel file in a share drive folder.

 
 
=?Utf-8?B?RS1tYWlsIHJlcG9ydCB1c2luZyBMb3R1cyBOb3Rl
Guest
Posts: n/a
 
      31st Aug 2006
Hi, I would like to create a button that will help me open an excel file in
my share drive.

For example I would like to program the button that can open
s:\karen\excel.xls
After clicking on the button it automatically open my excel file.

Thanks, K.
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      31st Aug 2006
Dim strFile As String

strFile = "s:\karen\excel.xls"

Application.FollowHyperlink strFile


--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"E-mail report using Lotus Notes rather t"
<(E-Mail Removed)> wrote in
message news:31A963C2-D350-49F9-A2ED-(E-Mail Removed)...
> Hi, I would like to create a button that will help me open an excel file
> in
> my share drive.
>
> For example I would like to program the button that can open
> s:\karen\excel.xls
> After clicking on the button it automatically open my excel file.
>
> Thanks, K.



 
Reply With Quote
 
=?Utf-8?B?TmluaWVs?=
Guest
Posts: n/a
 
      31st Aug 2006
Just set a hyperlink to that file, and then formate the link so that it looks
like a button, ie. apply the Raised formatting and the same colour as the
usual buttons. You won't get the "pressing button down" effect, although I
suspect that could be programmed as well, but at least it works.

"E-mail report using Lotus Notes rather t" wrote:

> Hi, I would like to create a button that will help me open an excel file in
> my share drive.
>
> For example I would like to program the button that can open
> s:\karen\excel.xls
> After clicking on the button it automatically open my excel file.
>
> Thanks, K.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
From share drive particular excel file takes long time to open AshaPadmanabhan Microsoft Excel Misc 0 13th Apr 2010 05:18 PM
can't open a excel file in share folder Dickson Microsoft Excel Misc 0 25th Sep 2008 02:21 AM
How to share a file/folder on E drive? toronado455 Windows XP General 11 21st Apr 2008 08:47 PM
how do you share an open excel file =?Utf-8?B?PDxqdW5rZm9yam9objEwMUBub3JlcGx5LmhvdG1h Microsoft Excel Worksheet Functions 1 13th Jan 2005 06:57 PM
Excel closes when D drive open/close button pushed Cheryl Microsoft Excel Misc 2 11th Sep 2003 03:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:45 PM.