I have included all the code from my UserForm. Any suggestions to my code, relevant to this issue or not, are greatly appreciated. I found this code online: wb.SaveĪpplication.OnTime Now TimeValue("00:00:01"), (filePath)Īs I stated, I am new to VBA, coding, and this site. Obviously, this is time consuming and not efficient. The only thing that prevents this error is code to save, close, and reopen the file. Made sure all calls to sheets included specific "path" (ThisWorkbook.).Copy and paste the new template sheet without specifying where to put it.Create a separate Excel template file and call that from the userform.Keep templateSheet visible at all times.At first, I thought it may be a memory issue but I think this is a pretty simple file, something excel and my desktop should be able to handle. The code I provide at the end of this post is the majority of the code within the file. Bizzarly, the file works PERFECTLY on my 2013 MacBook pro with Excel 2011. This happens on windows with Excel 2010, 2011, and 2016 (I've yet to test other versions on Excel) on a range of Windows versions. On the 22nd run, without fail, the automation error pops up and Excel crashes. There is additional code that adds values to cells on multiple sheets and formats that text.Īll of this works perfectly for 21 runs.A table on the homepage gets a new row and a hyperlink to the new sheet is added.If the name doesn't exist, a hidden template sheet (templateSheet) is copied and pasted after the homepage sheet (indexSheet) and renamed based on the user input.If the name exists, it tells the user to choose a different name.The code (all in the userform) checks all worksheet names. The userform has two fields asking the user to enter names. I've created a userform and a form control button. TemplateSheet and indexSheet are defined references to specific worksheets The gist of what happens within this part of my file: SO frustrating! I have managed to locate the line of code that causes this: templateSheet.Copy After:=indexSheet If I click debug, end, or help, Excel crashes and (sometimes) reopens an recovered file. The object invoked has disconnected from its clients." I have searched this site (and many others) and found many people with this same error, but their resolutions are irrelevant and/or don't solve my problem. I am trying to complete and refine my file, but I have run into a error that I cannot seem to fix or even understand. Only 2 players can play if NetLimiter is installed.īug with public ip detection, if the commandline network options are used.Įnabled a switch to allow the player to turn off ragdoll in single player (located in the Options Menu).I am new to VBA (and Excel for that matter) so please keep that in mind when reviewing my code. When the game briefly minimizes before starting a multiplayer game, sometimes gives a blue screen (this is quite rare, but it does happen sometimes) Tuning menu: BHP meter and colors randomly switch when changing profile.įlip back and forth to statistics screen and the BHP grows bug.ĥ.1 sound support is not working on some setups.ĭisconnects when returning to the lobby in multiplayer games. when the car is upside down, flames go down. The game has also been tested up to the 67.03 drivers with no problems found.Įngine fire burns aligned to the car's coordinates, e.g. The game no longer crashes when a race is started. Copy the Flatout.exe, patch1.bfs and patch.ini files to the root of the install folder (by default this is c:\program files\empire interactive\flatout) and run the game.įix for the nVidia 66.93 drivers.
0 Comments
Leave a Reply. |