Using the following code
displays dialog box but the files i double click on do not open?![]()
Please Login or Register to view this content.
thank you
Using the following code
displays dialog box but the files i double click on do not open?![]()
Please Login or Register to view this content.
thank you
Last edited by royUK; 10-24-2009 at 07:28 AM.
GetOpenFilename does not open the file, it just returns the full path of the selected file(s). You have to manually open the file in your code.
Hi
Are you running these codes from excel or access? Do you intend to import data from access to excel? try adding this code after getopenfilename
Ravi![]()
Please Login or Register to view this content.
Thank you for the replies
After further investigation for what i wanted to do. I have found it much easier to use the Import spreadsheet procedure from the access database. This has solved my problem.
Thks
FYI
For anyone concerned
If you want to import to an existing table in ms access, make sure you have included the field names exactly as they are in your access table into the first row of your spreasheet. Also the formatting must match your access fields ae: Date and Time fields.
Last edited by djbummy; 02-09-2009 at 01:26 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks