Importing from a Form

S

semiaza

Hi All,

I've asked for help in microsoft.public.excel.programming and was
directed here.

I recieve emails created by an Outlook Template. In it is a form with 3
text boxes - textbox1, textbox2 etc... I want to use VBA within Excel
to access the data in these textboxes but the only references I can
find are regarding accessing these textboxes from within Outlook.

The Excel VBA I'm working with is as follows:

For Each olMail In Fldr.Items
If InStr(olMail.Subject, "Test") > 0 Then
ActiveSheet.Cells(i, 1).Value = ????
ActiveSheet.Cells(i, 2).Value = ????
ActiveSheet.Cells(i, 3).Value = ????
i = i + 1
End If
Next olMail

Where ???? is the code I'd need to access the textboxes. Does anyone
here have any experience of this? Any help at all would be most
welcome.

TIA

Semiaza
 
S

semiaza

Thanks Sue - got the info I needed from the links you gave. Can now
successfully import as required.
 

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