Search results

  1. V

    .End(xlUp).Row not working in Access

    Paul, Everything is working correctly. Thanks again for your help! James
  2. V

    .End(xlUp).Row not working in Access

    For some reason the code opens the workbook in read only format. So when I do what you suggusted it prompts for a new file name. Is there a way to prevent this? Here's the code I am using. Public Function AddITARPic() Dim xlApp As Object Set xlApp = CreateObject("Excel.Application") With...
  3. V

    .End(xlUp).Row not working in Access

    One more question, sorry. How would u get this to auto save and close with the same name? I did a google search but haven't found anything concrete.
  4. V

    .End(xlUp).Row not working in Access

    Thank you for everyone's help! I am new to VBA so you were very helpful. Vote up for everyone here and hopefully this thread will help others! Public Function LoopAddPic() Dim xlApp As Object Set xlApp = CreateObject("Excel.Application") With xlApp Dim wb As Object Dim ws As Object Dim...
  5. V

    .End(xlUp).Row not working in Access

    Hey Paul, Thanks for the help. How would I incorporate the numerical equivalent? I farily new to the coding process. Lady row? Yeah any solution you can provide I'm all ears. Thanks!
  6. V

    .End(xlUp).Row not working in Access

    I can't get the code in red below to work. How would I go about coding this section? Is it possible to code this part? " "lastRow = ws.Cells(ws.Rows.Count, "F").End(xlUp).Row 'Error 1004" Errors recieved: "1004" Application-defined or object-defined error The objective is so it will look in...
Back
Top Bottom