Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
fill format only
Tom Ogilvy kindly provided the following code that I use to copy a formula
and format when adding items to a list: LastRow.Offset(1,3).Resize(1,2).Filldown I was just wondering what I could use if I only wanted to fill the format of the cell above and not the formula or data. GK |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
fill format only
One way:
With lastRow.Offset(0, 3).Resize(1, 2) .AutoFill Destination:=.Resize(2, 2), Type:=xlFillFormats End With In article , "gregork" wrote: Tom Ogilvy kindly provided the following code that I use to copy a formula and format when adding items to a list: LastRow.Offset(1,3).Resize(1,2).Filldown I was just wondering what I could use if I only wanted to fill the format of the cell above and not the formula or data. GK |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
fill format only
Thats done the trick JE.
Many thanks GK "JE McGimpsey" wrote in message ... One way: With lastRow.Offset(0, 3).Resize(1, 2) .AutoFill Destination:=.Resize(2, 2), Type:=xlFillFormats End With In article , "gregork" wrote: Tom Ogilvy kindly provided the following code that I use to copy a formula and format when adding items to a list: LastRow.Offset(1,3).Resize(1,2).Filldown I was just wondering what I could use if I only wanted to fill the format of the cell above and not the formula or data. GK |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Auto Fill Format or Copying Formulas | Excel Discussion (Misc queries) | |||
Format Excel Sheet to Fill Page | Excel Discussion (Misc queries) | |||
Fill format default | Excel Discussion (Misc queries) | |||
Format Fill Down to Last Row | Excel Worksheet Functions | |||
How do I format a picture fill in my pie chart? | Charts and Charting in Excel |