About 609,000 results
Open links in new tab
  1. VBA Run-time error '-2147467259 (80004005) - Stack Overflow

    Jul 1, 2015 · I am trying to connect to mysql using Excel VBA, I am using Excel 2013. I am new to VB, so i followed this example: Inserting Data Into MySQL From Excel Using VBA Here is my …

  2. What is the equivalent of "!=" in Excel VBA? - Stack Overflow

    The problem is that != does not work as a function in excel vba. I want to be able to use If strTest != "" Then instead of If strTest = "" Then Is there another approach to do this besides !=? ...

  3. VBA Runtime error '-2147221164 (80040154)': class not Registered

    Feb 24, 2021 · I developed a class library in Visual Studio 2019 using the .NET framework. Before building the project, I registered the.dll file to interop COM, and this process gave me a .tlb file. …

  4. excel - How to use OR in if statement in VBA - Stack Overflow

    Jul 14, 2017 · How to use OR in if statement in VBA [duplicate] Asked 7 years, 11 months ago Modified 3 years, 11 months ago Viewed 44k times

  5. How should I make my VBA code compatible with 64-bit Windows?

    I have a VBA application developed in Excel 2007, and it contains the following code to allow access to the ShellExecute function from Shell32.dll: Private Declare Function ShellExecute …

  6. How to continue the code on the next line in VBA - Stack Overflow

    15 In VBA (and VB.NET) the line terminator (carriage return) is used to signal the end of a statement. To break long statements into several lines, you need to Use the line-continuation …

  7. Get the content of a sharepoint folder with Excel VBA

    Aug 28, 2009 · Usually I use this piece of code to retrieve the content of a folder in VBA. But this doesn't work in the case of a sharepoint. How can I do ? Dim folder As folder Dim f As File …

  8. How to round up with excel VBA round ()? - Stack Overflow

    Apr 15, 2013 · VBA uses bankers rounding in an attempt to compensate for the bias in always rounding up or down on .5; you can instead; WorksheetFunction.Round(cells(1,1).value * …

  9. 如何开启EXCEL中的宏工具? - 知乎

    Aug 10, 2019 · 工作中的表格一般不会存在潜在危险,所以大家不用担心。 什么是宏 ? 在Excel当中,宏可以理解为一个复用工具,它可以记录你的操作步骤,并复现你的操作,从而达到自动 …

  10. 有哪些办法让 Excel 自动适应文本并调整行高? - 知乎

    Nov 1, 2023 · 写个 vba,表更新的时候自动触发。但是如果没特殊应用,没必要。人工做法,就是点击表左上角行列交汇处,也就是1和A那个三角形交点。那样整个表会被选中。让后移动鼠 …