Dear Sir,
I am creating the data entry userform to easy my work. for that i am tryin gto creat the user form using VBA Excel.
My aim is to creat the excel file with three sheets
sheet1 shall contain the data for input information (standard) value.
for Ex.
Product
Batch code.
shelf life
std. Qty.
Sheet2 shall contain the blank table (except Product) with column heads as
Product
Batch Code
Batch No.
Shelf Life
Mfg.
Exp.
Qty.
User
Date issue
Sheet3 shall contain the blank table similar to the sheet2 but totally blank and can use as data register entry.
Now i want to creat the userform includes the Combobox, Text Box, CMD Buttons.
1. Combobox1 should link with product details in sheet1 for input value.
2. as i select the product in the combobox1 the batch code of the same product shall appear in the text box1 using index/match function or similar,
3. after that the value entered in textbox2 shall be only Numeric 4 degits only,
4. TextBox3 and 4 shall be for Mfg. date and Exp. Date as Jan.2010, Dec.2013 respectively. here the date selection function should be available.
5. TextBox5 shall be for the Qty and the same shall be only in numeric, no digit limit.
6. cmd button1 shall be for validating the entries in the userform filled are complet and shall match the product row in the sheet2 and update the entries to the sheet form the userform using again index/match function.
7. cmd button2 shall append the entries from the userform to sheet3 and additionally shall put the sequential serial no. to the new entry in the first column.
8. The entries in the sheet2 can be overwritten because the respective cells are linked to the word file to print the respective format.
9. cmd button3 for printing the file link mentioned in the respective row updated in the sheet2 in PDF format using ADOBE PDF Printer and save the PDF file to the fixed path
10. This user form shall be password protected.
Dear Sir, Considering the above requirement can we design the form in VBA.
I have designed such document in Excel and using but it is complecated.
attached specimen.