Hi All,
I would like to delete only given values in a specific area. This works fine with numbers, but with letters, I keep getting error 91. Can anyone help?
Atttatchment contains the example (which does not fully).
Book2.zip
Hi All,
I would like to delete only given values in a specific area. This works fine with numbers, but with letters, I keep getting error 91. Can anyone help?
Atttatchment contains the example (which does not fully).
Book2.zip
Last edited by VBA Noob; 11-19-2007 at 09:14 AM.
Hello Reinder,
You declare your variables MinimumValue and MaximumValue as Double. This is fine for numbers, but to test both text and numbers you need to declare your varaibles as Variant.
Sincerely,![]()
Please Login or Register to view this content.
Leith Ross
Leith,
Tnx a million, however.....it still does not seem to work as you can witness in the attatchment. It seems so simple....![]()
Book2.zip
Is the last example what you are trying, because the actual code is outside the Procedure and will error. Also, are you actually setting the MinimumValue and MaximumValue?
You could change it to![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
If I do that, then I get an error that there is a double declaration. Prtobably because I call the function like this?:
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks