Tags: How to Create an Excel Data Entry Form in 10 Minutes Using Python (No VBA) | Easy & Simple coding is fun pysimple gui pysimplegui tutorial data entry form excel data entry form data entry from without vba data entry excel data entry excel tutorial data entry form in excel how to create excel forms python data entry form data entry in excel microsoft excel ecxel forms how to create data entry form in excel python gui excel gui python tutorial
Did you know you can use Python code to create an Excel Data Entry Form? This is a tutorial that will show you how to create one using the PySimpleGUI & Pandas library. No VBA or macros are required. At the end of the tutorial, we will also be converting the Python script to a standalone program. In doing so, we could share this data entry form with colleagues & friends, and they could use our program without having to install Python. The best part is that you could use this code as a starter template whenever you want to build a data entry form for Excel. If you want to add or remove columns, you only need to change one line of code. Additionally, you could also easily add more elements to the user form, like Multiline Input Fields, sliders, list boxes, a file dialogue box and much more.
PySimpleGUI Documentation:
👉 https://pysimplegui.readthedocs.io/en/latest/
Full code and sample files are available here:
👉 https://github.com/Sven-Bo/data-entry-form-pysimplegui
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
𝗖𝗢𝗡𝗡𝗘𝗖𝗧 𝗪𝗜𝗧𝗛 𝗠𝗘:
🌎 Website: https://pythonandvba.com
📝 GitHub: https://github.com/Sven-Bo
⭐ Discord: https://pythonandvba.com/discord
▶️ Subscribe: https://youtube.com/c/CodingIsFun?sub_confirmation=1
🎉 𝗙𝗥𝗘𝗘 𝗘𝘅𝗰𝗲𝗹 𝗔𝗱𝗱-𝗶𝗻 𝘁𝗼 𝗯𝗼𝗼𝘀𝘁 𝘆𝗼𝘂𝗿 𝗽𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝘃𝗶𝘁𝘆
Get it here: https://pythonandvba.com/mytoolbelt
📚 𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲𝘀 𝗳𝗼𝗿 𝗹𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗩𝗕𝗔 & 𝗣𝘆𝘁𝗵𝗼𝗻
Check out my recommendations: https://pythonandvba.com/resources
☕ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲❓
If you want to support this channel, you can buy me a coffee here:
https://pythonandvba.com/coffee-donation
or
Question
The Thing is you have to put the file path instead of just filename while assigning it to EXCEL_FILE varaiable
Thanks for the video, I have a question..
I want my header row in EXCEL to have some color, with BOLD and bigger text , so i saved the Excel sheet header with a color, but the moment i ran the script header color is reverting back. How to fix it?
Hi Is It possible that I design a UI lets say it contains Test Case_1 button and if simeone clicks on it, itautomatically execute a python code wriiten at back end basically pre coded python code which compares the two excel files.
Hi. Awesome tutorial. What if I performed a calculation of sorts on the GUI, how do I then append calculation inputs and result data into the excel file?
Those new to this vid. append will be deprecated in pandas in the future...use this instead for adding to the excel file...
df = pd.concat([df, pd.DataFrame([values])], ignore_index=True)