I work at a company and we create or forms from a letter template every time we need to do a, price request, a sample request, a submittal form, a purchase order, work orders, billing and on and on,
I created Formzilla workbook to Automatically create these forms. Currently it only does the purchase order. Eventually I want it to do all the forms. For these forms to work I need to import data into the Formzilla workbook that will create the rest of the forms.
I do not want separate excel workbooks for each form. I also do not want a separate workbook for the import. eventually I would like them all in one workbook and import all the information I need for every form so it only needs to be uploaded Once per Job.
I will set it up so that only the form page need will be visible then they can click a button and see the next form they want to create in. There are drop down menus in D4 distributor that will bring up the rest of the info below it to the email. There are also drop down menusfom D10 To D35 that fill in the Description Quantity Containers Price DB row. after the merge the purchasre order no longer works. My thought was that when I merge them the sheet numbers change. In the code some of the modules refer to With Sheet1 or with sheet 4 or with sheet 2.
Here is the first code on sheet1 order Formzilla.
Private Sub Worksheet_Change(ByVal Target As Range)
'On Distributor Name Change
If Not Intersect(Target, Range("E4")) Is Nothing Then
If Target.Value <> Empty And Range("B2").Value <> Empty Then
Dim DistributorRow As Long
DistributorRow = Range("B2").Value 'Distributor Row
Range("E5").Value = Sheet4.Range("E" & DistributorRow).Value 'Quote #
Range("E6").Value = Sheet4.Range("B" & DistributorRow).Value 'Account #
Range("E7").Value = Sheet4.Range("C" & DistributorRow).Value 'Repersenative
Range("E8").Value = Sheet4.Range("D" & DistributorRow).Value 'Email
Range("G2").Value = Sheet4.Range("F" & DistributorRow).Value 'Shipping
End If
End If
'On Order Item Name Change (But not on Order Load)
If Not Intersect(Target, Range("D10:D35")) Is Nothing And Range("B5").Value = False Then
If Range("C" & Target.Row).Value <> Empty Then
Dim ItemRow As Long
ItemRow = Range("C" & Target.Row).Value 'Item Row
Range("E" & Target.Row & ":H" & Target.Row).Value = Sheet5.Range("B" & ItemRow & ":E" & ItemRow).Value 'Copy over Desc, Qty, Unit,Price
End If
End If
End sub
when I merge the 2 workbooks the Sheets from Form Zilla get assigned new page numbers. I assume that is why they are no longer working? it could be something else I do not know.
I need to be able to combine these workbooks so that all of the sheets still work.