Auto-populate data from data entry made from userform to a template to be sent out automatically through Outlook

04011988

New Member
Joined
Sep 23, 2018
Messages
26
Hi,

Hope you can assist me.

I have workbook for leave application. I used userform for the data entry which I already sorted out through help of great people here too. However, my concern now - if I want to click a command button "Update", I want the data entry from "Sheet 4" to populate in Sheet 5 which is the leave request template/form that contains the same data in Sheet 4 except that it is arranged as formal leave template to be attached and send out through Outlook.

I used Vlookup in sheet 5 to capture the equivalent data in Sheet 4, however, since my code in data entry every time I do a data entry, it will insert a new row in row 2 where old data will move down. And not sure why the formula in my vlookup when it is not constant with $ (e.g. $A2) still moved and does not just capture just the data in row 2.

attaching and sending the file, I got no problem too. Just this one, I can't sort out now.

Thanks in advance.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top