PC Review


Reply
Thread Tools Rate Thread

How do I get Excel to jump to the next row using VB code?

 
 
Shaka215@gmail.com
Guest
Posts: n/a
 
      3rd Jan 2007
Hello!

I am in need of some code that will allow an end-user to jump to the
next text entry area in a locked spreadsheet (go to the next unlocked
row). I tired to use OFFSET(x,x) but that didn't seem to want to jump
to the next text entry area but to just move off to the OFFSET values.
I am assuming it would be like hitting the ENTER key but I tried using
SENDKEY commands to but that didn't work either...so I am completely
stumped on this one. I basically need Excel to recognize the fact that
the locked feilds can not be entered into only the unlocked feilds are
where the end-user will type information into....Any help is much
appreciated!!

EXAMPLE

NAME: John Smith (B3) - Unlocked

* * END USER PRESSES BUTTON THAT JUMPS TO THE NEXT UNLOCKED CELL * *

ADDRESS: 120 FROG LANE (B12)

* * END USER PRESSES BUTTON THAT JUMPS TO THE NEXT UNLOCKED CELL * *

CITY: POKERTOWN (B13)

* * END USER PRESSES BUTTON THAT JUMPS TO THE NEXT UNLOCKED CELL * *

ZIP: 55511 (B14)

* * END USER PRESSES BUTTON THAT JUMPS TO THE NEXT UNLOCKED CELL * *

STATE: AZ (B15)

* * END USER PRESSES BUTTON THAT JUMPS TO THE NEXT UNLOCKED CELL * *

PHONE: ????????????? (UNKNOWN LOCATION BUT WILL BE A UNLOCKED CELL)

 
Reply With Quote
 
 
 
 
=?Utf-8?B?U29uZ0JlYXI=?=
Guest
Posts: n/a
 
      3rd Jan 2007
Hello!
Your user would use the tab key. Excel is designed to tab neatly between
unprotected cells in a protected sheet.
If you don't think your users will remember to tab between data entry
points, you can look up the sendkeys method and the tab key is listed there.
Please let us know if this helps or if you need further assistance. Thanks.
Doug


"(E-Mail Removed)" wrote:

> Hello!
>
> I am in need of some code that will allow an end-user to jump to the
> next text entry area in a locked spreadsheet (go to the next unlocked
> row). I tired to use OFFSET(x,x) but that didn't seem to want to jump
> to the next text entry area but to just move off to the OFFSET values.
> I am assuming it would be like hitting the ENTER key but I tried using
> SENDKEY commands to but that didn't work either...so I am completely
> stumped on this one. I basically need Excel to recognize the fact that
> the locked feilds can not be entered into only the unlocked feilds are
> where the end-user will type information into....Any help is much
> appreciated!!
>
> EXAMPLE
>
> NAME: John Smith (B3) - Unlocked
>
> * * END USER PRESSES BUTTON THAT JUMPS TO THE NEXT UNLOCKED CELL * *
>
> ADDRESS: 120 FROG LANE (B12)
>
> * * END USER PRESSES BUTTON THAT JUMPS TO THE NEXT UNLOCKED CELL * *
>
> CITY: POKERTOWN (B13)
>
> * * END USER PRESSES BUTTON THAT JUMPS TO THE NEXT UNLOCKED CELL * *
>
> ZIP: 55511 (B14)
>
> * * END USER PRESSES BUTTON THAT JUMPS TO THE NEXT UNLOCKED CELL * *
>
> STATE: AZ (B15)
>
> * * END USER PRESSES BUTTON THAT JUMPS TO THE NEXT UNLOCKED CELL * *
>
> PHONE: ????????????? (UNKNOWN LOCATION BUT WILL BE A UNLOCKED CELL)
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
??? Public Sub code jump to Private Sub Code =?Utf-8?B?SmF5bGlu?= Microsoft Excel Programming 4 17th Feb 2007 11:35 AM
Jump To Next Cost Code in Form swichman@ch2m.com Microsoft Access Forms 1 16th Aug 2006 08:02 PM
need to jump to the start of my forms code... Scott Microsoft VB .NET 15 4th Mar 2005 09:53 AM
EXCEL Jump Start CORE Workbook w/Code Allan P. London Microsoft Excel Programming 0 12th Sep 2004 11:31 PM
Re: Help! Code jump to function with out being called??? Chrissy Microsoft Excel Programming 0 12th Oct 2003 12:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:16 PM.