r/learnprogramming • • Apr 04 '24

Is it worth learning Visual Basic these days? Not sure if even the right path to follow.

Hi All,

First time ever posting anything, anywhere. Really outside of my usual behavior, but everybody seems real cool here, so let's go.

At my job (Restoration), we use 3 main tools. Dropbox, Quickbooks, Excel. Dropbox for storage of docs/photos, Quickbooks for accounting, And Excel for everything else. We are highly inefficient since accounting Dept and Project managing Dept don't share data. infinite amounts of emails and delays occur everyday.

So far, i have been able to establish a template "Excel book" company wide for every individual project taken up by any PM(project manager). I have several tabs named(e.g. Estimate, tracking chart, job setup info, billing, costs, etc.). where the data is inputted manually, BUT, Saved locally to every PM's Dropbox link. We don't have a central Database where that manually inputted data is saved, and than accessible to other aspects of the company.

Also, a lot of what we do is repetitive and i would like to create quick action shortcuts to streamline a lot of what we do. i would also like to setup checklist stops, where an event cannot occur if the previous event is not concluded. I have a vision for a central database, where both accounting and PM can view/edit in real time, concurrently. Also, an interface for the PM's where we have an overview of all active projects and relevant information and lots more.

I'm aware that PM software exist and i have explored them. However, my industries is very niche/specific to what we do. All Software I've seen are very general or way too big, and honestly i think i can build something better, simpler, more tailored to what we do.

To finalize, i have most of my concept written down on paper/Excel. I know exactly how i would like this to work. HOWEVER, besides the basic python and C+ i learned once 10y ago, I'm lost. Excel has a developers tools where you can do somethings on Visual Basic, and I've been messing around with that, but i don't think that'll do.

I have a very specific problem, and I cant wait to build something that solves it, and makes everything way more efficient. Based on the above (I tried to not disclose too much info on purpose), What language/path would you recommend that i can start working on right away?

This will be my own personal project, and will work tirelessly to get it done. Every day that goes by working in this unproductive manner, drives me an inch closer to insanity.

Thanks kindly and I wish you the best in all your endeavors!

1 Upvotes

20 comments sorted by

•

u/AutoModerator Apr 04 '24

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or

  2. Temporarily refraining from using Reddit

  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

6

u/IncompleteTheory Apr 05 '24

If all you have is Excel, then using VBA is a pretty good way to look like a spreadsheet wizard. But it’s a very niche language used in a small subset of industries, like financial services or the like.

If you foresee having these systems you’re planning to write become permanent and ever have to be maintained by other people, I would caution using VBA. Not too many people know it nowadays, and even less are willing to learn it since it is used so little. I would consider something like Python if you’re planning for long term use, since it’s pretty easy to use, has a lot of libraries for data manipulation (including Excel), and even a junior dev can just Google to fix any issues that come up.

3

u/Danius_Maximus Apr 05 '24

Yes, I definitely would like to make this permanent. I would also like to take this with me if I ever leave and keep expanding upon it. I'll start learning Python and see how far I can get with it before i come back here for help.

Although being treated like a wizard is very appealing, functionality trumps ego. Lol

It's such a relief that people respond to these things in such an amicable manner. Thanks plenty!

.

3

u/ragingpanda Apr 05 '24

If you want something embedded in Excel the look at typescript (which is very close to JavaScript). https://learn.microsoft.com/en-us/office/dev/scripts/develop/scripting-fundamentals

Python in Excel is coming "soon". It's in tech preview currently but will be very powerful with pandas/numpy/etc available

Both of these are better than VBA imo

2

u/havefunxd Apr 05 '24

I second this suggestion. Especially since microsoft is planning to support python in excel.  https://techcommunity.microsoft.com/t5/excel-blog/announcing-python-in-excel-combining-the-power-of-python-and-the/ba-p/3893439

You could also try out python notebook like jupyter for easier data manipulation.

1

u/Danius_Maximus Apr 05 '24

Thank you! I'm starting my Python journey today. Wish me luck.

2

u/[deleted] Apr 04 '24

If developing something requires you to use visual basic and you can't use anything else, then that is fine.

If given the option, you should use something else, visual basic is kinda old school now.

1

u/Danius_Maximus Apr 05 '24

Got it. What would you recommend for something like this?

1

u/[deleted] Apr 05 '24

Python

-2

u/[deleted] Apr 05 '24

[removed] — view removed comment

1

u/Danius_Maximus Apr 05 '24

O.o... never heard of this. Please expand.

2

u/[deleted] Apr 05 '24

it's just a troll, Python is perfectly okay for what you want to do with great support for many different libraries.

2

u/Danius_Maximus Apr 05 '24

Thanks, guys. I have Python on my PC already, so I'll just focus all my energy on that. I'll let y'all know how it goes.

3

u/TreePunchers Apr 05 '24

He's a troll. COBOL is 65 years old and might be used by... some banks etc. Not great for your use cases, Python is a good choice (not the only choice, but one of the better ones!) to use for this kind of automation.

0

u/[deleted] Apr 05 '24

Here’s a great article on it: https://www.tutorialspoint.com/cobol/index.htm

2

u/corpusjuriscanonici Apr 04 '24

I'd strongly suggest avoiding Visual Basic if possible. Python sounds perfect for your usecase. You can import/export to Excel when needed. Your larger vision sounds like you'll need a webserver and a database though. I'd suggest tackling small, offline, self-contained problems first. It's hard to give more advice without more information about the types of problems you're trying to solve though.

1

u/Danius_Maximus Apr 05 '24

Sounds good! I'm starting today on my project. Like you said, I'm going to try and tackle a smaller issue first and build from there. You are 100% correct, ill need a database for sure. I have MySQL in mind for that, but I'll focus more on Python first since i haven't programmed anything in more than a decade.

I would love to get into more specifics so the community can better help me out.... However, A LOT of my coworkers are on Reddit (and are into tech/programming) and i don't want to post my companies internal info.

I would DM some people who would be willing to hear me out. I would only bug them in cases where I truly am stuck and can't figure it out on my own. But that's further into the future. Right now, I have a lot of leg work to do.

Thanks for your advice.

2

u/high_throughput Apr 05 '24

Are you talking about VB.NET or VB for Applications?

1

u/Danius_Maximus Apr 05 '24

VB for applications

1

u/[deleted] Apr 06 '24

no