A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Office » General Discussions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Consecituve Numbering



 
 
Thread Tools Display Modes
  #1  
Old September 9th, 2008, 09:19 PM posted to microsoft.public.office.misc
Luke Alcatel
external usenet poster
 
Posts: 2
Default Consecituve Numbering

Do you know how to run a VBA macro? Here's one that will do what want in
column C which corresponds to "3" in the macro.

Sub numberRows()
For Row = 1 To 50
ActiveSheet.Cells(Row, 3) = Row
Next Row
End Sub

"S1L1Y1" wrote in message
...
How can I in Excel enter in a column consecutive numbers like 1 to 50
without having to enter in each cell separately?
Sol




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:39 PM.


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