inexperienced1
IS-IT--Management
I am looking for some ideas on how to write code that convert english text into vb code?
The reason being that I have a word document that details to a client what the code is going to do, this is in English. I then have to manual convert this in vb
For instance
Word Document says
Rule Name : MyRule
if [DOB] after 01/09/2003, set to True
Else set to False
VB Code would say
if dob > Cdate("01 sep 2003"
then
MyRule = True
Else
MyRule = False
end if
Has anyone attempted any similar, or now of how to start. I am anticipating this to be a complex task, so I am just looking for some pointers or ideas.
Thanks
The reason being that I have a word document that details to a client what the code is going to do, this is in English. I then have to manual convert this in vb
For instance
Word Document says
Rule Name : MyRule
if [DOB] after 01/09/2003, set to True
Else set to False
VB Code would say
if dob > Cdate("01 sep 2003"
MyRule = True
Else
MyRule = False
end if
Has anyone attempted any similar, or now of how to start. I am anticipating this to be a complex task, so I am just looking for some pointers or ideas.
Thanks