Posts by Aneesnazir

    Hi ihave been following a youtube video to create a form to input data. once this was completed I was hoping I could share this only issue I have is when I click my save button I get message:


    Run-time '91':


    Object variable or WIth variable not set


    when I click debug it highlights this section:


    Code
    'find first empty row in database
    iRow = ws.Cells.Find(What:="*", _
                             SearchOrder:=xlRows, _
                             SearchDirection:=xlPrevious, _
                             LookIn:=xlValues).Row + 1


    Can you advise me where I am going wrong I have also included below the full code



    Thanks