Convert Excel Files To CSV Files Using Excel VBA (Excel Automation)
Вставка
- Опубліковано 7 лис 2024
- In this Excel Automation tutorial, we will learn how to convert Excel files to CSV files using VBA.
► Buy Me a Coffee? Your support is much appreciated!
-------------------------------------------------------------------------------------------
☕ Paypal: www.paypal.me/...
☕ Venmo: @Jie-Jenn
💸 Join Robinhood with my link and we'll both get a free stock: bit.ly/3iWr7LC
► Support my channel so I can continue making free contents
---------------------------------------------------------------------------------------------------------------
🌳 Becoming a Patreon supporter: / jiejenn
🛒 By shopping on Amazon → amzn.to/2JkGeMD
📘 Facebook Page → / madeinpython
📘 More tutorial videos on my website → LearnDataAnaly...
✉️ Business Inquiring: UA-cam@LearnDataAnalysis.org
#excel #vba #excelvba
You made it simple & easy to understand with an example…loved it. Could you please give a code to convert .tdms files to .csv files and save with same name ?
Will this work if source is from sharepoint? Thanks for sharing
You will have to incorporate SharePoints API.
Thank you@@jiejenn
I’m using mac and I always get the in the line with SaveAs. Seems saving as csv cannot be done in mac, I tried other formats from .xls to .xlsx, your code is working. Hope you can help.
Works Perfectly!!!! Thank you so much!
Could you send the code?
Please make a video on how to convert CSV to excel file. When I save CSV file some text columns numbers are changed as 0000. How can we convert it with vba
Could you provide the code? It should be helpful that way,. Thanks you so much for this tutorial❤️
love this!!
👍
wb_target.saveas data_file_folder & replace (file name, ".xlsx", ".csv"),6
exception has been thrown by the target of an invocation
Please help
The output files are corrupted. I can't open it
Can you please paste code here
Give code sir
Ok
@@jiejenn I'm facing runtime error 9
Subscript out of range
@@AnubhavKashyapYt Same here. I've triple-checked the code and it still doesn't like that step
@@larmondoflairallen4705 U may try replace
As is : wb_source.Worksheets("Data").Copy
To be : wb_source.Worksheets("Sheet1").Copy