View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ian123[_52_] ian123[_52_] is offline
external usenet poster
 
Posts: 1
Default copy and paste (visual basic)

i need to copy and paste addresses from on sheet to another depending on the
cell value
EXAMPLE:

IF cell a2 on sheet 1 says "1" then copy the address (cells a1 to a5 on sheet
1) to cells d1 to d5 on sheet 2

if cell A2 on sheet 1 says "54" then copy THAT address (cells a1 to a5 on
sheet 1) to cells d10 to d15 on sheet 2
ANYONES HELP WOULD BE VERY APPRECIATED thanks