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 / Programming / November 2007

Tip: Looking for answers? Try searching our database.

Is this even possible with VBA?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pixelpounder - 12 Nov 2007 19:52 GMT
Hi All,

I have a spreadsheet that requires user input
in rows for various criteria and produces a report based on that
information.
The first cell in column D (D8) contains a value that I would like to
use to allow information to be entered in that row.

Example D8=6
Data can be entered in the next 6 cells in that row, after the 6th
data is entered the cell focus is automatically changed to D9 and the
process starts all over again for row 9.
the cell value of D9 is used to allow the cell data to be entered
until that value is reached then back to the next row D10.

Any help you can give would be greatly appreciated!

Thanks,
B
Dave D-C - 12 Nov 2007 22:14 GMT
' This may be a start: to enter data in columns 2-4,
' after column 4, this will go to next row, column 2.
' D-C Dave
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
 If Target.Column = 5 Then
   Cells(Target.Row + 1, 2).Select
 End If
End Sub

>Hi All,
>
[quoted text clipped - 15 lines]
>Thanks,
>B
pixelpounder - 13 Nov 2007 03:39 GMT
> ' This may be a start: to enter data in columns 2-4,
> ' after column 4, this will go to next row, column 2.
[quoted text clipped - 27 lines]
> ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----http://www.newsfeeds.comThe #1 Newsgroup Service in the World! 120,000+ Newsgroups
> ----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Thanks for the leg up Dave,
Now I just got to get it to work with variaibles.  And you know what
mom always says,
eat your variables!  :)

Thanks again,
B
 
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.