Autonumbering

  • Thread starter Thread starter Guest
  • Start date Start date
JE explains it as well as anybody but maybe what you are confused about is where
to place the varying sets of code.

All code except for Private Sub Workbook_Open() will go into a general or
standard module.

As JE points out, the Private Sub Workbook_Open() will go into Thisworkbook
module.

Depending upon which approach you take, there could be two of those.

For getting started with macros and VBA see David McRitchie's site.

http://www.mvps.org/dmcritchie/excel/getstarted.htm

And Ron de Bruin's site for where to place codes.

http://www.rondebruin.nl/code.htm


Gord Dibben MS Excel MVP
 
Dear Gord Dibben,
I cannot open the link which u have provided,
kindly explain..

Regards,
 
I provided two links and both work for me.

Which one does not open for you?


Gord
 
OP provided that link in his original post.

Obviously he had been there because he said he didn't understand John's code.


Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top