Simple calculatation

  • Thread starter Thread starter 1000
  • Start date Start date
1

1000

How do I get execl to print out every compatation from
0000 to 9999

thanks
 
Huh?
Do you want it to print a different sheet for each of those numbers?
If so:

Private Sub CommandButton1_Click()
Cells(1, 1).NumberFormat = "0000"
For x = 0 To 9999
Cells(1, 1).Value = x
Next x
End Sub

- Piku
 

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