Find data in a column or insert it and adding time in the same row at a specifik date
Posted by Asta Beason on May 22, 2001 11:33 AM
Maybe this is a too big question- but I´m trying it anyway since I want to learn more!
I have in an example created a list in workbook A.
In workbook B I have created a userform where you can add a date a number of hours and in a listbok choose an item from the list added from workbook A.
When i click Insert in this userform I would like VBA to do following.
1. Search column if the chosen listitem is registered, if not I want to add a new row and put the list item in the new row.
2. When I find the item or add it, I want to put in the hours registered in the userform on the date chosen in the userform. Everything added in a form of schedule where the date is the columlabel and the hour should be written where the item and the datecolumn meet.
Is this even understadable.
If anyone atleast would like to give me a hint how to start (the userform and so on is finished it is 1 and 2 that is my problem) I would be ever so grateful!!
Asta