I'm working on building a local php page to output the public Company info from Facebook in XML with help from a friend and I am going to create a VBA macro to webcrawl to that page and download the information into my workbook in Excel. However, the input for the company name must be from a cell on the spreadsheet and I don't know how to pass this into the request I am sending to the Graph API besides writing that straight into the PHP file. How do I make VBA pass the value from the spreadsheet cell (eg. A1=Hilton) to PHP to replace the hard-coded company name so that I can use this for any company?
Clarification of Requirements:
- VBA Reads company name from cell A1
- VBA sends company name as variable to PHP
- PHP post to Graph API using the company name sent from VBA
- VBA Macro crawls local PHP page and downloads the XML output into workbook