View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default Auto-increment cell values by one

The highest row number is 65536.
Select A1. Hold SFIFT and CTRL and press the down arrow.
EditFillSeries, make your choice.

--
Kind regards,

Niek Otten

wrote in message
oups.com...
Starting at Cell A1, with a value of 1, I want to write a function that
auto-increments by one all the way down to Cell A1,000,000, so that the
final value is 1,000,000 (without commas). Without dragging down on
the mouse for four hours, what's the code to do this ? Thanks.