A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
thanks for your speedy reply. my problem is that i want to transfer the value in b6 in sheet 1 to a range a1:j1 in sheet 2. when i try the code msg is "run time error 1004 cannot change part of a merged cell."
Using what I posted originally as a model, each of the following formulas work for me (the bold D1 shown in the second formula could be any one of the cells in the range A1:J1 on Sheet2)...
Sheets("Sheet2").Range("A1").Value = Sheets("Sheet1").Range("B6").Value
Sheets("Sheet2").Range("D1").MergeArea.Value = Sheets("Sheet1").Range("B6").Value
Sheets("Sheet2").Range("A1:J1").Value = Sheets("Sheet1").Range("B6").Value
Do these work for you? If not, do you have Sheet2 protected?