Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need a macro to copy a cell's formula, then paste that
formula into a range of cells. This range would be on a hidden sheet different than the one that the user would see on the screen. I could use some help with the syntax for getting this to work. For instance: The user is on sheet1. They run macro. Formula from cell A1 on sheet2 is copied and pasted into the range A2:A900 on sheet2. Any help would be appreciated. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
Public Sub FillDown() With Sheets("Sheet2").Range("A1") .AutoFill Destination:=.Resize(900, 1) End With End Sub In article , "Tim" wrote: I need a macro to copy a cell's formula, then paste that formula into a range of cells. This range would be on a hidden sheet different than the one that the user would see on the screen. I could use some help with the syntax for getting this to work. For instance: The user is on sheet1. They run macro. Formula from cell A1 on sheet2 is copied and pasted into the range A2:A900 on sheet2. Any help would be appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy and paste versus copy and insert copied cells | New Users to Excel | |||
Macro should copy & paste to various cells, but won't. | Excel Discussion (Misc queries) | |||
Macro - Copy and Paste repeatedly skipping cells | Excel Discussion (Misc queries) | |||
macro copy/paste data from multiple cells to multiple cells | Excel Discussion (Misc queries) | |||
Copy/Paste how to avoid the copy of formula cells w/o calc values | Excel Discussion (Misc queries) |