Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
teddkilroy
 
Posts: n/a
Default columns/rows

I have a spreadsheet that I have to enter xxxxx digits into the first
column/first row. I was wondering if there was a way to set the spreadsheet
to complete the xxxx1, xxxx2 xxxx3 in the rows beneath automatically?

If no is it because excel does not know what numbers would come next?
  #2   Report Post  
Don Guillett
 
Posts: n/a
Default columns/rows

One way. You could also have a worksheet_change event where it would be
entirely automatic.

Sub addonto()
For i = 2 To 4
Cells(i, 1) = Cells(i - 1, 1) + 1
Next i
End Sub

--
Don Guillett
SalesAid Software

"teddkilroy" wrote in message
...
I have a spreadsheet that I have to enter xxxxx digits into the first
column/first row. I was wondering if there was a way to set the
spreadsheet
to complete the xxxx1, xxxx2 xxxx3 in the rows beneath automatically?

If no is it because excel does not know what numbers would come next?



  #3   Report Post  
Ragdyer
 
Posts: n/a
Default columns/rows

Depends on what you mean by automatic.

You could enter
xxxx1
in A1, and
xxxx2
in A2, and select *both* cells and click on the "fill handle" (little black
square in the lower right corner of selection), and drag down to copy as far
as you need.

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"teddkilroy" wrote in message
...
I have a spreadsheet that I have to enter xxxxx digits into the first
column/first row. I was wondering if there was a way to set the
spreadsheet
to complete the xxxx1, xxxx2 xxxx3 in the rows beneath automatically?

If no is it because excel does not know what numbers would come next?


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
How do I only show a range of columns/rows in Excel? Larry Zukerman New Users to Excel 2 October 23rd 05 02:31 PM
number of columns/rows andrewm Excel Discussion (Misc queries) 1 July 10th 05 12:12 PM
Grouped Columns/Rows bayhe Excel Worksheet Functions 2 December 15th 04 12:05 PM


All times are GMT +1. The time now is 08:25 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"