
Originally Posted by
6StringJazzer
That is true, but your post, though factually accurate, was not responsive to the OP, and does not move towards a solution.
it wasn't meant to move towards a solution. and Ali will probably slap me for saying that. it gives information, and most of the time the info I give does help to some degree. at least that's what some tell me. if it doesn't oh well. no way for me to know unless they say something.

Originally Posted by
UncleJink
you'll have to educate me as to what an OP is.
original poster.

Originally Posted by
UncleJink
What I read in the past was that the compiler would extract all necessary functions and libraries from Excel and embed them in the EXE along with the VBA code. As I later explained, further reading on the subject would contradict my assumption, so that idea went out the window.
pretty much. see here: https://en.wikipedia.org/wiki/Compiler
I have no doubt that some compilers can serve a purpose of transforming libs meant for excel to something else. after all, everything is just numbers anyway. per the page:
The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language, object code, or machine code) to create an executable program
in your case, VBA is high, machine code is low. again, per another article on the same site: https://en.wikipedia.org/wiki/Executable
VBA code, when run by the excel application, has to be parsed. that's why you get a run time error if you write this:
without the end if. the interpreter (coding environment) parses the statement by identifying the ''if'' block statements.

Originally Posted by
UncleJink
Maybe I'm just too old now to grasp it all. The brain isn't what it used to be.
i seriously doubt that. you already know more than most that are 20-30 years old and in their prime. LOL.
Bookmarks