o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Open excel file with Dao 3.51 ,runtime error -

Hi all
When i try to open excel file with
The DSN ,with Dao i have run time error 3146
ODBC--call failed and everything ok
the file in my machine.

So any help?
Efrat

 

Open excel file with Dao 3.51 ,runtime error -
Hi all When i try to open excel file with The DSN ,with Dao i have run time error 3146 ODBC--call failed and everything ok the file in my machine. So any help? Efrat


[02/03] Creating an excel file -
Ok, so I know how to open a new excel file, but is there anyway I can create a brand new excel file as if i had just opened an unsaved file so that i don't have to open a template excel doc, but create my own during runtime where i specify all the settings of fields, rows, columns, etc


txt to xls -
Hi all I have written a small code in a module to convert a text file to excel. I am opening txt file with Open command and have referanced microsoft excel 9.0 object library. Its a module only and there is no form. I created a exe of this. I expected if Excel is installed on cli


Killing an open excel file -
Hello All, I am stuck with a problem while performing following operation. In my project the need is to save the data shown in the grid in Excel file. I am able to save it in excel and even if file exists then it overwrites the file. But the problem is if the file in which I am


ADO connection with Excel -
Hi, For a web project that I am working on I need to be able to read in an excel file using a DNS-less connection. Right now I am able to get this to work but only when the Excel file is closed. I need to be able to read the file even when someone has it open and is editing it. I


[Excel]How do i trap a VBA runtime error using Error Handler -
Hi Guys, How do i ignore a runtime error (This file has been locked by user name for saving. Please try again later. ) How do i trap a runtime error using error handler to continue without trying to save the file again?


runtime error 5 with Excel -
Can anyone tell me why we get a runtime error 5 when we open Exc el from VB? Here is my code: Private Sub btnrptdata_Click() Dim xls As Object Set xls = CreateObject("excel.application") xls.Visible = True xls.Workbooks.Open "f:\data" & User & "


Excel Object Error -
Here is the code: 1 Dim exExcel As Excel.Application 2 Dim exWorkbook As Excel.Workbook 3 Dim exSheet As Excel.Worksheet 5 exExcel = New Excel.Application 6 exWorkbook = exExcel.Workbooks.Open(strFilename) 7 exSheet = exWo


Error saving excel file -
I'm getting the error shown below? I'm certain that its nothing to do with either of the 3 causes it lists, could there be anything else. The code works fine on development but throws this error on the production server. Thanks Microsoft Office Excel cannot access the file 'D:


Open an Excel file -
I want to open an Excel file from VB. I open Complements,then Visual administrator of data, then File, then Open existing data basis, then Excel. I get error 3170: DAO.Workspace.ISAM instalable not found. Can anyone help me?


Start up excel problems - file not found -
Hi I am getting the below message each time I open excel - mysterious excel startup problems: Microsoft visual basic File not found Error 53 error when openining excel. What is it,What caused it and how do I get rid of this message when I open excel. I hav


Opening an Excel File without having Excel -
Is it possible for VB to open an excel file without having Excel installed on the computer? Currently I am getting a "429" error trying to open an excel file. If it helps I am using early binding. TIA.


Help required with Runtime Error 462. -
Runtime Error 462 - The Remote Server Machine does not exist or is unavailable. I am working on a shell in VB6 to automize a health monitoring system at this moment set up in Excel 2000 sheets. Instancing Excel in the VB code and copying a sheet and quitting Excel still with the VB r


[2005] Can't Open Excel File by using xlApp.Workbooks.Open -
Hi all, I would like to open the excel file after create the excel file. The creating file function is done, but the system unable to open the excel file. My coding as below: ---------------------------------------------------------- Dim xlApp As Excel.Application D


open excel file in OLE runtime. -
Private Sub Form_Load() Dim xl As New Excel.Application Dim xlsheet As Excel.Worksheet Dim xlwbook As Excel.Workbook Set xlwbook = xl.Workbooks.Open ("c:\book1,xls") Set xlsheet = xlwbook.Sheets(1) OLE1.CreateLink "c:\book1.xls", "Excel" end sub I did


Automation error opening an excel file -
I am trying to open an excel file using the following code: Dim ExcelApp As Excel.Application Set ExcelApp = New Excel.Application ExcelApp.Workbooks.Open ("C:\ViaBancoPricingGrid.xls") But I keep getting the following error: Error #-2147417851: A


Help please!!!! How to open an exist excel File -
1. How to open an excel file in VB form. Using a command button to open an existing excel file. (Trigger the Excel application first and open the file). 2. When use ADO controller to execute the SQL2000 procedure, especially when inserting new record to the database, an error messsa


Run time error '52' -
hi all, i will be having a list of MS word file names in an separate MS Excel file. i am opening this excel file and get those MSword file names and copy those MSword files to another location. while i am executing this process i am encountering Runtime error '52' Bad File name of numb


Open Excel File -
Hi All, I want to open an Excel file, so I write: Public inBook As Excel.Workbook but I got an error message: type 'ExcelWorkbook' is not defined What should I do???? MikeLI


Problem Opening Excel Files -
I am trying to open an Excel File in VB using the OpenDatabase method of the DBEngine object, it gives a Runtime error no. 3170, "Could'nt find installable ISAM"..... Can somebody tell me how to rectify this problem?


