Hello,
I'm new to VBA programming and to this forum. I've been tasked with a few projects for work that require VBA and excel so I suspect I'll be spending more time here
I would like to automate filling out a form within a multi-sheet workbook. I have no control over the formatting of the form. I have the information that will go into the form contained in a database though.
I have compiled a table (saved in a separate excel worksheet called DATA) with the following headers to assist in doing this:
TABNAME - Names of worksheets
FIELDNAME - Names of the fields within the report, e.g., First Name, Last Name, Date of Birth, etc.
POSITION - Relative position of cell containing the Value corresponding to the field. For the form I'm filling out, the value is always located to the right or below the cell containing FIELDNAME.
VALUE - The actual values. These are all known in advance.
I would like to do the following for each row of the above table:
Find the cell location within TABNAME that contains the string FIELDNAME, then input VALUE into the adjacent cell determined by POSITION.
Any guidance on where to start would be appreciated!
Bookmarks