View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Leigh Douglass[_2_] Leigh Douglass[_2_] is offline
external usenet poster
 
Posts: 11
Default Macro for copying and pasting values based on criteria

Hi

I need to write/record a macro to copy and paste special values of certain
columns depending on the column heading.

I have a table of data with headings P1 YTD, P2 YTD, etc up to 12. Some
columns are vlookups from other sheets. I would like a macro to copy and
paste the values of the columns as I move into a different period. So as I
enter P3 YTD, i would like my macro to copy P2 YTD columns and paste the
values and so next month it would need to do the sam,e with P3 YTD.

Any help gratefully received.

Leigh Douglass