Consulting

Results 1 to 2 of 2

Thread: Prevent Blank Rows When applying filters

  1. #1

    Prevent Blank Rows When applying filters

    I'm having issued with a spreadsheet, when i filter the data I have the category: Blanks in the drop down. When applying the filter and later removing them the row order sometimes changes and I find blank rows in the middle of the data.

    Has anyone else experienced this? i'm thinking it may be because I have formulas pre populated in the table meaning some rows contain no data & just the formulas.

    If I am correct, is there a way of (using vba) to populate the formulas into only the rows that contain data?

    Any help appreciated

    thanks

  2. #2
    VBAX Mentor
    Joined
    Aug 2012
    Posts
    367
    Location
    to write a formula in vba, use range/cell.formula property

    eg
    myRange("A1").formula = "=B1+C1"
    Can't say I've ever seen filters change data order - I use them specifically because they don't......
    Remember: it is the second mouse that gets the cheese.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •