Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fill down without formatting macro
Is there a way to design a macro that can perform the 'fill down without
formatting' procedure for cells that I highlight? I've tried to write it but it busts if I select a different number of cells that I used when I recorded it. Thanks for the help! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fill down without formatting macro
Mike,
Post your code - 'fill down' can mean a lot of - well, a few, at least - different things. HTH, Bernie MS Excel MVP "Mike" wrote in message ... Is there a way to design a macro that can perform the 'fill down without formatting' procedure for cells that I highlight? I've tried to write it but it busts if I select a different number of cells that I used when I recorded it. Thanks for the help! |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fill down without formatting macro
Hi,
Turn on the macro recorder and record the steps - Tools, Macro, Record New Macro. When you finish the fill down, open the Paste Option icon, usually near the bottom right of the filled range and choose Fill Without Formatting. -- If this helps, please click the Yes button Cheers, Shane Devenshire "Mike" wrote: Is there a way to design a macro that can perform the 'fill down without formatting' procedure for cells that I highlight? I've tried to write it but it busts if I select a different number of cells that I used when I recorded it. Thanks for the help! |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fill down without formatting macro
Why do you need a macro? Why not just get Excel to do it. Right drag the
fill handle, on release choose Fill Formatting Only. If you really need a macro, simply record this step. Regards, Fred. "Mike" wrote in message ... Is there a way to design a macro that can perform the 'fill down without formatting' procedure for cells that I highlight? I've tried to write it but it busts if I select a different number of cells that I used when I recorded it. Thanks for the help! |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fill down without formatting macro
Actually, try this, after selecting the cell to copy, and the area that you want to fill in:
Sub FillDownSelection() Selection(1).AutoFill Destination:=Selection, Type:=xlFillValues End Sub HTH, Bernie MS Excel MVP "Mike" wrote in message ... Is there a way to design a macro that can perform the 'fill down without formatting' procedure for cells that I highlight? I've tried to write it but it busts if I select a different number of cells that I used when I recorded it. Thanks for the help! |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fill down without formatting macro
That is exactly what I want to do, but I'd like to record the macro to a
shortcut key that will "Fill Without Formatting" whatever cells I have selected when I press the shortcut key. The problem is that when I try to run the macro it fills the same number of cells that I selected when recording it. I would like this to be dynamic. Does this make sense? "Shane Devenshire" wrote: Hi, Turn on the macro recorder and record the steps - Tools, Macro, Record New Macro. When you finish the fill down, open the Paste Option icon, usually near the bottom right of the filled range and choose Fill Without Formatting. -- If this helps, please click the Yes button Cheers, Shane Devenshire "Mike" wrote: Is there a way to design a macro that can perform the 'fill down without formatting' procedure for cells that I highlight? I've tried to write it but it busts if I select a different number of cells that I used when I recorded it. Thanks for the help! |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fill down without formatting macro
Perfect. That's exactly what I was looking for. It even fills right. Thanks!
"Bernie Deitrick" wrote: Actually, try this, after selecting the cell to copy, and the area that you want to fill in: Sub FillDownSelection() Selection(1).AutoFill Destination:=Selection, Type:=xlFillValues End Sub HTH, Bernie MS Excel MVP "Mike" wrote in message ... Is there a way to design a macro that can perform the 'fill down without formatting' procedure for cells that I highlight? I've tried to write it but it busts if I select a different number of cells that I used when I recorded it. Thanks for the help! |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fill down without formatting macro
Perfect. That's exactly what I was looking for. It even fills right. Thanks!
Great. And you're welcome, and thanks for letting me know that you got it to work. Bernie |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Fill without formatting | Excel Discussion (Misc queries) | |||
Fill down option in conditional formatting? | Excel Worksheet Functions | |||
Fill without formatting | Excel Discussion (Misc queries) | |||
Autofill default: I want Fill Without Formatting | Excel Discussion (Misc queries) | |||
Can I keep the original cell formatting when using FILL? | Excel Discussion (Misc queries) |