Help with: Prefill cells with command line switches from a browser

DaiLafing

New Member
Joined
Jan 28, 2014
Messages
3
Hi everyone, I've been coming here a while now, and I can see my question has been partly answered.


I'm looking to have an excell file shared on a windows network to a simple LAN (samba sharing), and then for a user to be able to click on a HTML link that will launch that excell pile, and to have it populate specific and predeterminined cells with information that will be handed to it by the HTML link from the website.


Think of a CRM web app that href is a link like: "\\LAN1\Files\excellbook01.xls?Mrs%20Wendy%20Jones?4%20Skin%20Street"


From something like that I would like to launch excell and have Mrs Jones' details populate into the predefined excell sheet. The HTML website can dynamically populate a HTML link depending on the customer being viewed.


So I'd like to know how two things
1) how to launch a network file in this way, while correctly handing it parameters or switched that it will be able to later:
2) Collect that information and distribute it into the cells I choose in VBA.


I'm familiar with Visual Basic .Net primarily, and have a small amount of VBA experience.


We would like to continue to use Google chrome if possible...


Thanks everyone
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
You can't really. The only way would be to use Internet Explorer and it would only work in Internet explorer and create an instance of Excel and then populate the cells using an ActiveX object.
 
Upvote 0
You can't really. The only way would be to use Internet Explorer and it would only work in Internet explorer and create an instance of Excel and then populate the cells using an ActiveX object.

Happy to switch to ie, but your post does not answer my question at all....

i dont know know what you mean about creating an instance, and no idea how to work with activeX objects?

im looking for much more that what you have provided here thanks





C.C.
http://www.mrexcel.com/forum/excel-...fill-cells-command-line-switches-browser.html


http://www.ozgrid.com/forum/showthread.php?t=185735&p=699938#post699938


http://www.vbaexpress.com/forum/sho...e-switches-from-a-browser&p=304027#post304027
 
Last edited:
Upvote 0
What knowledge do you have of browser client side scripting? This is going to be difficult unless you have an understanding of Javascript. A better solution would be to request the workbook form the server and do the modifications server side. Is that an option?

This isn't really an excel issue, it's a webdev issue
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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