Recent content by vinwin06

  1. V

    Data validation rule in VBA

    Hello, I have below codes on my form to restrict the user for data validation for entering the date. Dim strSQL As String strSQL = "SELECT Max([Requisition_table]![SAPRequisitionReleaseDate]) AS Max_Date" strSQL = strSQL & " FROM Master_data INNER JOIN Requisition_table ON...
  2. V

    Auto number field in a Access database table

    yes I know I'm reaching around 1.5 GB now... its normal ms access database only. not SQL db.
  3. V

    Auto number field in a Access database table

    I did that already while doing that only I am getting the error mentioned above.
  4. V

    Auto number field in a Access database table

    Hi All, I need an help in creating auto number field in access database. Let me explain you further. I have an access database which 20 million records. When i am trying to add auto number field i am getting error "File sharing lock count exceeded". Then i did some google search and got...
  5. V

    Access data export into Excel as the data linked to excel.

    I didnot get the desired answer but i am respecting their efforts. I dont know where to mark as solved.
  6. V

    Access VBA codes for export into excel

    Hi thanks for the link, but i am not sure how to run the module once its created .... i have created based on the code provided can you please tell me how i can execute that...
  7. V

    Access VBA codes for export into excel

    Hi All, I need to export a set of 15 queries into excel for the specified range created in excel file. All these queries belongs to different criteria's and need to go separtely to their specified range. Is there is any way to export into excel using VBA codes in access. I have some knowledge...
  8. V

    Excel file save as from Access VBA

    Private Sub Command0_Click() Dim blnObjectCreated As Boolean Dim objXLS As Object 'Excel Application Dim objWB As Object 'Workbook Dim strOriginalFileName As String Dim strNewFileName As String Dim strRecordsetDataSource As String strOriginalFileName = _ "F:\DB...
  9. V

    Access restart automatically

    Hi, When i am executing the below code then access starts automatically; Dim objXL As Object Dim strpath As String Dim Combo3 As Variant On Error Resume Next Set objXL = GetObject(, "Excel.Application") Set objXL = GetObject("C:\Apps\Monthly Download\KPI Data File Template.xlsx")...
  10. V

    Excel file save as from Access VBA

    Hi Pbaldy, yes i fixed the buliding path but the file saving command is not working.
  11. V

    Excel file save as from Access VBA

    Hi Steve, I got your code working but the problem i faced is i am getting compatibility checked while saving the file. I think the file format = 56 should be something different for excel 2007?
  12. V

    Excel file save as from Access VBA

    So other than that my codes are correct, because when i execute step by stpe also i can able to see the path but its not saving the excel file in the new name.
  13. V

    Excel file save as from Access VBA

    Hi, I want to export a excel file from access and i want to save the excel file in the name based on my selection available in combo box . I am using the below mentioned code, but i am not getting the desired outout file saved in the path mentioned... Can you please anyone help me on this...
  14. V

    Access data export into Excel as the data linked to excel.

    Actually i am looking for vice versa logic like linking excel file from access thorough access vba codes.
  15. V

    Access data export into Excel as the data linked to excel.

    Hi, I want to know how i can export the data from Access to excel using Access VBA for the specified sheet using data linkage with access database. Like we used to do it manually in excel as external data from access. Like we have some codes for linking excel file to database mentioned...
Back
Top Bottom