Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default pop up vs. data validation

WHOO HOO!

That worked brilliantly!

Thanks Jim.

"Jim Thomlinson" wrote:

The text wrapped when it posted... Try this...

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If not intersect(Target, me.range("A1:E1")) is nothing Then
MsgBox "Are you sure you want to enter a number here?", _
vbInformation, "???"
End If
End Sub

--
HTH...

Jim Thomlinson


"carrera" wrote:

hmmmm.... it gives me the message compile error; syntax error when I pasted
your code. it does that when I click on Any cell on the sheet.

Also, how can I make it for a range of cells, let's say A1:E1?

do I just replace the $A$1 ?



"Jim Thomlinson" wrote:

To do what you are asking requires a macro that fires on the selection change
event. The following code pops a message box whenever cell a1 is selected.
right click the tab and select view code. Paste the following...

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$A$1" Then
MsgBox "Are you sure you want to enter a number here?",
vbInformation, "???"
End If
End Sub

--
HTH...

Jim Thomlinson


"carrera" wrote:

Because the issue is not what type of number is entered, but why.
The reminder message would say something like "Are you sure this is the
proper area to enter this number?"

"carrera" wrote:

I have a reminder set up through data validation whenever certain cells are
clicked on.
I am seeing that some of the users are ignoring the reminder message, just
not noticing it next to the cell.

Is there a way to have a pop up warning/reminder come up whenever one of
these cells are click up, to which they will have to respond "ok" before
entering a number?

The number entered could be anywhere from .01 through 39.99


Reply
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Data Validation Update Validation Selection PCreighton Excel Worksheet Functions 3 September 11th 07 03:32 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


All times are GMT +1. The time now is 03:47 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"