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

preview_player
Показать описание


In this VBA Basic training, I will share a unique method of mapping unlimited fields from an Excel table to a userform with just 5 lines of code or less. You can’t miss this training while I share with you this incredible method that allows you to save time and headaches.

⬇𝗗𝗢𝗪𝗡𝗟𝗢𝗔𝗗 𝗧𝗛𝗜𝗦 𝗪𝗘𝗘𝗞'𝗦 𝗪𝗢𝗥𝗞𝗕𝗢𝗢𝗞 𝗧𝗘𝗠𝗣𝗟𝗔𝗧𝗘 𝗛𝗘𝗥𝗘:

EXCEL COURSES:

EXCEL PRODUCTS:


Timestamps:
0:00 – Introduction
2:29 – Creating Contact Form
8:43 – Worksheet Selection Change
12:45 – Click Add New Button
13:56 – Click Save Button
17:35 – Click Delete Button

Follow me on my Social Media Accounts:

About Us:
I help Microsoft Excel enthusiasts turn their passion into profits so they can earn passive income using their skills without having to trade time for money.
I love making these videos for you each and every week. A great way of supporting Excel For Freelancers to keep this training free each and every week is by supporting us through one of the amazing products offered that will help you skyrocket your Excel Skills and reach your dreams.

Get Alerted IMMEDIATELY with new Free Training Videos & Workbook by subscribing here:

New Training Video Uploaded Every Tuesday And Saturday!

Thank you very much for your continued support,
Randy Austin

#vba #Userform #DataMapping #VBACode
Рекомендации по теме
Комментарии
Автор

Thanks a lot! Love every single content you share with us. Greetings from Poland!

Robbiea
Автор

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

frankedwards
Автор

Super greater from the start to the end very clear for me. No confusion at all

TheLegend_lab
Автор

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

MBJazzful
Автор

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

michaelsvenson
Автор

Great Training, love it. Thanks Randy!

chrisk.
Автор

Than, k you, thank you!!! Very helpfula nd useful. Ive never had VBA explained so clearly. I really appreciate it.

gaad
Автор

Great technique.
will implement that on my work

ranilan
Автор

Thank you very much for this helpful tutorial.!

donniemcgee
Автор

I am eagerly awaiting the release of the new video. Thank you very much in advance.

hassanhilaly
Автор

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.

Bartlefevere
Автор

อยากให้คุณสร้างระบบ jewellery shop system หรือ ระบบร้านทองจัง

SaiKyauk-
Автор

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?

ChristNme
Автор

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.

cis
Автор

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

shaharyarahmed
Автор

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

giacomosforzi