Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Teacher register using Visual Basic and EXCEL

Status
Not open for further replies.

realbeginner

Technical User
Jun 2, 2005
8
0
0
GB
Hi. I want to use VB to create a button in EXCEL which puts a 1 in a cell then moves to the row underneath. If I click the same button I want it to put a 1 in this new cell and move downwards as before. I know this is simple stuff but I'm really stuck! (I can put a button in and record a macro) [This is so I can use EXCEL on an interactive whiteboard in the classroom to do the register]

Many thanks.
 
You should try posting in Forum707 - which is the VBA forum.
 
Try


'Put this on your form (change tmpexcel to whatever your excel instance is called

j = 1
Do Until j = 10

j = j + 1
loop

David Lerwill
"If at first you don't succeed go to the pub"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top