PC Review


Reply
Thread Tools Rate Thread

Button Question

 
 
=?Utf-8?B?U2FuZHk=?=
Guest
Posts: n/a
 
      13th Nov 2007
Hello
My spreadsheet has a button menu page and the previous author created the
buttons by using shapes. I am recreating and using forms controls and
inserting actual buttons. There is one of his 'buttons' that is hyperlinked
to a third party program. The hyperlink is formatted
file:///\\path\filename.xxx. How do I assosciate this with a button? I
suppose it will take a macro but I am not sure how to do it
Thanks!!!
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9obiBCdW5keQ==?=
Guest
Posts: n/a
 
      13th Nov 2007
Try using Shell(path) in the buttons click event, it has focus arguments as
well.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"Sandy" wrote:

> Hello
> My spreadsheet has a button menu page and the previous author created the
> buttons by using shapes. I am recreating and using forms controls and
> inserting actual buttons. There is one of his 'buttons' that is hyperlinked
> to a third party program. The hyperlink is formatted
> file:///\\path\filename.xxx. How do I assosciate this with a button? I
> suppose it will take a macro but I am not sure how to do it
> Thanks!!!

 
Reply With Quote
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      13th Nov 2007
Assign this type of macro to your form:

Sub thirdparty()
s = "file:///C:\Windows\Notepad.exe"
ActiveWorkbook.FollowHyperlink (s)
End Sub

--
Gary''s Student - gsnu200755


"Sandy" wrote:

> Hello
> My spreadsheet has a button menu page and the previous author created the
> buttons by using shapes. I am recreating and using forms controls and
> inserting actual buttons. There is one of his 'buttons' that is hyperlinked
> to a third party program. The hyperlink is formatted
> file:///\\path\filename.xxx. How do I assosciate this with a button? I
> suppose it will take a macro but I am not sure how to do it
> Thanks!!!

 
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
Button question =?Utf-8?B?Q29tcGxpYnI=?= Microsoft Outlook Discussion 1 12th Feb 2007 11:40 PM
Button question =?Utf-8?B?UnVkeQ==?= Microsoft Dot NET 0 13th Jul 2006 12:46 AM
X button question Greg B Microsoft Excel Misc 2 19th Sep 2005 12:47 AM
Button Question Kevin Blackwell Microsoft C# .NET 2 2nd Mar 2004 07:03 AM
Button question Kim Jackson Microsoft Access VBA Modules 3 13th Nov 2003 11:06 AM


Features
 

Advertising
 

Newsgroups
 


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