View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jean-Pierre D via OfficeKB.com Jean-Pierre D via OfficeKB.com is offline
external usenet poster
 
Posts: 31
Default how to sum a complete colum on another sheet in VBA

Hi,
I'am a novice on VBA programming....
On worksheet1 i have cell A1 which must be filled with the sum of colum P on
worksheet2 (without going back and forth between the two sheets)

in excel i would use the formula sum(P:P) on sheet 2 in eg cel A1 en step 2
would be to link cel A1 in sheet1 tot A1 in sheet2....

Does anyone have a clue how to do that in VBA ?