Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to autofill to the cells to the right to keep the dates going when
entering new data with a macro every month. So without a macro I would normally select the two cells (e.g. A1 and B1) with the previous two month headers in them and autofill to the right so that it gives me the next month. How can I do this in a macro when the cells are changing every time? I can get to the point of where the two cells are highlighted but need to know how to autofill. I thought that it would be something like this: Selection.AutoFill Destination:=Selection.Offset(0, 1), Type:=xlFillDefault |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Autofill Question | Excel Programming | |||
Autofill in VBA question | Excel Programming | |||
Autofill question | Excel Programming | |||
Q. Autofill question: Can I autofill alpha characters like I can numbers? | Excel Programming | |||
AutoFill Question | Excel Programming |