W
wendy
Is possible to have a macro that look at a specific
column (A: A5000) and search for every fifth occurrence
for the word 'TOTAL" and replace the first total with
total1 (Eg A115. no reference to the cell but the word
total). and then create a blank rows of cell and enter
below that same column (A116) vacation1, (A117) sick1
etc. Then on the 10 occurrence of total replace with
total2 (Eg: A300) below that same column create a blank
rows and enter vacation2 (A301), below create a blank
rows SICK2 (A302) I am working on some agent activities
and I will prefer to use a macro since I will be running
the same data daily. I will prefer searching for the
fifth total and no reference to a particular cell number.
Thanks a lot. You guys have been extreme helpful.
Example. Macro search for 5th total on column A. when
found replace with total1. say fifth column found in
A115. if total1 is in A115 then create a blank row in
A116 and enter Vacation1 and create blank cell in A117
and enter Sick1.
Macro search for 10th total on column A. when found
replace with total1. Say 10th column found in A300 if
total2 then create a blank row in A301 and enter
vacation2.
Then create a blank row in A116 and enter Sick2. I
have recorded some macro before but I have Zero idea in
writing macro. So any help will be grateful.
column (A: A5000) and search for every fifth occurrence
for the word 'TOTAL" and replace the first total with
total1 (Eg A115. no reference to the cell but the word
total). and then create a blank rows of cell and enter
below that same column (A116) vacation1, (A117) sick1
etc. Then on the 10 occurrence of total replace with
total2 (Eg: A300) below that same column create a blank
rows and enter vacation2 (A301), below create a blank
rows SICK2 (A302) I am working on some agent activities
and I will prefer to use a macro since I will be running
the same data daily. I will prefer searching for the
fifth total and no reference to a particular cell number.
Thanks a lot. You guys have been extreme helpful.
Example. Macro search for 5th total on column A. when
found replace with total1. say fifth column found in
A115. if total1 is in A115 then create a blank row in
A116 and enter Vacation1 and create blank cell in A117
and enter Sick1.
Macro search for 10th total on column A. when found
replace with total1. Say 10th column found in A300 if
total2 then create a blank row in A301 and enter
vacation2.
Then create a blank row in A116 and enter Sick2. I
have recorded some macro before but I have Zero idea in
writing macro. So any help will be grateful.