I am in need of help. I have a worksheet that sometimes gets modified, meaning the number ofrows sometimes changed by other users. <o
></o
>
I have 2 sheets. Thefirst one is called “PPTT”. The secondone is “DateSheet”. Cell E1 of “PPTT”has a given date. I have a macro thatwill calculate dates 23 months prior to and after the date on “DateSheet” (i.eA-23 to A+23 with given date set to A-0).<o
></o
>
Here is where the problem comes in. Other users that add rows to “PPTT” sheet as neededand are not as proficient and do not understand the vlookup function. I was using the vlookup function to populatecolumn G based on the A-xx of Column E, both on the “PPTT” sheet. The vlookup would determine the “A-“ value incolumn E of “PPTT” sheet, find the corresponding “A-“ value in column A on the “DateSheet”and copy the date in column B on the “DateSheet” to column G of the “PPTT”sheet.<o
></o
>
I was hoping to get help with amacro that would do this for all rows, and eliminate the vlookup function. Any help is appreciated.<o
></o
>


I have 2 sheets. Thefirst one is called “PPTT”. The secondone is “DateSheet”. Cell E1 of “PPTT”has a given date. I have a macro thatwill calculate dates 23 months prior to and after the date on “DateSheet” (i.eA-23 to A+23 with given date set to A-0).<o


Here is where the problem comes in. Other users that add rows to “PPTT” sheet as neededand are not as proficient and do not understand the vlookup function. I was using the vlookup function to populatecolumn G based on the A-xx of Column E, both on the “PPTT” sheet. The vlookup would determine the “A-“ value incolumn E of “PPTT” sheet, find the corresponding “A-“ value in column A on the “DateSheet”and copy the date in column B on the “DateSheet” to column G of the “PPTT”sheet.<o


I was hoping to get help with amacro that would do this for all rows, and eliminate the vlookup function. Any help is appreciated.<o

