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: 22
  • Database.PNG
    Database.PNG
    55.1 KB · Views: 31
  • Userform.PNG
    Userform.PNG
    118.9 KB · Views: 25

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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....
 
Upvote 0
Solution
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
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,340
Members
452,638
Latest member
Oluwabukunmi

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