Userform data to specific sheet

aadil_1408

New Member
Joined
Jan 3, 2021
Messages
16
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I have made a user-form sheet which takes in project data (description, project owner, status, updates, date) and outputs to a main sheet (Database). I needed to transfer the data from this database to different sheets according to the owner name in such a way that the daily update is recorded in a different row for that individual person. Although I recorded a macro for this using advanced filter copy, it replaces the data of the earlier dates with the new one instead of entering in a new row.
Please if possible suggest another way using VBA to do this.
Thank You
 

Attachments

  • author list.PNG
    author list.PNG
    57.1 KB · Views: 9
  • Database.PNG
    Database.PNG
    55.1 KB · Views: 9
  • Userform.PNG
    Userform.PNG
    118.9 KB · Views: 9

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

fadee2

Active Member
Joined
Nov 7, 2020
Messages
337
Office Version
  1. 2019
Platform
  1. Windows
hi aadil_1408,
welcome to tye board.....

use lastrow as your row address in your advanced filter. something like
👇👇👇👇👇👇👇👇

lr = Sheets("sheet1").Cells(Rows.Count, 2).End(xlUp).Row
then
advancedfilter........
....
copytorange:range("a" & lr)
....

hth....
 
Solution

aadil_1408

New Member
Joined
Jan 3, 2021
Messages
16
Office Version
  1. 2019
Platform
  1. Windows
Hello Fadee2,
Thank you for suggesting the solution. I used your idea for auto filter instead of advanced filter and it worked perfectly.
Regards,
Aadil Khan
 

Watch MrExcel Video

Forum statistics

Threads
1,130,142
Messages
5,640,367
Members
417,139
Latest member
bdmprasenjit

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
Top