View Single Post
 
Old 08-18-2014, 06:31 PM
Byron Polk Byron Polk is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: Jul 2014
Location: Whitehouse, TX
Posts: 14
Byron Polk is on a distinguished road
Default

Here is the line of code I am using in the "Private Sub Document_New()" procedure.

Quote:
lngNewRandNumber = RandomNumbers(10000, 20000)
ThisDocument.CustomDocumentProperties("RandomNumbe r").Value = lngNewRandNumber
This code is not updating the custom document property "RandomNumber".

Is there some way that I can stop the code as it is being run when creating the new document so I can step through the code?

Byron
Reply With Quote