Windows 10: Excel VBA -- Why are some functions running without being called?

Discus and support Excel VBA -- Why are some functions running without being called? in Windows 10 Gaming to solve the problem; Stepping through some code while debugging, I find that some functions are being run without my explicit calling them! The Call Stack shows, preceding... Discussion in 'Windows 10 Gaming' started by RAWman, Jan 18, 2023.

  1. RAWman Win User

    Excel VBA -- Why are some functions running without being called?


    Stepping through some code while debugging, I find that some functions are being run without my explicit calling them! The Call Stack shows, preceding the function call, "[<Non-Basic Code>]" I did have some Application.Volatile statements but commenting them all out did not help. There was a Worksheet_Change event for one sheet, but commenting that out did not help either. Where else can I look?[Windows 10 / Excel 2019 Pro]P.S. the Topics list does not include an appropriate one for this topic. "Settings" that I picked is wrong. Please add something like MS Office.

    :)
     
    RAWman, Jan 18, 2023
    #1
  2. jimbo45 Win User

    VBA code to simulate Excel LET function? use LET before available

    Hi there

    @sunny123

    perhaps for those who don't know or haven't understood the LET function -- this explains it :

    The New Excel LET Function: How to Use It & Why You'll Love it

    I'd assume that any version of EXCEL (alternatives to Ms OFFICE) that doesn't have some sort of "in line coding --e.g VBA type of thing) or abilities to create functions or procedures would be a non starter.

    However with earlier versions of Ms EXCEL it might be possible to replicate this -- am looking into the possibilities.

    The Define Name function probably is your best bet for this. Not quite 100% the same but near enough.

    Create Custom Functions Using Names - MS-Excel Tutorial

    Cheers
    jimbo
     
    jimbo45, Jan 18, 2023
    #2
  3. sunny123 Win User
    VBA code to simulate Excel LET function? use LET before available

    Hello, if anyone done VBA to simulate LET function, I appreciate where to find this (free or pay) source code if possible.

    https://answers.microsoft.com/en-us/...f-a5ca994a766a
    Helper cell to to contain final code. VBA to convert to LET-less formula for cell ; when LET avails, also only 1 step away (C&P helper to cell). Easier to troubleshoot but need to remove helper
     
    sunny123, Jan 18, 2023
    #3
  4. Excel VBA -- Why are some functions running without being called?

    DDE link in Excel crash when I open VBA in Excel wirh Windows10

    Good Morning.

    I,ve installed windows 10 about 20 days ago.

    I've also Microsoft Excel 2007 and I use much VBA Excel and DDE links in my worksheets in Excel.

    Before installing Windows 10 I use Windows XP ( with the same Excel 2007 thet I reinstall on Windows 10)

    With Windows XP, some times when I need to change istructions in VBA, also if my worksheets was linked with DDE, I opened VBA VisualBasic and I can work in my VBA application.

    No problems.

    Now, with windows 10, when I open in Excel Visual Basic java links DDE Excel crash.

    All works well ( DDE, Excel, and other software ) but whan I open visualbasic in Excel Java Crash.

    Any suggest?

    Thanks
     
    GiovanniSmiraglia, Jan 18, 2023
    #4
Thema:

Excel VBA -- Why are some functions running without being called?

Loading...
  1. Excel VBA -- Why are some functions running without being called? - Similar Threads - Excel VBA Why

  2. I can't get the scheduler to run an excel file with vba code that creates a report and...

    in Windows 10 Gaming
    I can't get the scheduler to run an excel file with vba code that creates a report and...: Hi,I have built vba code in an excel file that creates a report file and emails it to some recipients. I am trying to get the scheduler in windows 10 to run this but no matter how I do it it does not run when I am not logged in. I have now also tried in windows 11 and there...
  3. I can't get the scheduler to run an excel file with vba code that creates a report and...

    in Windows 10 Software and Apps
    I can't get the scheduler to run an excel file with vba code that creates a report and...: Hi,I have built vba code in an excel file that creates a report file and emails it to some recipients. I am trying to get the scheduler in windows 10 to run this but no matter how I do it it does not run when I am not logged in. I have now also tried in windows 11 and there...
  4. Excel VBA -- Why are some functions running without being called?

    in Windows 10 Software and Apps
    Excel VBA -- Why are some functions running without being called?: Stepping through some code while debugging, I find that some functions are being run without my explicit calling them! The Call Stack shows, preceding the function call, "[<Non-Basic Code>]" I did have some Application.Volatile statements but commenting them all out did not...
  5. Excel VBA -- Why are some functions running without being called?

    in Windows 10 Customization
    Excel VBA -- Why are some functions running without being called?: Stepping through some code while debugging, I find that some functions are being run without my explicit calling them! The Call Stack shows, preceding the function call, "[<Non-Basic Code>]" I did have some Application.Volatile statements but commenting them all out did not...
  6. Excel, VBA: What does or what is BeforeDragOver?

    in Windows 10 Software and Apps
    Excel, VBA: What does or what is BeforeDragOver?: I can still imagine something under top or height. [ATTACH] Excel, VBA: Was macht oder was ist BeforeDragOver?
  7. Excel VBA Coding Window Horizontal scrollbar

    in Microsoft Office and 365
    Excel VBA Coding Window Horizontal scrollbar: Hello All, I hope everyone is keeping well and safe!! Within the Excel VBA coding window I am unable to horizontally scroll at all, using either, my laptops touchpad (two finger gesture) or a seperate mouse wheel. It's actility pretty frustrating. I am able to press and...
  8. Excel will not run without App

    in Microsoft Office and 365
    Excel will not run without App: I was cleaning up WindowsApps and VBA would not run if I deleted: Microsoft.Office.Desktop_16051.11126.20266.0_neutral_~_8wekyb3d8bbwe Microsoft.Office.Desktop_16051.11126.20266.0_x86__8wekyb3d8bbwe I removed the apps and uninstalled Office and reinstalled it and it still...
  9. MS Office Last Update - Excel VBA issue

    in Windows 10 Installation and Upgrade
    MS Office Last Update - Excel VBA issue: Hi all, I have been updated again... now I have serious trouble with my Excel VBA files. If I try to make some modifications in code some actions lead into Excel crash: Select a part of code and trying to del ---> crash Press "Reset" button in editor ---> crash (even...
  10. Excel 2003 vba editor blinking cursor thickness

    in Microsoft Office and 365
    Excel 2003 vba editor blinking cursor thickness: I run excel 2003 on windows 10. Since upgrading to win 10 from win 7, the blinking cursor in excel 2003's VBAeditor in almost impossible to see (too thin). I have - via Control Centre / Ease of access / Make the computer easier to use- progressively increased the blinking...