Hi. I have a workbook that copies a sheet from another workbook and applies some filters. The sheet contains about 3000 product lines. One of the filters I apply simply filters out any discontinued products where the options for the column are just 'discontinued', 'reinstated' or 'blank' and this works fine. However, I am trying to have the code apply a filter to a column that contains the prices of these products and to filter out any lines where the price is 0 (zero). While this is easy to do manually by just unchecking '0', I am having trouble getting it run through code. I have had a look at the code via the macro recorder and an error appears stating 'Too many line continuations.'
With 3000 product lines and each product potentially having a different price, the issue I believe is that the code wants to list all prices except 0 (zero) and with so many different prices it causes this error.
Is there any way to write the code to instruct it what to exclude i.e. just zero, as opposed to what to include i.e. everything other than zero?
I found that a similar question has been asked before but it doesn't appear to have a solution, or at least one that would work in this case.
Thanks.
With 3000 product lines and each product potentially having a different price, the issue I believe is that the code wants to list all prices except 0 (zero) and with so many different prices it causes this error.
Is there any way to write the code to instruct it what to exclude i.e. just zero, as opposed to what to include i.e. everything other than zero?
I found that a similar question has been asked before but it doesn't appear to have a solution, or at least one that would work in this case.
"Too many line continuations" when recording a marco
I have a large sheet that I need to delete / filter. While recording a macro to filter a specific column, I receive too man line continuations. I dont see where I can attach an example and the sheet is almost 8400 lines long. I isolate the sheet, try to manually filter and rather than the...
www.mrexcel.com
Thanks.