avogadrosnumber
New Member
- Joined
- Feb 8, 2015
- Messages
- 15
Hi All,
I simply do not have the skill set to solve a problem I have. I am creating a database for my students of compounds in chemistry. I have an excel list of the compound names. I have also created a url link (using the concatenated function) that enables me to go to google and there I can find the molar mass for that compound. I have several thousand compounds and I would like to be able to scrape the molar masses off of the website for each of the compounds and paste it into a cell, next to the compound, as a plain text entry. I will then create a second column and round the scraped data to two decimal places.
column 1: Sodium bromide
column 2: ="https://www.google.com/#q="&B14&"+molar+mass"
column 3: https://www.google.com/#q=sodium bromide+molar+mass
column 4: This is where I need help - I want to paste in the data from the web link that displays the molar mass for sodium bromide
Obviously this is one compound - I have several hundred such compounds and I want to collect the molar masses WITHOUT cutting and pasting.
Thank you for any help. My VBA skills are non-existent so if you could please comment the code, if you can, I could perhaps learn/understand the syntax.
Thanks,
Sam
I simply do not have the skill set to solve a problem I have. I am creating a database for my students of compounds in chemistry. I have an excel list of the compound names. I have also created a url link (using the concatenated function) that enables me to go to google and there I can find the molar mass for that compound. I have several thousand compounds and I would like to be able to scrape the molar masses off of the website for each of the compounds and paste it into a cell, next to the compound, as a plain text entry. I will then create a second column and round the scraped data to two decimal places.
column 1: Sodium bromide
column 2: ="https://www.google.com/#q="&B14&"+molar+mass"
column 3: https://www.google.com/#q=sodium bromide+molar+mass
column 4: This is where I need help - I want to paste in the data from the web link that displays the molar mass for sodium bromide
Obviously this is one compound - I have several hundred such compounds and I want to collect the molar masses WITHOUT cutting and pasting.
Thank you for any help. My VBA skills are non-existent so if you could please comment the code, if you can, I could perhaps learn/understand the syntax.
Thanks,
Sam