Macros and Programming
I wish to use the contents of fields EE01 to EE20 of database "A" to look up records in a separate database "B" (fields name SYMBOL)(or use Key/Item DIM objDictionary)and extract the contents of (field name ATWeight) from "B" (or the Item from objDictionary)then place the results into Field A01 to A20 of "A" respectively.
I hope I understand your 'process' well.
This is a way:
First: both db's are opened.
We always start (of course) at level 0 in DB B. So:
Then the selection process. I suppose there were no empty Fields in db A.:
Cardbox will raise an error message when there are on a certain level no records left to select (There is then something wrong with you data in db B I think).
The result will be 1 record (I hope). However, to be sure there is one record selected: we check first and let Cardbox pause the macro when there is more then 1 record left in your selection in db B. You can decide what to do then.
The pick up the data in B:
Then go back to db A:
Something like this can do it. It can be done much more sophisticated. However, that is not the way I think I can help you the best now.
I hope this will help you.
Many thanks for your patience in outlining a suitable solution to my long and rambling question.
please email me and I am willing to pay you to write a short macro for me.
I will call the first worksheet with the bad data (1500 rows) "bad data"
Would like to record a macro that looks at data in A1 cell of "bad data" worksheet, finds matching data in all other worksheets, deletes that entire row of data, then also deletes the bad data in the original worksheet "bad data".
After delete row A in "bad data" worksheet, the bad data that WAS in A2 moves up to A1. would like to run the macro again using the new bad data that has been moved up to A1 as a result of previous deletions.
Or run a macro that looks up all data from column A in the first worksheet (1500 rows) and deletes all rows with matching data in the other 24 sheets.
The data is bad emails that i am deleting from my .csv email database file.
|© 2010 Cardbox Software Limited|