HTML Open Excel Sheet Feed Parameters

slink9

New Member
Joined
Feb 16, 2007
Messages
13
This is an interesting question and I have not been able to find a solid answer which fits the methodology that I am using. All expert help is appreciated in solving this stubborn problem.

I can open an Excel sheet from the command line and feed it parameters with a command similar to Excel "G:\G-All-2007-Wi-Plt\EER_Folders\paramtest.xls" /e/param1/param2 and then break the command line into the specific parameters. I need to feed the same command from a hyperlink.navigateurl property within my VB.Net (net2.0) web page. The navigateurl property performs an ENCODE on te string and converts all spaces to %20. This works fine for anything handled by HTML but I need to feed a space in order for Excel to interpret the parameters correctly.

I have tried to make Excel utilize ? and & but it will not seem to work. Any suggestions as to how I can feed the command line into IE or the navigateurl property and open Excel with passed parameters?
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,215,942
Messages
6,127,807
Members
449,408
Latest member
Bharathi V

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