How To Map Userform Data To An Excel Table With 5 Lines Of Code

  Рет қаралды 10,472

Excel For Freelancers

Excel For Freelancers

Күн бұрын

Пікірлер: 53
@ExcelForFreelancers
@ExcelForFreelancers 14 күн бұрын
😱 𝗧𝗨𝗥𝗡 𝗖𝗢𝗠𝗣𝗟𝗘𝗫 𝗗𝗔𝗧𝗔 𝗜𝗡𝗧𝗢 𝗦𝗜𝗠𝗣𝗟𝗘 𝗦𝗢𝗟𝗨𝗧𝗜𝗢𝗡𝗦 𝗪𝗜𝗧𝗛 𝗔𝗜 ▶ www.excelforfreelancers.com/AiDataAnalystYTPinnedComment
@Robbie1987a
@Robbie1987a 5 ай бұрын
Thanks a lot! Love every single content you share with us. Greetings from Poland!
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Thank you so very much, I really appreciate that Robbie and so glad you enjoyed it
@frankedwards1954
@frankedwards1954 4 ай бұрын
Love the way that you get on with the coding (after the advertising ). Really easy to follow what you're doing and great technique. Thank You
@frankedwards1954
@frankedwards1954 4 ай бұрын
I realized after deleting data that, on update, column 5 (Row) should update the formula with "=ROW()" not a number. Otherwise, when a row is deleted the row numbers are no longer correct.
@ExcelForFreelancers
@ExcelForFreelancers 4 ай бұрын
Great and thanks so much. I am so glad you like it Frank. You can uncomment the line of code that ads thr row so that the row is always kept Row numbers should always use a formula =Row() I hope this helps and thanks so much.
@MBJazzful
@MBJazzful 5 ай бұрын
I love this! I have futtered, but you show how to make the application do the work. This looks like an exceptional example to get someone who has made a start into VBA get a grip of the power and get a better undestanding of how to use it. Thanks
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Awesome! I am really happy to hear that and glad I can help. Thank you for your Likes, Shares & Comments. It really helps.
@TheLegend_lab
@TheLegend_lab 5 ай бұрын
Super greater from the start to the end very clear for me. No confusion at all
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Awesome. I will make more like this. Thanks again
@michaelsvenson2456
@michaelsvenson2456 5 ай бұрын
As always a true joy to look at your videos, amazing this VBA stuff and you make it so easy to understand... ;-) Thumbs up, again
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Thank you so very much, I really appreciate that Michael and so glad you enjoyed the training
@gaad7938
@gaad7938 5 ай бұрын
Than,k you, thank you!!! Very helpfula nd useful. Ive never had VBA explained so clearly. I really appreciate it.
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
For sure, you are very welcome and I am very happy to help and share
@chrisk.2957
@chrisk.2957 5 ай бұрын
Great Training, love it. Thanks Randy!
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Thank you so very much, I really appreciate that Chris and so glad you enjoyed it
@hassanhilaly8810
@hassanhilaly8810 5 ай бұрын
I am eagerly awaiting the release of the new video. Thank you very much in advance.
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Thank you so very much, I really appreciate that
@donniemcgee7523
@donniemcgee7523 4 ай бұрын
Thank you very much for this helpful tutorial.!
@ExcelForFreelancers
@ExcelForFreelancers 4 ай бұрын
You are very welcome Donnie. I have tons on AI integration. from my AI Playlist I think you will like. If you do try this, it may return an error with a free open AI account but will work with a paid account. With that said I am considering releasing this as a product so you do not need to use your own account. I hope this helps and thanks so much.
@ranilan00
@ranilan00 5 ай бұрын
Great technique. will implement that on my work
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
That is great to hear. I am so happy that you enjoyed this training.
@gaspumprepairservice7009
@gaspumprepairservice7009 5 ай бұрын
Very good. Thank you, sir.
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
For sure, you are very welcome and I am happy to help and share.
@gaspumprepairservice7009
@gaspumprepairservice7009 5 ай бұрын
@@ExcelForFreelancers and a good Monday morning to you.
@donniemcgee7523
@donniemcgee7523 4 ай бұрын
Wow! That would be awesome!!!!
@ExcelForFreelancers
@ExcelForFreelancers 4 ай бұрын
Absolutely Donnie. I really to appreciate your incredible support. Thanks so much
@Bartlefevere
@Bartlefevere 5 ай бұрын
Hi Randy, Thank you very much for this video. I built an address book based on your video. Everything went smoothly. However, I did notice an error. It concerns the row number. Suppose, as in your example, you have ten names. When entering the first name in the table (directly in the table and not via the Form), I enter "=ROW()" in the last column (called "row"). That works fine. The first name is in row number 3, so 3 is entered in column "row" in the table. Everything fine. If I add a new name, that new name will automatically be numbered "4" and so on... I fill in the remaining nine names via the form and each name gets its unique number. However, if I now delete the name in row 8 via the form, rows 9,10,11 and 12 are moved up. The row number 8 in Excel now contains in the "row" column of the table the number 9 and no longer the number 8. Now if I want to delete row number 9 (which after deleting row number 8 in the table now has the number 10) then of course the row number 10 is deleted in stead of row number 9. That is of course not the intention. How can the code be adjusted so that this does not happen again? Actually, when deleting a contact, the column number in the table (last column) should also be adjusted so that it always matches the row number in the table. Thanks in advance. Kind regards.
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Hi and thanks for your comment and question. When entering the row # via VBA code, we always want to enter the formula using VBA such as .range("K" & ContRow).value = "=Row()" this way no matter what row is deleted, the actual row # will always be accurate. In the row column you would never want to enter the actual row number (manually or with VBA code) and would always want to use the formula. If you are using an advanced filter or separate list of record on this sheet, another sheet, or in a userform, this list must be refresh after every delete, save or update of the record. I hope this helps and thanks so much.
@Bartlefevere
@Bartlefevere 5 ай бұрын
Thank you for your quick answer. I understand what you are saying. But in the video it is not explained like this. Could you please copy here the excact line of code I would have to replace with the code you suggest in your answer? Thank you so much. 👍
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Hi and thanks, you would want to add the line Sheet1.range("E" & ContRow).value = "=Row()" After the For/Next loop. This is not needed if you are using a table, as the formula is automated, when using a table, just like in my sample Feel free to download this file using the links in the description under the word DOWNLOAD. I hope this helps and thanks.
@Bartlefevere
@Bartlefevere 5 ай бұрын
@@ExcelForFreelancers Thank you for your answer. It works perfectly that way. I used all the instructions in your example and did insert a table and gave it a name. Without that additional line of code, the next number is simply entered in the "Row" column and not the formula "=Row()". But for me the problem is solved, with the additional line of code the formula "=Row()" is correctly filled in. I don't want to be difficult, but I just wanted to share my experiences with you and the members. Who knows, maybe it will help someone. In any case, thank you very much. By the way, I tried to download the file, entered my email address, but unfortunately I did not receive anything.
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Yes great. If you don't have a table, it will not be automated, however when you create a table from your data, it will be automated. I hope this helps and thanks so much.
@ChristNme17
@ChristNme17 Ай бұрын
Hi! Okay I have one question! Great content and I'm learning a lot! But I do have a question... I'm very new to coding. I basically copied your video code in Excel as the video played and got almost everything to work, but I found one issue I don't know how to solve. After writing the delete code, in your video you deleted "fred", the last entry. When I was playing with my version, I deleted an entry in the middle of the list. The result is the row column didn't match the actual row the line was on. When I created the original table before any coding, I wrote the formula =Row() in the first cell of the column--this resulted in an accurate portrayal. And when I made my first "add new" entry, it assigned, correctly, Row 4 to the entry, which was the line I was working with--however it didn't copy the =Row(), it simply wrote in "4". The result is when you go back and, lets say delete the entry in Row 3, the "row 4" entry gets bumped up to Row 3, but the cell still says "4". This creates some debugging error and the entire thing shuts down unless I go into the code, delete the entire delete button code, and start over. The only option I can see is when I look at the Excel Table, the little green triangle appears in the cell notating an "Inconsistent Calculated Column Formula" and then says it can "Restore to Calculated Column Formula". If I click this, this single cell goes back to the =Row() formula and displays the correct row. But the issue persists with every entry/deletion. Thoughts?
@ExcelForFreelancers
@ExcelForFreelancers Ай бұрын
Hi and thanks very much. For any new record, you will want to make sure the code adds the formula and not just the row number such as .Range("F" and ContRow).value = "=Row()" This will ensure that the row numberss are always accurate, even when other rows are deleted I hope this helps and thanks so much.
@ChristNme17
@ChristNme17 Ай бұрын
@@ExcelForFreelancers Hey thanks for the reply and the help. Sorry for just now getting around to thanking you. If you have time, I have another question which may be a little more complex. I totally understand if you can't get to it now (or ever) but I figured I'd ask! The form I am making is for work. I am combining several different employee lists and I need to fill in information from the user form into different tables on different worksheets in the same workbook. The first step is to have a table, like the one in your video, which has the userform application piece and will Save/Delete/Add new just as you described. With your help, I was able to complete this. This is sheet 1. The second step is to create a second sheet (and a third and a fourth) with their own tables which I need some data from the userform to populate (but not necessarily all, like the Sheet1). The end goal would be I can edit (add or delete entries) on Sheet 1, and the other worksheets will follow suit. Any suggestions? I'm guessing the key lays in the "save" button portion...and I've toyed with trying to duplicate any code you had which said "sheet1" and changing it to Sheet2 (or 3 or 4) but this obviously failed. Thanks ahead of time. And honestly, take your time if you do decide to answer! I'm in no rush and I don't want to detract you, but thanks regardless :)
@ExcelForFreelancers
@ExcelForFreelancers Ай бұрын
Hi and thanks it would be difficult to know unless we can see your worksheet. A few options for help on this. If its a simple issue that can be corrected you can create a post in our Excel For Freelancers Facebook Group here: bit.ly/groupexcel We have 60,000 Members who would love to help you with this. If you are looking for more one on one help, I would be happy to refer this out to a qualified developer. Can you please email me all of your specifications in a detailed scope and I can forward it to a developer? Randy@ExcelForFreelancers.com Thanks so much.
@ExcelForFreelancers
@ExcelForFreelancers Ай бұрын
⚡ 𝗦𝗜𝗠𝗣𝗟𝗜𝗙𝗬 𝗖𝗢𝗠𝗣𝗟𝗘𝗫 𝗘𝗫𝗖𝗘𝗟 𝗧𝗔𝗦𝗞𝗦 𝗜𝗡𝗦𝗧𝗔𝗡𝗧𝗟𝗬 𝗪𝗜𝗧𝗛 𝗘𝗫𝗖𝗘𝗟 𝗔𝗜 𝗧𝗢𝗢𝗟𝗣𝗔𝗖𝗞 𝗔𝗗𝗗-𝗜𝗡 👉 www.excelforfreelancers.com/ai-toolpack
@ahfoudaabdelaziz3011
@ahfoudaabdelaziz3011 5 ай бұрын
Merci infiniment.
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Bien sûr, vous êtes le bienvenu
@cis232
@cis232 Ай бұрын
Need Help - After creating this workbook myself, I have a problem with the Add New. For some reason the added record is outside the table (right row number but not in the table). So I downloaded the finished workbook from here. Guess what? It also places the new contact outside the table. What have I done or not done to make this happen? Thanks in advance.
@ExcelForFreelancers
@ExcelForFreelancers Ай бұрын
Hi and thanks for your comments. I am not a big fan of tables for this reason. Please convert the table to a range and it should fix the issue. (You can also try to delete any blank rows within the table which may also help) I hope this helps. Should you have any additional questions, please join our Excel For Freelancers Facebook Group in which we have thousands of Excel experts who can guide and help you with your Excel Questions. Just post your detailed question, and upload your current workbook, or post detailed screenshots so we can get you the answers you need, fast. Please join here: bit.ly/groupexcel
@SaiKyauk-11021
@SaiKyauk-11021 5 ай бұрын
อยากให้คุณสร้างระบบ jewellery shop system หรือ ระบบร้านทองจัง
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
สวัสดี ขอบคุณสำหรับข้อมูล เราช่วยคุณได้แน่นอน แม้ว่าฉันจะไม่สามารถดำเนินโครงการใดๆ ได้ แต่ฉันก็ยินดีที่จะส่งต่อข้อมูลนี้ให้กับนักพัฒนาที่มีคุณสมบัติเหมาะสม โปรดส่งข้อมูลจำเพาะทั้งหมดของคุณมาให้ฉันทางอีเมลพร้อมขอบเขตรายละเอียดเพื่อให้ฉันส่งต่อข้อมูลดังกล่าวให้กับนักพัฒนาได้ Randy@ExcelForFreelancers.com ขอบคุณมาก
@shaharyarahmed6124
@shaharyarahmed6124 5 ай бұрын
Sir kindly make a adins like vstack & hstack Otherwise make a vba code for data stack 1,2,3,3,5 column stack data please
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Hi and thanks so much. I will do my best to get that completed in the near future. Thank you for your Likes, Shares & Comments. It really helps.
@giacomosforzi4836
@giacomosforzi4836 5 ай бұрын
good evening mr randy, J want to download the resources and the updated workbook "Perishable Inventory menagement update", but, it say me "Page not found", and like this video also the others of 1 years ago. how can J do? thank for your reponse
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
Hi and thanks so much. The links have been updated and you can now download the updated workbook. I hope this helps and thanks so much.
How To Automate Outlook Appointments & Meetings With Excel VBA
22:51
Excel For Freelancers
Рет қаралды 4,8 М.
VBA Basics: How To Protect Your Hard Work With Excel VBA
20:28
Excel For Freelancers
Рет қаралды 7 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
The Excel Tool That Does What PivotTables Can’t (File Included)
13:59
MyOnlineTrainingHub
Рет қаралды 258 М.
How To Loop Through Files To Automate ANYTHING - Excel VBA Basics Series
19:26
Excel For Freelancers
Рет қаралды 5 М.
Excel's NEW Checkboxes Are Incredibly Cool! Here's why
14:24
Leila Gharani
Рет қаралды 558 М.
How To Create Custom Word Letters Using Excel - For Beginners
30:42
Excel For Freelancers
Рет қаралды 6 М.
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Excel Campus - Jon
Рет қаралды 284 М.
Try This New Formula Instead of Pivot Tables
12:08
Kenji Explains
Рет қаралды 520 М.
Say Goodbye to IF Statements in Excel with SWITCH
7:45
Teacher's Tech
Рет қаралды 603 М.
How To Master Shapes With Excel VBA - For Beginners
52:04
Excel For Freelancers
Рет қаралды 12 М.