Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2018, 04:25 PM
68Monkey 68Monkey is offline Previously functional code doesn't work properly anymore Windows 10 Previously functional code doesn't work properly anymore Office 2016
Novice
Previously functional code doesn't work properly anymore
 
Join Date: Jun 2018
Posts: 10
68Monkey is on a distinguished road
Default Previously functional code doesn't work properly anymore


Hello. Does anyone have any idea why previously functional VBA code would stop working properly? I've created user forms and code to customize legal documents with the client's information. I finished a particular automated document back in May. I tested the code (and forms) inside and out and everything worked fine as of a couple of days ago, but now something's gone haywire; after I've put the information in using the forms and run the code, the resulting document is all jumbled. Any thoughts would be greatly appreciated. Thank you!
Reply With Quote
  #2  
Old 09-12-2018, 06:45 PM
macropod's Avatar
macropod macropod is offline Previously functional code doesn't work properly anymore Windows 7 64bit Previously functional code doesn't work properly anymore Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Without knowing what, exactly, "stop working properly" and "the resulting document is all jumbled" mean, and without seeing either your userform & code or the document/template it applies to, it's impossible to say what the issue might be.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 09-25-2018, 06:01 PM
68Monkey 68Monkey is offline Previously functional code doesn't work properly anymore Windows 10 Previously functional code doesn't work properly anymore Office 2016
Novice
Previously functional code doesn't work properly anymore
 
Join Date: Jun 2018
Posts: 10
68Monkey is on a distinguished road
Default

I've once again tested the macro-enabled Word template and (having changed nothing) it now works fine on both my laptop and my desktop; however, it doesn't work properly on my boss' system. I've attached PDFs showing how the first page is supposed to look after the code runs (from my system) and how it looks when it runs on the boss' system.

Code Worked.pdf

Code Did Not Work.pdf
Reply With Quote
  #4  
Old 09-25-2018, 06:08 PM
macropod's Avatar
macropod macropod is offline Previously functional code doesn't work properly anymore Windows 7 64bit Previously functional code doesn't work properly anymore Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Your 'code did not work' attachment isn't even of the same file, so it's impossible to make a direct comparison. Furthermore, it's also not apparent that that file was produced by the same code or would do so when running on the same source document that produced the 'code worked' example.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word for Mac doesn't open quickly anymore Neil Turkington Word 0 02-16-2016 09:19 AM
Previously functional code doesn't work properly anymore Code doesnt work properly ksigcajun Word VBA 6 04-06-2015 07:41 AM
Excel 2013 Alt F doesn't block selection in find anymore KatMagic Excel 0 03-15-2014 12:44 PM
Previously functional code doesn't work properly anymore Outlook doesn't send/receive anymore. Astacus Outlook 1 12-29-2012 03:40 PM
simple code doesn't work help piper7971 PowerPoint 2 08-19-2010 08:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:57 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft