Userform edit data

cdkulkarni58

New Member
Joined
Nov 25, 2010
Messages
8
Hi Everybody,
I have two userforms say form1 and form 2. userform1 is having a listbox called listbox1. the data is being populated to listbox1 from values geneated from userform2.The number of values are generated in listbox1 in form1 .My question is I need to edit the specific value in listbox1 without changing the sequence or index of the value. I go back to userform2 add the new value but i cant put it at the same location as that of earlier.

Would anybody help me out in this.

Thanks in advance

CDK:mad:
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
How does the first listbox drive the contents of the other listbox?

If you change something in the 1st listbox couldn't you just clear the 2nd listbox and repopulate it.
 
Upvote 0
Hi,

No the list box in first form is collecting the data from second form . The first list box is just a data collection location it does not drive form2. But I can go back to second user form from first form put the original values back to particular page of multipage in second form . edit those values (By simply changing name of command button name instead of add to edit) from 1st userform.Can add those values to first userform. But this new location is the last location in list form instead of the particular location which i want to put these values to.

Thanks in advance once again

Regards

CDK:confused:
 
Upvote 0
So I got it the wrong way round?

Sorry but it was a little confusing, I'm not even sure why you have 2 userforms.

By 'drive' I meant that what was in one listbox was based on what's in another listbox.

Anyway it still isn't clear what you want to do.

You've now mentioned a multipage and a command button.

Where do they come into things?
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,682
Members
452,937
Latest member
Bhg1984

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