ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Creating a button (https://www.excelbanter.com/excel-programming/384409-creating-button.html)

pappaz

Creating a button
 
I want to create a button on a page that will allow the user to open up IE
and go to a specific web page, I know I saw an example of this button
somewhere in here, but for the life of me I can't find it anywhere. If
someone could please let me know what the code is that I need to write to
make this button work is, that would be splendiforous.

Thanks,
Mike

zz[_2_]

Creating a button
 
you may want to see the help for function 'ShellExecute'


--
--
Zz[underground]
---

"pappaz" wrote in message
...
I want to create a button on a page that will allow the user to open up IE
and go to a specific web page, I know I saw an example of this button
somewhere in here, but for the life of me I can't find it anywhere. If
someone could please let me know what the code is that I need to write to
make this button work is, that would be splendiforous.

Thanks,
Mike




Tom Ogilvy

Creating a button
 
Use the followhyperlink command in the click event for your button.

--
Regards,
Tom Ogilvy

"pappaz" wrote in message
...
I thought about that but, I have another button that does a couple of
things,
a list box, and several option buttons, and I guess just to keep some
conformity, I would rather just put another command button in there with
the
rest of the controls.

"Tom Ogilvy" wrote:

Why not just create a hyperlink in a cell. Insert=Hyperlink

--
Regards,
Tom Ogilvy


"pappaz" wrote:

I want to create a button on a page that will allow the user to open up
IE
and go to a specific web page, I know I saw an example of this button
somewhere in here, but for the life of me I can't find it anywhere. If
someone could please let me know what the code is that I need to write
to
make this button work is, that would be splendiforous.

Thanks,
Mike





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com