About 314 results
Open links in new tab
  1. VB.Net, Excel and multiple workbooks

    Jul 24, 2008 · VB.Net 2003 and Office 2000 running on Windows 2000 Sp4. I have written an application that opens two Excel workbooks, copies data from one to the other, formats it and …

  2. Excel 2013 VBA 7.1 Workbook Activate Problems

    Feb 9, 2015 · I have 2 workbooks open and during the course of a macro am switching between them. The macro has developed a problem where it seems to disregard the workbook.activate …

  3. New excel instance is not getting created while using process …

    May 14, 2015 · I am using below code to open a excel file (as different user) always with new excel instance but the excel file is just using the existing excel instance.

  4. how to do vlookup among two sharepoint lists

    Sep 4, 2015 · Per my knowledge, there is no OOTB feature in SharePoint. If you want to automatically compare the list, I suggest you can try to use Server Object Model to export the …

  5. Writing to excel from VB.net using datagrid

    Nov 29, 2017 · I have a datagrid with 3 columns and would like to export the contents to excel. I would also like to have the contents inserted 5 rows from the top of the spreadsheet.

  6. Unable to cast COM object of type 'Microsoft.Office.Interop.Excel ...

    Mar 4, 2011 · I copied a sample.xls, added reference of Excel Object Library 12.0 (I am using Office 2007) then use your code snippet with a Button and ListBox control. The application …

  7. Avoid Temp File Creation by Excel - social.msdn.microsoft.com

    Jul 7, 2006 · I open a couple of Excel Workbooks through VB Code, save and close them. At times, not this has become often, temporary files (like 09fe45fsf) are getting created and the …

  8. Memory exception when creating excel workbook

    Oct 7, 2021 · </EXCEPTION> when I try to run the following code (exception happens on second line of code below when I add the workbook) Dim excelApp As New Excel.Application Dim …

  9. Maintain Pivot Chart Formatting after Refresh?

    Sep 9, 2013 · Then within 6 months I was refreshed to Excel 2007 ... then up to Excel 2010 ... Now the Excel 2003 Code no longer works ... So I recorded a new Macro (below), but when I …

  10. COleDispatchDriver::InvokeHelper - social.msdn.microsoft.com

    Feb 16, 2009 · void AFX_CDECL InvokeHelper ( DISPID dwDispID, WORD wFlags, VARTYPE vtRet, void* pvRet, const BYTE* pbParamInfo, ... ); How do I know the dwDispID (Identifies the …