VB Code to link to website

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a button in Excel that I am trying to assign a code so that when it is
clicked it will open a specific webpage. Is this possible? It does not have
to be in VB code, just so long as it fulfills the objective of going to
website using the button (cannot be a hyperlink text).

Thanks!
 
I have a button in Excel that I am trying to assign a code so that when it is
clicked it will open a specific webpage. Is this possible? It does not have
to be in VB code, just so long as it fulfills the objective of going to
website using the button (cannot be a hyperlink text).

Thanks!

Very simple, even for an average user like myself. The easiest way for
a beginner to start is record a macro i.e. do everything manually (go
to web site etc) Tools - Record New Macro, the when your finished just
stop recording.

You can start cleaning up wasteful code when you start to learn what
that code is actually doing

Use a Button instead of a Command Button, then right click and "assign
macro' that you've just created above

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top