LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
a a is offline
external usenet poster
 
Posts: 51
Default autofill with dynamic range again

I found a way to get the result I want without using the autofill - see
below - but I was still hoping that there was a way to use the autofill.

If anybody knows - please help me with this one.

Thanks much.



Sub AutofillAttempt()
Range("b2").FormulaR1C1 = "1"
Range("b3").FormulaR1C1 = "=1+R[-1]C"
Range("b3").Activate
Intersect(Range(ActiveCell, _
Cells(Rows.Count, ActiveCell.Column)), _
ActiveCell.CurrentRegion).FillDown
End Sub

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Autofill Peter Langdon Excel Discussion (Misc queries) 4 February 12th 09 01:56 PM
Dynamic range for autofill macro Jim G Excel Discussion (Misc queries) 2 April 23rd 07 05:46 AM
autofill a column alongside a range - how ? tonto57 Excel Discussion (Misc queries) 4 March 21st 06 12:11 PM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Autofill Indefinite Range in VBA/Macros igor Excel Programming 0 August 25th 03 11:25 PM


All times are GMT +1. The time now is 05:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"