Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2017, 09:27 PM
macropod's Avatar
macropod macropod is offline wdAlignParagraphLeft and wdLineSpaceSingle declaration Windows 7 64bit wdAlignParagraphLeft and wdLineSpaceSingle declaration Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,355
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

Hint: In the VBA Editor, go to Tools|Options>Editor and check 'Require variable declaration'. Although it means you'll have to declare your variables (e.g. Dim myTable As Table), it also means errors of this kind will be trapped.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Occasional 'Overflow' error in constant declaration Cosmo Word VBA 2 07-19-2016 06:16 AM
wdAlignParagraphLeft and wdLineSpaceSingle declaration Variable declaration lwhistler Word VBA 2 08-26-2015 04:02 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:55 AM.


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