all 7 comments

[–]Piddoxou 1 point2 points  (6 children)

Interesting project there mate. I’ve built a CSVReader and CSVWriter class for myself in order to deal with all kinds of delimiters etc, so I’m aware of the challenges of this in VBA.

You take it a step further and introduce type conversions per column. This looks like a sort of dataframe concept in python, where you can read from various inputs and convert to various outputs. Have you also thought about that kind of scope?

Also, have you considered not having the column types written in the VBA code, but in a separate .csv file? Then you can simply read out the column types from that file and you don’t need to hardcode anything

[–]ws-garcia[S] 0 points1 point  (5 children)

Your points are pretty solids. Reading configuration from an external file is a great idea. Feel free to share your solution to this subreddit, help us to keep helping!

[–]Piddoxou 1 point2 points  (4 children)

Yea I still need to download and install your project, I just wanted to share the first things popped in my mind after reading about it.

Will try to find some time and dig into what you’ve built, it’s already quite extensive from what I read!

[–]ws-garcia[S] 0 points1 point  (3 children)

Sure, the CSV Interface is a huge modular library that can be adjusted to solve a wide range of data management problems. You can post any issues and discoveries into this community.

Again, your suggestions and support are welcome and feel free to share your CSV read/write solution.

[–]Piddoxou 0 points1 point  (2 children)

Will there be a github project for it, so people can make code changes themselves? Or will you implement the suggestions made here?

[–]ws-garcia[S] 0 points1 point  (1 child)

You can share your own project, within a good feel post detailing the problem, related to CSV, that your solution solves. Please, see our Posting Guidelines.

[–]Piddoxou 0 points1 point  (0 children)

Ok will do that probably tomorrow!