how to delete last entry entered in a userform

ellehcer08

New Member
Joined
Jul 25, 2011
Messages
31
Hi there!

Just wondering if it is possible to delete the last entry/data entered using a userform...

For example, I have a userform and the info I added to the sheet will be selected and I want to delete that entire row of data with a MACRO assigned to it...

Any suggestions or help? Thanks a lot...
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi there!

Just wondering if it is possible to delete the last entry/data entered using a userform...

For example, I have a userform and the info I added to the sheet will be selected and I want to delete that entire row of data with a MACRO assigned to it...

Any suggestions or help? Thanks a lot...

How was the info added, through use of the userform?
 
Upvote 0
You might get away with using Selection, but I would suggest posting the code from whatever button adds the info. Maybe we can see a better way to 'track' where the last info was added. Hope that makes sense.
 
Upvote 0

Forum statistics

Threads
1,224,525
Messages
6,179,319
Members
452,905
Latest member
deadwings

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