Code Monkey home page Code Monkey logo

Comments (7)

krijnsent avatar krijnsent commented on May 24, 2024

Hi @titmy , did you try downloading the example file (and afterwards deleting the modules you don't need), that file has the right references.
When I run this code in my develop tool ( https://www.wiseowl.co.uk/blog/s204/vbe-references.htm ), these are the references I have switched on:

VBA --- Visual Basic For Applications --- C:\Program Files (x86)\Common Files\Microsoft Shared\VBA\VBA7.1\VBE7.DLL
Excel --- Microsoft Excel 16.0 Object Library --- C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE
MSForms --- Microsoft Forms 2.0 Object Library --- C:\WINDOWS\SysWOW64\FM20.DLL
Scripting --- Microsoft Scripting Runtime C:\Windows\SysWOW64\scrrun.dll
VBIDE --- Microsoft Visual Basic for Applications Extensibility 5.3 --- C:\Program Files (x86)\Common Files\Microsoft Shared\VBA\VBA6\VBE6EXT.OLB
MSHTML --- Microsoft HTML Object Library --- C:\Windows\SysWOW64\mshtml.tlb

from crypto_vba.

titmy avatar titmy commented on May 24, 2024

Hey thanks for the prompt reply. Seems like my excel is not playing nicely, are there large objects being stored? right now I am having an out-of-memory error. test scripts are failing too with a error
image

from crypto_vba.

krijnsent avatar krijnsent commented on May 24, 2024

Hi there,

  • at what line(s) does your code crash?
  • what excel/windows version are you using?
  • did you use the excel example file or a self-imported version?
    Cheers

from crypto_vba.

titmy avatar titmy commented on May 24, 2024

Apologies for not adding the details.

  1. Running macro ShtBinance.GetMyBinanceData or any other exchange macro just fails with out of memory doesnt show which line

  2. For test macro functions it fails here
    image

  3. I am on Microsoft Excel for Office 365 MSO (16.0.11425.20200)) 64 bit

from crypto_vba.

krijnsent avatar krijnsent commented on May 24, 2024

From this link: https://social.msdn.microsoft.com/Forums/en-US/9bfcd001-5168-4cff-b2ba-6b8e8d465138/excel-2010-vb-runtime-error-2146232576-80131700-automation-error-on?referrer=https://social.msdn.microsoft.com/Forums/en-US/9bfcd001-5168-4cff-b2ba-6b8e8d465138/excel-2010-vb-runtime-error-2146232576-80131700-automation-error-on

Quote:
I downloaded Microsoft .NET Framework 2.0 SP2 (which automatically also installed 3.5) at the same time, and the following code now works. Much appreciate the suggestions from you and the forum board!

Here's the link to the download: http://www.microsoft.com/en-us/download/confirmation.aspx?id=1639

from crypto_vba.

titmy avatar titmy commented on May 24, 2024

Hey Krijinsent thanks for your help downloading the .NET framework works. Maybe you can put that as prerequisite in the docs

from crypto_vba.

krijnsent avatar krijnsent commented on May 24, 2024

Updated the readme, closing the issue.

from crypto_vba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.