Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"Is there some VBA code with which could I autofill the column B with
some formula exactly with the same size in A while this could be variable among the sheets?" I have used the code: Sub Macro1() Range("B1").Select ActiveCell.FormulaR1C1 = "Random 1" Selection.AutoFill Destination:=Range("B1:B20") End Sub But in this case I have the fills with the words Random 1, Random 2, Random 3,... Random 20. The problem is that in other situations the random numbers could be 1000 or more and I would not like to do that manually. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
autofill | Excel Discussion (Misc queries) | |||
Autofill | Excel Worksheet Functions | |||
More- AutoFill with Non-Seqeuntial Cell References ? | Excel Worksheet Functions | |||
Autofill: Need to autofill one week block, (5) weekday only into cells. | Excel Discussion (Misc queries) | |||
AutoFill Visible Cells with Months | New Users to Excel |