We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I have a query that does the job. Problem is when i try to run VBA on it, i have a set of columns with one of them being formatted as text. I run a VBA module on it, that defines the range as long. However, one text column refuses to work on it and returns error 13 (type mismatch).
The script is basicly .Cells(.Rows.Count,"A").End(xlUp).row, so im counting rows. Why is the text data type not working?
Hi
Is this problem sloved?
If it is sloved, could you kindly accept it as a solution to close this case?
If not, please let me know.
Best Regards
Maggie
Hi @Anonymous
I'm not expert of VBA, as searched, there are some casues and solutions to this error:
if you want to count the rows in Power Query, you could easily achieve as below:
Or filter out null for a column and count based on the column
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 7 | |
| 6 | |
| 5 |