Accessing values form Excel Cells

S

Simon

Hi

I want to write a macro that gets information from a
specific Excel sheet from certain cells, and from names
within the excel document.

ie. From document ("C:\price\price.xls"), sheet "PTable",
Cell "F14" into a variable in a VB script. And also form
name "car".

I then want to place this information in a word document,
with text relating to the values from the Excel sheet.
ie. If value>10 then
typetext "To expensive"
else
typetext "ok"
end if

Can someone tell me how to get the variables out of the
excel document.

Thanks in advance Simon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top