Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default form creation

I would like to have a small form pop up or msgbox that pops up when the
user is in a particular column so I can show error entry codes. I am not
sure of how to achieve this, it must detect that the user changed the column
and then show entry data permissable for that row.

Advice much appreciated.

Regards
Peter


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default form creation

Peter,

This may get a bit annoying every time anyone goes into that column!

But this code will do it for column 3, C
Private Sub Worksheet_SelectionChange(ByVal Target As Range)

On Error GoTo ws_exit:
Application.EnableEvents = False
If Target.Column = 3 Then
MsgBox "yourmessage"
End If

ws_exit:
Application.EnableEvents = True
End Sub

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.



--

HTH

RP
(remove nothere from the email address if mailing direct)


"Peter Bailey" wrote in message
...
I would like to have a small form pop up or msgbox that pops up when the
user is in a particular column so I can show error entry codes. I am not
sure of how to achieve this, it must detect that the user changed the

column
and then show entry data permissable for that row.

Advice much appreciated.

Regards
Peter




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default form creation

Hi Peter

have you checked out Data / Validation - this might meet your needs without
having to do any coding at all. Debra Dalgleish has extensive notes and
examples at her site www.contextures.com/tiptech.html

Regards
JulieD

"Peter Bailey" wrote in message
...
I would like to have a small form pop up or msgbox that pops up when the
user is in a particular column so I can show error entry codes. I am not
sure of how to achieve this, it must detect that the user changed the
column and then show entry data permissable for that row.

Advice much appreciated.

Regards
Peter



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default form creation

Data Validation will do the pop-ups for you. You set the criteria and the
message. On the menu select Data/Validation.

Mike F
"Peter Bailey" wrote in message
...
I would like to have a small form pop up or msgbox that pops up when the
user is in a particular column so I can show error entry codes. I am not
sure of how to achieve this, it must detect that the user changed the

column
and then show entry data permissable for that row.

Advice much appreciated.

Regards
Peter




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default form creation

I forgot to say I tried the data validation pop up box but its limited to so
many characters and it wasnt enough for my case.


"Peter Bailey" wrote in message
...
I would like to have a small form pop up or msgbox that pops up when the
user is in a particular column so I can show error entry codes. I am not
sure of how to achieve this, it must detect that the user changed the
column and then show entry data permissable for that row.

Advice much appreciated.

Regards
Peter





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
Creation Date Russell Burnett Excel Discussion (Misc queries) 0 December 4th 10 11:52 AM
form creation Roy Gudgeon[_2_] Excel Discussion (Misc queries) 1 March 4th 10 12:59 PM
Form Creation in Excel 2007 Stan Clawson Excel Discussion (Misc queries) 2 March 19th 07 06:10 PM
Macro for Multiple Form Creation JB2010 Excel Discussion (Misc queries) 1 March 23rd 06 03:56 PM
Can Excel use as a VB form creation? tanks1308[_3_] Excel Programming 5 August 17th 04 04:49 PM


All times are GMT +1. The time now is 11:20 AM.

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"