i am trying to do a find in excel directly from nav.
i have no prob to open and read the file, i also thought to use excel buffer to find the value i am searching.
the problem is that i have to find the last value, insert one or more lines below (in excel) and then proceed with a different value.
as you can imagine, excel buffer will record only the first situation, but after inserting one line, all the other line numbers will be messed out.
Then i can solve my problem only with the excel find (and then retrieve the line and col numbers)
anybody have an idea?
thanks in advance
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog0
Answers
now, the second...how can I retrieve the line and column id where i actually am?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
How can i handle the error when excel does not find a value, when i launch the excel find function?
...btw...it's frustrating to talk alone...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
i've done the trick with the "codeunit.run"...I run the find function in the codeunit(passing xlapp)and I returned the value of the interested row(within a function launched from the Onrun of the codeunit)...
then I called the codeunit with "if" statement....so:
IF Codeunit.Run THEN Record is Found ELSE record is not found;
I will be happy to give a more detailed explanation if someone needs this!
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
CODEUNIT:
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
My problem was the error doing activate cells, when excel don't find any match.
the correct syntax is glad to be helpful, anyway
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog