Hi Ruan,
Ruan schrieb:
Hello Melanie,
I entered your code as you showed, but I am receiving the following error -
"Compile error in hidden module: This workbook"
Here is my code that I entered in the Sheet 2 module
Sub DataFilter()
the procedure does not belong into the codemodule of the table.
Provide in the VBE over Insert |Module a new module there and insert the procedure.
Is it now correct?
--
Mit freundlichen Grüssen
Melanie Breden
- Microsoft MVP für Excel -
http://excel.codebooks.de (Das Excel-VBA Codebook)