I have two user forms - one of which enables the user to search for a particular item. Providing this item is found (using find) I would like to be able to then show another form - prepopulated with information relating to items searched upon in the first form.
I have some code which ensures the 'search' item is found - this then calls the next form using form2.show. I was then going to assign values to the text fields using the activecelloffset comand based upon the cell found in the first form.
My problem is that I can call the second form but I cannot get anything to populate in the text fields.
I was wondering if these text fields need to be defined in the code of the first form - or if there is something to be added to an event procedure on the second from that will then show these values ?
I have some code which ensures the 'search' item is found - this then calls the next form using form2.show. I was then going to assign values to the text fields using the activecelloffset comand based upon the cell found in the first form.
My problem is that I can call the second form but I cannot get anything to populate in the text fields.
I was wondering if these text fields need to be defined in the code of the first form - or if there is something to be added to an event procedure on the second from that will then show these values ?