Recent content by JSmothers

  1. J

    Import file not working 32 to 64 upgrade

    Margarit, you are a life saver!! Here is my final code to call on your procedure: Thanks so much for your help!! Public Sub ImportSeveranceData() Dim strCurrProjPath As String Dim objExcel As Object 'Excel.Application Dim objWorkbook As Object 'Excel.Workbook Dim objWorksheet As Object...
  2. J

    Import file not working 32 to 64 upgrade

    Thanks so much Margarit! I will try this code today!!
  3. J

    Import file not working 32 to 64 upgrade

    Here is another piece of the code I am calling on: Public Sub tsGetFileFromUserTest() On Error GoTo tsGetFileFromUserTest_Err Dim strFilter As String Dim lngFlags As Long Dim varFileName As Variant ' strFilter = "Access (*.mdb)" & vbNullChar & "*.mdb" _ ' & vbNullChar &...
  4. J

    Import file not working 32 to 64 upgrade

    Sorry, I get that message when I dim this out: If IsNull(varFileName) Or varFileName = "" Then Debug.Print "User pressed 'Cancel'." Beep MsgBox "File selection was canceled.", vbInformation Exit Sub Else tbFile = varFileName End If
  5. J

    Import file not working 32 to 64 upgrade

    When I DIM out the error, it states "Invalid use of Null"
  6. J

    Import file not working 32 to 64 upgrade

    Hello, since my pc was upgraded, this code will not run. It goes directly to the "File selection was canceled." It worked fine before the upgrade but I had to put PtrSafe declarations in the following to get it it even open. Any help would be greatly appreciated on ideas to fix??? Option...
Back
Top Bottom