View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
yefei
 
Posts: n/a
Default how to copy contents of one column to another column in another worksheet

should i use VBA to do this?
i need to copy the content of a column in one worksheet to another, if
the content in the cell is not empty. and when i add a macro, the sub
procedure ask me to pass in object, is it way like this:

sub copyAnswer(workbook, worksheet)
end sub

because the default one is
sub copyAnswer()
end sub