Converting Macros from FormFlow to Word 2007

P

Poli

Same question but forgot to give you my operating system, Using Windows XP
I am using a program called Formflow and after windows XP it will be
obsolete. I need to convert my forms to word. I have an event in Formflow I
need to convert to VB. Can you help? I also want to know if my event will
work on a drop-down form field?
My Event: (Looks up one field and based on what is entered will enter
something else into another field).

Sub LookupPenDwellTime
if Application.ActiveForm.Fields("PROCD").contents = "SP2G-00-017 REV. B" then
Application.ActiveForm.Fields("PenDwelTime").contents = "min. of 15
mins. and max. of 20 mins."
elseif Application.ActiveForm.Fields("PROCD").contents = "SP2G-00-015 REV.
C" then
Application.ActiveForm.Fields("PenDwelTime").contents = "min. of 25
mins. and max. of 30 mins."
end if
End Sub
 

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