Omgili - forum search, search forums  
  

Discussions about excel.application dim

Displaying 1 - 10 out of 587 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
In a Windows Forms project in VB.net Express I added a reference to "Microsoft Office 14.0 Object Library" (I have Excel 2007), but I'm not able to create an object of type Microsoft.Office.Interop.Excel.Application.
Started by on , 5 posts by 1 people.  
Here is a KB about How to use Visual C# binding, because the type of the... .
Handles Button1.Click 'Excel Application Object Dim oExcelApp As Excel.Application Activate() 'Get can cast the active object to Excel.Application directly.
I have a function in VB.net 2002 (see code below) and i get a "MEMBER NOT FOUND" error. cant figure out whats wrong.. Public Function GetSheetName_control(ByVal Filename As String) As String Dim oxlApp As Excel.Application Dim oxlBook As Excel.Workbook...
Started by on , 3 posts by 3 people.  
Declared oxlApp as Excel.Application? Why not use oxlApp = new Excel.Application? Member not found.
I am trying to use the following code to write data into an excel file Dim objexcel As Excel.Application Dim wbexcel As Excel.Workbook Dim wbExists As Boolean Set objexcel = CreateObject("excel.Application") objexcel.Visible = True On Error GoTo Openwb...
Started by on , 3 posts by 3 people.  
I have got this code which works fine Dim objexcel As Excel.Application Dim wbexcel As Excel.Workbook Dim wbExists As Boolean Dim objSht As Excel.Worksheet Dim objRange As Excel.Range Set objexcel = CreateObject....
Ask your Facebook Friends
Can someone tell me why I can only fill an Excel sheet once. If I run the code again it just opens a blank xls document. I have to close Access to make it work again. Thanks Dim oXLApp As Excel.Application Dim oXLBook As Excel.Workbook Dim oXLSheet As...
Started by on , 15 posts by 3 people.  
As Excel.Application Dim oXLBook As Excel.Workbook Dim oXLSheet As Excel.Worksheet Set oXLApp = New As Excel.Application Dim oXLBook As Excel.Workbook Dim oXLSheet As Excel.Worksheet Set oXLApp = New in the page....
Got error on "SET" and "excel" object. kindly resolve Set xl = CreateObject("excel.application") Dim i As Long Dim p As Long Dim newCell As String Dim xl As Excel.Application Set xl = CreateObject("excel.application") xl.Workbooks.Open (App.Path & "\Book...
Started by on , 5 posts by 4 people.  
Any sugestion.
Also need to open old threads that were started by my account .
What do you want to achieve ? exexution of mentioned program .
I'm sending data to Excel from a selector form and would like to control the workbook dimensions so it is visible without scrolling. This is the early part of the code for exporting Dim objXL As Excel.Application Dim objWkb As Excel.Workbook Dim objSht...
Started by on , 3 posts  
You may get better help here: forum707: VBA Visual Basic for Applications (Microsoft) Beir bua agus beannacht! Ok thanks, genomon, this looks to put me on the right track. .
This forum is for MS Access forms.
I'm sending data to Excel from an Access selector form and would like to control the workbook dimensions so it is visible without scrolling. This is the early part of the code for exporting Dim objXL As Excel.Application Dim objWkb As Excel.Workbook...
Started by on , 2 posts  
For a NUANCE!.
Skip, Just traded in my old subtlety ...
Hi, Check out the Window object.
Hi All, I recently ran into a problem with closing excel. This code has worked for over a year running 5 times a day with no problem. Recently Mircosoft office and XP SP3 updates came through on my PC. Now the code will not close my excel process. I am...
Started by on , 15 posts by 3 people.  
Close the workbook and that should kill the session: Code: Dim X1 As Excel.Application Dim X1Book As Excel.Workbook Dim X1Sheet As Excel.Worksheet Set X1 = CreateObject("Excel.Application") Set + "\Sheet1.xls" 'Dim....
I have the following in a program (written in VB.NET): Imports Microsoft.Office.Interop.Excel Public Class Form1 Dim eApp As New Excel.Application Dim w As Excel.Workbook w = eApp.Workbooks.Open( "path.xls", ReadOnly:=True) .. Processing Code .. //Attempts...
Started by on , 7 posts by 7 people.  
As mentioned in other post.
Use the Using block Using eApp As New Excel.Application Using w the Excel.Application and Excel.Workbook.
That you may need to do this twice.
I've tried this: 'start Excel app Dim exApp As Microsoft.Office.Interop.Excel.Application exApp = CreateObject("Excel.Application") ' load excel document exApp.Workbooks.Open(fname) Dim exSheet As Microsoft.Office.Interop.Excel.Worksheet exSheet = exApp...
Started by on , 3 posts by 3 people.  
So....
Looking at the code example, I think what you need is b = exSheet.Cells(3,3).Text or b = exSheet.Cells(3,3).Value EDIT: I guess it the reference should be assigned to an instance of range .
I don't think you should write code in VB6 style for vb.net .
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • Visual Basic Express Edition
  • Reports - Access World
  • Modules & VBA - Access World
  • Microsoft: Access Forms Tek-Tips
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost