LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Vba excel - autofill


Hi all,

I need to fill some cells with integer numbers starting from 1:
For example, I need to fill from Cell B15 to B25 with the number
1...to 10

I am trying this:
Range("B15:B25").Select
Selection.AutoFill Destination:=Range("B15:B25")
Type:=xlFillDefault
Can anybody help, please?
Thanks,
Aldo

--
ajliak
-----------------------------------------------------------------------
ajliaks's Profile: http://www.excelforum.com/member.php...nfo&userid=819
View this thread: http://www.excelforum.com/showthread.php?threadid=27825

 
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
Autofill - Excel Chris Excel Worksheet Functions 7 April 24th 07 08:03 PM
How do you make the little autofill box in Excel go away? Steve K. Excel Discussion (Misc queries) 2 June 24th 05 07:19 PM
Autofill: Need to autofill one week block, (5) weekday only into cells. dstock Excel Discussion (Misc queries) 1 June 17th 05 08:21 PM
Q. Autofill question: Can I autofill alpha characters like I can numbers? George[_22_] Excel Programming 5 August 7th 04 10:33 AM
Excel AutoFill Andrew[_42_] Excel Programming 4 May 5th 04 07:15 PM


All times are GMT +1. The time now is 11:28 PM.

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

About Us

"It's about Microsoft Excel"