Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2007

Tip: Looking for answers? Try searching our database.

Required information in a cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 27 Nov 2007 14:54 GMT
Hi

I'm not sure if this possible, but is there a way to format some cells
so that they have to have information put in them. I know it's
possible in Access, but when tabbing along a row I want to be able
have the cursor not move out of the cell until information has been
input

TIA
Steve
Don Guillett - 27 Nov 2007 16:33 GMT
One way. Modify to suit

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 3 Then
If Target.Offset(, -1) = "" Then
Target.Offset(, -1).Select
MsgBox "Pleae fill in"
Else
Target.Offset(, 1).Select
End If
End If
End Sub

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> Hi
>
[quoted text clipped - 6 lines]
> TIA
> Steve
Steve - 28 Nov 2007 13:03 GMT
> One way. Modify to suit
>
[quoted text clipped - 13 lines]
> Microsoft MVP Excel
> SalesAid Software

Hi Don
Can you point me in the direction of maybe a tutorial on how to do
this, It's a bit over my head

TIA
Steve
Don Guillett - 28 Nov 2007 13:22 GMT
A worksheet event needs to go in a worksheet module. Right click sheet
tab>view code>copy/paste my code>play with it to see what it is doing and
then add other if's. You didn't give a lot of detail in your original
request. What I said was if you made a change to a cell in col C and the
cell immediately to the left was blank, go back to the the blank cell and
fill in before proceeding. Else, proceed to the cell just to the right for
the next entry. Play with it.

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>> One way. Modify to suit
>>
[quoted text clipped - 20 lines]
> TIA
> Steve
joel.agustin@gmail.com - 27 Nov 2007 17:02 GMT
> Hi
>
[quoted text clipped - 6 lines]
> TIA
> Steve

Hi Steve,

From what I can tell Don's solution is the only way to enforce data to
be entered. There is Data Validation in excel, but it only enforces
data integrity of the cell and does not force data to be entered.

Joel
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.