Help with a Macro

H

Helpmacro

Hi,

Currently looking for a simple macro that will type the number 1 an
shift down a cell and continue to do so each time the macro is pressed
hoping this is possible sorry if it is not, relatively new to Excel an
macros.

Thanks in advance
 
G

Gord Dibben

Sub enter_one()
With ActiveCell
.Value = 1
.Offset(1,0).Select
End With
End Sub

But wouldn't it be just as easy to type 1 then ENTER?

There must be more to this than what you describe.


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

Top