I had copy sheet1 to sheet2 OK with Copy.But I wanted to clear the values and not the formulas in the cells before copy?Thanks
Copy one sheet to another,without the values
-
-
-
Re: Copy one sheet to another,without the values
You could try
CodeRange("A1:A10").Select 'Edit the range of cells to clear Selection.ClearContents 'Put your copy code here
This will clear the contents of the input cells leaving your valued cells untouchedEDIT by Moderator: ClearContents will clear the cells of ALL contents - formulas and values
-
-
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!