chanman525
IS-IT--Management
Hi Experts,
I have spent a few day browsing this forum for the solution but I can't seem to make any existing examples work for me.
I have some vba code that pulls values from an access table and I need to put then in an existing worksheet (named Detailed Data) the problem is that this process happens every week so the cells where the data needs to go will change .
I need to find code that will examine a header row for a date value then return the cell address so I know where to insert the data. for example, say today is 1/14 I need to loop thru row 1 to find todays date then retrun the cell address of row2 column3 (where data needs inserted). I have never manipulated and excel spreadsheet from VBA so any help is greately appreciated, Any examples of code that perform operations in excel would also be fantastic.
column1 column2 column3 column4
row1 1/01/06 1/07/06 1/14/06 1/21/06
row2 21 9
row3 19 7
row4 15 12
Thanks for any help you can provide,
Ryan
I have spent a few day browsing this forum for the solution but I can't seem to make any existing examples work for me.
I have some vba code that pulls values from an access table and I need to put then in an existing worksheet (named Detailed Data) the problem is that this process happens every week so the cells where the data needs to go will change .
I need to find code that will examine a header row for a date value then return the cell address so I know where to insert the data. for example, say today is 1/14 I need to loop thru row 1 to find todays date then retrun the cell address of row2 column3 (where data needs inserted). I have never manipulated and excel spreadsheet from VBA so any help is greately appreciated, Any examples of code that perform operations in excel would also be fantastic.
column1 column2 column3 column4
row1 1/01/06 1/07/06 1/14/06 1/21/06
row2 21 9
row3 19 7
row4 15 12
Thanks for any help you can provide,
Ryan