Saving an Excel Spreadsheet that is already open -
I am working on a database program that outputs reports via EXcel. Presently I am using a common dialog to retrieve the filename the user wants to save the file as. If the user chooses a filename that is already open in excel then I get an error. I need to be able to check if the


Open an Excel File and Run a Macro Q -
I am not literate in VB but have being looking on the web to try and automate a process. What I wish to do is 1) Open MS Outllook (if it is not already open) 2) Open an Excel file 3) Run a Maco within this file) 4) Save the opened Excel file and close it 5) Leave MS Outlo


Runtime Error '1004' -
Hi Guys, I have a problem in sharing a excel file on our network. evrytime a user use the userform and save its input the runtime error 1004 pops out.


[2005] SaveFileDialog and Excel -
I'm having a problem with an application that uses Excel to generate some graphs. I can open my Excel spreadsheet and post data to it. I'm using a SaveFileDialog to allow the user to select a folder and filename to save the file as but when I call the Excel Save As function I get an


multiple Excel Versions... -
I have a system with both Excel 97 and Excel XP installed, running on Windows XP. I click on a file with an .xls extension and it always opens in XP. I go to the OPEN WITH screen, and Excel 97 is not even listed as an option. If I browse for 97 and manually selected it, and ch


RESOLVED: Turn of Excel Error Reporting -
Hey, Basically all i'm doing is automating Excel to open a Lotus 1-2-3 file and then manipulating it..... I have no problems with the manipulation of the file. However when i open the lotus 1-2-3 file ONE cell cannot be READ and hence an error message pops up informing the use


Opening Excel Problem -
Hiii I am using the following code to open up a Excel worksheet (I have included the excel type library in the project references ) But still it doesnt open the file. It doesnt give an error messages also. Dim xlTmp As Excel.Application Set xlTmp = New Excel.Applicatio


excel process -
Excel process I am updating an excel spreadsheet using OleDbConnection and OleDbDataAdapter. This seems to be very quick if the excel file is closed. Now I would like to make sure that is the case. i.e: if the file is open, then save and then close. go through the update as it


Microsoft visual basic File not found error when openining excel. Error 53 -
Hi I am getting the below message each time I open excel: Microsoft visual basic File not found error when openining excel. Error 53 What is it,What caused it and how do I get rid of this message when I open excel. I have a series of macros in VBA and a VB6.0 applica


Open Excel on client side ASP.NET -
Hi, I am using the office interop in a intranet environment, the intranet directory contains a excel file that users can access. When I try to open the excel file from internet explorer via Excel.Workbook.open() and then run some vba code using Excel.Application.Run(). the excel file


how to deploy excel app to server without MS office -
Hi There I am writing a program in vb.net to read data in an Excel file. The program works file in my PC but not in a server. My PC had been installed Excel 2003, but the server has no any MS Office. To install my application in the server I generated a setup.exe and msi fil


[02/03] Open Excel File from asp.net that is already open -
Hi, all. I have an access database that is linked to an excel file. The excel file is opened by another user. I'm trying to select from the linked table using vb.net. It's giving me the error The Microsoft Jet database engine cannot open the file '\\work\drive\\jobs.xls'. It is alre


Pull data from an open Excel application. -
I have a requirement to "Pull" date from an open Excel application. That is the user opens the VB App. They open an Excel spreadsheet. They click a button on the VB App and it pulls data out of specified cells on the open Excel file. Anyone able to give me some clues


how to open excel file in microsoft access 2003 -
Hi guys, why i got probelm open an excel file in microsoft access 2003? please help. Dim xlApp As Excel.Application Dim xlBook As Excel.Workbook Dim xlWSheet As Excel.Worksheet Set xlApp = New Excel.Application xlApp.Workbooks.Open Filename:=Me.txtFile


Export to Spreadsheet, w/o Excel -
I see a few tutorials pertaining to exporting data into an Excel spreadsheet. Looks straightforward, however I do not own Excel. I use Open Office (hey, it's free). I'm able to open Excel spreadsheet within Open Office Calc. However when I write my code, and I goto reference Excel,


Need help on inseting another worksheet -
What i actually need is to insert an worksheet in the same file that i had opened. That mean i had already open an excel file and i wish to insert a new excel sheet on the excel file. How can i do that. I had a method which it does to open a new new excel worksheet. Meaning the one


Open Excel Document With VB -
Here's what I'd like to do. I'd like to put a command button on my VB form that says "View File" or something to that effect. When the user clicks that button all I want it to do is open up a specified file in Excel. Basically, the button would just function as a short


[2008] Open and execute a macro-enabled Excel file in a background -
Hi. I already have a running macro-enabled excel file. This file was saved as an Excel Add-in. The add-in works such that when i open the excel application, it will automatically open a certain excel file. After this, some codes in the Add-in follow. My focus now is to create an execu


I got runtime error 35752 on animationbox -
I try to run 250mb .avi file but it got runtime error 35752: Can't open AVI file. I swear it can be opened from windows media player. Can anyone help?


How to Open PDF Files Via Visual Basic Macro Code -
How can I code a Macro in Excel to search in a preset directory and pull out, aka open/run a certain Adobe Acrobat .pdf file automatically? Is this even possible to code in Excel Macro or is it out of its scope of what Excel VB code can do? Right now I have a very repetitive t