Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default AutoFill Question


I was wondering how to change the code, so that the progra
automatically fills the column with numbers, in chronological order.

I have a macro programmed, where the column length changes fro
document to document, but my autofill only fills it up until cell 146
How can I do it so it fills it up beyond 146

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default AutoFill Question

You said you have a program written where the column
length changes? Can I assume you know how many cells are
in that column at any given time? If so, just select a
range of cells, then do a fill series on it. Here is an
example.

Range(Cells(1,1),Cells(1,lastRow)).Select
Selection.DataSeries Rowcol:=xlColumns, Type:=xlLinear,
Date:=xlDay,Step:=1, Trend:=False

Does this help?

-----Original Message-----

I was wondering how to change the code, so that the

program
automatically fills the column with numbers, in

chronological order.

I have a macro programmed, where the column length

changes from
document to document, but my autofill only fills it up

until cell 146.
How can I do it so it fills it up beyond 146?


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from

http://www.ExcelForum.com/

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default AutoFill Question

paste your code into a text message...

In article ,
nkob wrote:

I was wondering how to change the code, so that the program
automatically fills the column with numbers, in chronological order.

I have a macro programmed, where the column length changes from
document to document, but my autofill only fills it up until cell 146.
How can I do it so it fills it up beyond 146?

Reply
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 question I think... Robbro Excel Discussion (Misc queries) 0 April 22nd 10 04:00 PM
Autofill question Gor_yee Excel Discussion (Misc queries) 2 November 12th 09 10:53 PM
autofill question Ben H Excel Discussion (Misc queries) 0 March 2nd 05 03:37 PM
Autofill question lob Excel Worksheet Functions 2 February 17th 05 04:07 PM
Autofill question Eric Dreshfield Excel Programming 3 September 3rd 03 02:10 PM


All times are GMT +1. The time now is 04:19 AM.

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"