Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks very much. Unfortunately I have changed the form slightly.
What I could do with now is a code that would copy and paste the formula, say in cell "H11", and paste it in the next cell "H12". and when cell "H12" is filled with a value, the formula is pasted to the next cell("H13"), and so on. I hope it's clear. Thank you -- ASU "T Kirtley" wrote: Would something like the following work? Sub CopyFormula() Dim Frm As String Frm = ActiveCell.Formula Worksheets.Add Range("A1").Formula = Frm End Sub You no doubt would want to add more code but this may get you started. HTH, TK "ASU" wrote: How do you copy and paste (using VB code) a cell formula to a newly created spreadsheet. -- ASU |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is it possible? | Excel Worksheet Functions | |||
formula or vba code | Excel Worksheet Functions | |||
Complicated If Then / V Lookup / Match Statement... | Excel Worksheet Functions | |||
Match then lookup | Excel Worksheet Functions | |||
Howdo U copy a formula down a column, that uses data in another w. | Excel Worksheet Functions |