LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 290
Default Finding and Amending a record

Hello,

I am having trouble with what appears to be a simple task! I have a few
forms which I am creating (have previously been here for help on other
aspects of creating these!).

Basically, I have set up a 'menu' form which can take you to one of
three forms, the first form is working great, this one inputs to the
spreadsheet with the data which you input (then press a 'submit'
button). the next form is to go on to the next stage of the record
which is adding more data after 6 months (only two cells). The third
form isnt even nearly done as it is roughly the same as the second form
and once i have done that the last should be a breeze.

The trouble i am having is I have got to the stage where i need to look
up from a unique number to find the right line and then add the two
bits of information to that line, (and then go on to finding the next
record etc etc until you are done adding). I have tried to achieve this
with various snippets of code which others have kindfully added as
solutions to other similar problems but I cannot get anything to do
what i want.

Perhaps i am trying to go to far too quick as although i can learn
things as i go along, before 3 weeks ago i had never touched VB in my
life. I have only just learned the offset command and the xldown and
other small bits!

Perhaps someone could help me with the concept and perhaps explain what
the command does?

(I am pasting a line of code which i have tried to get to work to no
avail)

Selection.Find(What:=Interiminput.regint.Text, After:=ActiveCell,
LookIn:=xlValues, LookAt:=xlPart, SearchOrder:=xlBycells,
SearchDirection:=xlNext, MatchCase:=False).Activate

Many thanks in anticipation.

Duncan

 
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
Finding the next record in a column Finding the next record in a column Excel Discussion (Misc queries) 2 October 1st 09 07:17 PM
Finding Duplicate Record in more than one column peterwhite Excel Discussion (Misc queries) 2 September 29th 08 12:56 PM
Finding a record based on user input Soundman Excel Discussion (Misc queries) 5 June 21st 05 03:06 AM
Finding last record in month for each of several types of record. Richard Buttrey Excel Programming 5 April 4th 05 02:11 AM
Finding a record using multiple combo boxes as my search criteria sdg8481 Excel Discussion (Misc queries) 8 March 8th 05 08:36 PM


All times are GMT +1. The time now is 10:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"