hi,
i am creating a setup file using
package and deployment
in one of the step it is sayng like missing dependency file
what is the meaning of missing dependency file
is there any problem with that?
i am using just one excel file.i am attaching some printscreen for the pdw
thanks
wizkid
If you ask me, never use excel or office on references. Use only late binding.
Then you dont need keeping care of excel version. Also setup packet is smaller
Last edited by oh1mie; Feb 17th, 2006 at 03:07 AM.
i never use the this late bounding
it looks good.
ok i will try this one.
can u please tell me one example to put some value in a cell
thanks
How you bind, late or early, is simple a matter of connecting.
Once connected, the same coding principles apply, so if you are doing it now, how you connect shouldn't affect the code you have running after you connect.
If you do go the late binding route, I suggest you write your code with early binding, and change it late binding before final compile.
You don't get the benefit of intellisense in the IDE as the IDE doesn't know what kind of objects you are working with when you use late binding
another thing that I dont see mentioned here is that late binding is good with office apps because if you wrote an app using office11 and the end user has office 10, then your app wont work right. Late binding wont have this problem (so long as your app doesn't use any feature in office 11 that wasn't around in office 10)
its all the same... the ONLY difference betwee early and late binding is the way you create the object and the way you have to set references. Please read this info
Dim xl As Object
Dim wb As Object
Dim ws As Object
Dim oDoc As Object
Set xl = CreateObject("Excel.Application")
Set wb = xl.Workbooks.Add
Set ws = xl.ActiveWindow.ActiveSheet
ws = wb.Worksheets(1).Add(1, 1)
With wb
.SaveAs "C:\My Documents\MyPreso.xls"
.Close
End With
End Sub
ws = wb.Worksheets(1).Add(1, 1) ....here i am getting error like object property not set
what is the problem
Hi
really thanks for your help.it is working
today i learned what is the difference b/w latebinding and early binding
really i am new for this excel
thanks a lot
wizkid