Quantcast
You are not logged in, click here to log in.

This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Aug 28, 2008 6:55 PM by Ramji  
Click to view Ramji's profile New Member 32 posts since
Jul 24, 2007
Reply

Aug 27, 2008 8:02 PM

Pls anyone help me-very very urgent


Hi
I have problems exporting data from Microsoft Access to Micorosoft Excel.

I have a link called Export to Excel Workers database from my Inventory System which was developed using Microsoft Access. Usually Once I click the Export to Excel button I will see the information transfers to my workers database.xls which is in another location. Before one week it was okay. Now it seems different.

Now after I click the export button from my access I cannot able to transfer the information to my excel file. Instead, the excel file is blank. There is no data.
Data missing. And also I have tried replacing the Workers Database.xls from my backup. Once I replace backup I can able to see the data inside the workers database.xls but after clicking the export button again the same problem. The data is missing.

The below is the the event procudure for this function which was retrieved from my MS Access properties >> event:-
Private Sub Export_to_Excel_Worker_database_Click()
'DoCmd.TransferSpreadsheet acExport, 8, "Export to Excel Worker database", "G:\ADMINISTRATION\Human Resource\HR Administration\Workers Database", True
DoCmd.TransferSpreadsheet acExport, 8, "Export to Excel Worker database", "G:\ADMINISTRATION\Human Resource\Workers Database", True

MsgBox "Export data is done! Pease refer to G:\ADMINISTRATION\Human Resource\Workers Database.xls", vbInformation, "Message from the Author"

End Sub

If anybody knows how to export my file from my access to excel pls let me know. This is very very urgent. Pls reply me ASAP.

Regars
Ramji

Reply
Click to view mcbarker's profile Enthusiast 1,013 posts since
Aug 10, 2006
1. Aug 28, 2008 9:58 AM in response to: Ramji
Re: Pls anyone help me-very very urgent
I can think of two possibilities... Either the drives or directory paths have been changed or someone has altered the code, or you or someone else has disabled macros (check your security settings).


There are three kinds of memory: Good, bad, and convenient.

Visit other IDG sites: