Thread: Input box
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Walshy[_2_] Walshy[_2_] is offline
external usenet poster
 
Posts: 2
Default Input box

What I wanna do is have a box pop up doing the following 3
things:

1 -Saying please enter id (this will enter an id into a
selected cell, type in number then click button ok)
2 -Button saying Dont know id which wil leave the cell
blank
or 3 -Button saying Cancel (this will cancel the macro and
I will assign code to undo the original macro.)

basically what I am doing is I have a table. and when the
user wants to add a new record they click a button and a
macro inserts a row at the first blank copies the formulas
etc from the row above and pastes them into the new row..
The formulas are all vlookups from the first cell so in
the macro I want a box to pop up (as your macro done fine)
and then the user will enter the number into this and then
click ok then this will return the value into the
worksheet and the lookups will all pick up from that. If
they dont know the code the have a button saying that to
leave the row blank or finally cancel which would then
delete the new row and cancel the macro so it goes back to
how it was.

Hope you can help... thanks