Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Can I format cell to autonumber everytime I enter spreadsheet?

Can I format a cell to autonumber everytime I enter the spreadsheet?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 176
Default Can I format cell to autonumber everytime I enter spreadsheet?

What you want is
Private Sub Workbook_Open() ' in ThisWorkbook module
Sheets("Sheet1").Cells(1, 1) = Sheets("Sheet1").Cells(1, 1) + 1
End Sub

Grant wrote:
Can I format a cell to autonumber everytime I enter the spreadsheet?


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
Access autonumber field changes to date format when Excel imports NDC Excel Discussion (Misc queries) 0 February 17th 10 11:05 PM
Is there a way to generate a new Word doc everytime I enter data in an Excel row? Edward[_2_] New Users to Excel 2 April 7th 08 03:51 PM
how do i count everytime a spreadsheet is opened nipper Excel Discussion (Misc queries) 1 March 15th 07 05:23 PM
How do I stop dates from being entered everytime I enter a number Kicking and Screaming Excel Discussion (Misc queries) 2 October 23rd 05 02:34 PM
Link not updated everytime spreadsheet opened Olivier D. Excel Worksheet Functions 0 September 28th 05 01:48 PM


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