General Inquiry
Closed
Neo
-
May 26, 2010 at 08:11 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 26, 2010 at 01:41 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 26, 2010 at 01:41 PM
2 responses
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
May 26, 2010 at 08:31 AM
May 26, 2010 at 08:31 AM
I don't think you can have a hyperlink on a button itself. You can have button assigned to a macro that can open the site
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
May 26, 2010 at 08:54 AM
May 26, 2010 at 08:54 AM
These lines will open IE
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.navigate "https://www.google.com/?gws_rd=ssl
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.navigate "https://www.google.com/?gws_rd=ssl
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
May 26, 2010 at 09:23 AM
May 26, 2010 at 09:23 AM
It you are trying to open from one excel, another excel file, in that case you have to use
Workbooks.Open ("c:\this is that\myfile.xls")
First you have to create a routine
sub mysub()
Workbooks.Open ("c:\this is that\myfile.xls")
end sub
now right click on button, and choose assign a macro and choose this macro'
Other way can be that you use text as hyper link
So on a cell you can have some this like
2010 Forecast
now right click on the cell and choose hyperlink and add path and file name like
C:\Users\haadi\Downloads\book1.xls
Workbooks.Open ("c:\this is that\myfile.xls")
First you have to create a routine
sub mysub()
Workbooks.Open ("c:\this is that\myfile.xls")
end sub
now right click on button, and choose assign a macro and choose this macro'
Other way can be that you use text as hyper link
So on a cell you can have some this like
2010 Forecast
now right click on the cell and choose hyperlink and add path and file name like
C:\Users\haadi\Downloads\book1.xls
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
May 26, 2010 at 01:31 PM
May 26, 2010 at 01:31 PM
never did that. But I would suspect that first you unprotect sheet. Then add the button and assign macro and then look into its properties (right click) to ensure that it is locked and then apply sheet protection. See if it works. Would you please post a message if it works
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
May 26, 2010 at 01:41 PM
May 26, 2010 at 01:41 PM
At least in 2007 when you try to protect a sheet, there is option about object. You want to disallow that for user
May 26, 2010 at 08:34 AM