Opening variable php hyperlink from Excel

Makrini

Well-known Member
Joined
May 22, 2007
Messages
1,035
Opening a variable hyperlink with php.

I am not importing the data - simply wishing to open the browser with specific conditions on a web page on my companies Intranet. (i.e one of my own data access pages)

i.e. using..

Code:
http://www.mrexcel.com/forum/newthread.php?do=newthread&f=10

but varying the ? onwards

I am extremely comfortable with both formulas and VBA - my only restriction being I am using Excel 2000 for this project.

Any and all help appreciated greatly.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I'm sorry - you are right - that appears to work.

That was the first thing I tried - but I think because I was using a hard coded local path it decided not to work for me.

Will have to do more testing when I get in to work to make sure it isn't just an Excel 2000 issue.
 
Upvote 0
Ok - I have led you on a wild goose chase.

My file is actually a html - I am opening from a local path.

(All users have access to that path)

If I hyperlink without parameters it works - but the moment I add the ? it won't find the file.

Annoying
 
Upvote 0
For anyone who is interested - following is the solution

Code:
Sub tester()
    Dim IE As Object
    Set IE = CreateObject("InternetExplorer.Application")
        IE.Visible = True
        IE.Navigate "c:\test.htm?whatever"
End Sub

I have the advantage of knowing ALL my users use internet explorer.

Thanks for listening an for all assistance
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top