Excel 2000 -Revise Dim

G

Gerry Cornell

I used this statement in a macro I created in 2000. I think it should
be capable of modifying to it make more usable in other situations.

Range("PAGEHEAD").Select
Dim Y
Y = InputBox("Enter Pagehead")
If Y = "" Then Exit Sub
ActiveCell.Value = Y
Range("PAGEHEAD").Select

Thus if the PAGEHEAD is "Bank summary for December" how can one make
so that you only need to enter "January" instead of entering "Bank
summary for January to".

TIA


--

~~~~

Gerry

~~~~~~~~
Enquire, plan and execute.
Stourport, England
~~~~~~~~~~~~~~~~~
 

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