Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My Goal is to copy the cells A1:AB10 "EXACTLY" as they are. Including
Formatting, cell sizes, and Formulas. I added the ".Formula" because my fist attempt was coping the value and not the formula, but now if is not coping the cell sizes and formatting (including conditional formatting). Note that the target Worksheet will be new so no pre-exiting formatting can be done. Is this possible? If Target.Address = "$A$1" Then Dim NewBettingWS As Worksheet Set NewBettingWS = Worksheets.Add With NewBettingWS .Name = "NewBettingWS" ActiveSheet.Unprotect ActiveSheet.Range("A1:AB10").Formula = Sheets(BettingTemplateSource).Range("A1:AB10").For mula ActiveSheet.Protect ActiveWorkbook.Save End With End If |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copping data from two cells into one | Excel Discussion (Misc queries) | |||
Copying worksheet cells into another worksheet using autofill | Excel Discussion (Misc queries) | |||
adding several worksheet cells onto a main worksheet | Excel Worksheet Functions | |||
Copying a worksheet witrh protected cells to a new worksheet | Excel Worksheet Functions | |||
I want in one worksheet to relatively link to/reference cells in another without changing the format of the current worksheet. | Excel Discussion (Misc queries) |