Forum Discussion
sahrens
Apr 05, 2023Copper Contributor
Macro Run-Time Error
I have a spreadsheet that my team uses to generate templates by pulling data from our automation systems. It uses a macro to pull the requested information from a file on a server. To use it, my ...
sahrens
Apr 06, 2023Copper Contributor
Thanks for your response, I have downloaded the latest version (.NET Framework 4.8.1) and restarted my computer but I am getting the same error. Is there a way I can check which version of the .NET Framework that the assembly was built with, and check which version I am running to make sure the download worked properly?
Unfortunately my IT department says they won't help with Macro issues and forwarded me here, so I won't be able to get any help from them.
Unfortunately my IT department says they won't help with Macro issues and forwarded me here, so I won't be able to get any help from them.
NikolinoDE
Apr 07, 2023Platinum Contributor
Do you have Microsoft .NET Framework 3.5 installed on your PC?
If not, here are the links with the download and installation.
Install the .NET Framework 3.5 on Windows 11, Windows 10, Windows 8.1, and Windows 8
Download Microsoft .NET Framework 3.5
- sahrensApr 07, 2023Copper Contributor
No I have 4.8.1 because that was the newest version available. 3.5 looks to be the oldest available version, which is the opposite of what you first suggested. Is there I reason why I should use 3.5 instead? NikolinoDE
- NikolinoDEApr 09, 2023Platinum ContributorFramework a working framework (as the name suggests) or a framework of software used by other programs to prevent those programs from reinstalling the same pieces over and over again. Framework is therefore a collection, which can also be called a library, of different drivers or programs, which in turn supports the functions of other programs.
This is the "substructure" for many programs.
Net 3.5 is actually only installed if a program requires it.
NET 4.8 is an integral part of Windows and is required for Windows and other programs.
If you decide to uninstall 4.8, you can reinstall Windows.- sahrensApr 10, 2023Copper ContributorOkay, I installed the 4.8.1 version because you said:
"To resolve this issue, you can try updating the .NET Framework on your computer to the latest version."
But it is still not working, and I don't think that going back to an older .NET Framework (3.5) will solve the issue when the error message is:
"This assembly is built by a runtime NEWER than the currently loaded runtime and cannot be loaded."
So what could the root cause be in this case? Is the .NET not properly updated?
Is there a way I can check which version of the .NET Framework that the assembly was built with, and check which version I am running to make sure the download worked properly?