Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-23-2023, 10:26 AM
Ulodesk Ulodesk is offline Compile error -- incompatibility? Windows 10 Compile error -- incompatibility? Office 2021
Word 2013 Expert Cert
Compile error -- incompatibility?
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default

Thanks for your reply, which I passed on to the user. Here is his response. Any ideas?


I was able to get the macro to run by commenting out the following commands:



NumberSpacing = …
NumberForm = …
StylisticSet = …
ContextualAlternates = …
CollapseByDefault = …
For some reason my version of Word is not recognizing the syntax of these statements as valid.
Reply With Quote
  #2  
Old 03-23-2023, 10:46 AM
BrianHoard BrianHoard is offline Compile error -- incompatibility? Windows 10 Compile error -- incompatibility? Office 2019
Advanced Beginner
 
Join Date: Jul 2022
Location: Haymarket, VA USA
Posts: 85
BrianHoard is on a distinguished road
Default

Okay, then my next thought is to have the person using Word 2007 record a macro that does all the things you need. They may need to do one of these finds at a time, and just keep grabbing the syntax of the code that is recorded by the macro. Once you have all of that, then we can look at what was recorded and see if we can optimize that to run as a script.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile error on hidden module Simss Excel Programming 2 09-25-2017 01:37 AM
compile error expected end sub ashg75 Word VBA 2 07-13-2017 07:08 AM
Compile error -- incompatibility? Compile error in Module ksigcajun Word VBA 2 04-08-2015 06:44 AM
Compile error: sub or function not defined.. xena2305 Excel Programming 0 08-02-2011 10:17 AM
compile error in Word raco Word 0 09-28-2010 12:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:46 PM.


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