ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Selection Filldown format only (https://www.excelbanter.com/excel-programming/347699-selection-filldown-format-only.html)

al007

Selection Filldown format only
 
Is there a code which can filldown only format of a selection -
something like code below but the format only.


Sub Macro1()

Selection.FillDown
End Sub

Thxs


Ankit Wadhawan

Selection Filldown format only
 
Hi,
you can try this line of code if u want to fill cells with "format" only.


Selection.AutoFill Destination:=Range("A1:A65536"), Type:=xlFillFormats
Ankit,
India


"al007" wrote in message
oups.com...
Is there a code which can filldown only format of a selection -
something like code below but the format only.


Sub Macro1()

Selection.FillDown
End Sub

Thxs





All times are GMT +1. The time now is 04:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com