Here's a formula I'm using:
Basically, I'm copying data from one sheet to another (please, don't ask me how I got myself into this situation!), and trying to avoid 0s for blank cells.
Problem: I have to do this to 10,000s of cells, so I had a handy on-open macro:
Worked great -- but I desperately need the blank-cell trap in there. How do I deal with the double-quotes (which presumably themselves have to be inside quotes)?
Have a feeling it's something dopey or simple, but haven't been able to find anything with search of Forum or FAQs. Any help much appreciated.
Code:
=IF(tree.1!$A1<>"",tree.1!$A1,"")
Problem: I have to do this to 10,000s of cells, so I had a handy on-open macro:
Code:
FinalRow = Worksheets("tree.1").Cells(Rows.Count, 1).End(xlUp).Row
Worksheets("tree").Activate
For q = 1 To FinalRow
ActiveSheet.Cells(q, 1).Formula = "=tree.1!A" & q
Next
Have a feeling it's something dopey or simple, but haven't been able to find anything with search of Forum or FAQs. Any help much appreciated.