Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default msg box

Hi Carim,

Sorry for the delay. Anyhow, I'm not much of a seasoned macro/UserForm
operator so I'd sure appreciate a few more details on how to create a
UserForm (incl. the related macro). I did look-up UserForms and learned how
to install a pop-up questionairre according to their sample, but I can't
figure out how to customize it to my own criteria. Moreover, I definitely
don't know how to install a macro that would activate my pop-up
questionnaire. Currently, I have the following worksheet event on my
spreadsheet:

If Intersect(Target(1), Me.Range("Y53:BN53")) Is Nothing Then Exit Sub

If Intersect(Target(1), Me.Range("Y53:BN53")) Is Nothing Then Exit Sub
If Target(1).Value = 250 Then
If MsgBox("Was vehicle held over the weekend?", _
vbYesNo) = vbYes Then
MsgBox "Please give reason with approving Manager's name"
End If
End If
End Sub

I would like for the User's "reason for the weekend rental" to appear in
cell Y104 and the "Approving Manager's Name" to appear in cell AB104.

Is this possible?

Thank you in advance.


"Carim" wrote:


To help you go a bit further ...
Two remarks :

1. Your "pop-up questionnaire" is a UserForm you will have to design
which will specifically show all the fields you want to have filled in
...

2. For this userform to pop-up, as soon as a given cell is updated, you
will have an event macro, attached to the worksheet, which will show the
form to be filled in ...

HTH
Carim


--
Carim
------------------------------------------------------------------------
Carim's Profile: http://www.excelforum.com/member.php...o&userid=33259
View this thread: http://www.excelforum.com/showthread...hreadid=530820


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"