Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 02-20-2012, 01:27 AM
tinfanide tinfanide is offline Strange VBA ListTemplate ListLevel Problem Windows 7 64bit Strange VBA ListTemplate ListLevel Problem Office 2010 32bit
Expert
Strange VBA ListTemplate ListLevel Problem
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default

Yes, the document docx is empty. It's normal. I just use it for the xlsm file.
You can open a new document from Excel (xlsm) you like.
So please take a look at the commented codes in xlsm (Module Starters)


Code:
''' List Problem
''' Without this bit, the list starts from 1 To 5
''' With this bit, the list stops at 4 and restarts from 1
.Cell(arr(a), 2).Select
oWord.Keyboard (1033)
With oWord.ActiveWindow.Selection
.Range.Font.Underline = wdUnderlineDotted
.TypeText Text:=FindAndReturn("Reading", 5, 1, "Ques " & a, "Prefix") & " "
i = 0
Do
.TypeText Text:=ChrW(160)
i = i + 1
Loop Until i = 38
End With
'''
'''
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange VBA ListTemplate ListLevel Problem Strange problem with new font bkersh PowerPoint 1 07-06-2011 09:03 AM
Strange Word Document Problem. ookami Word 5 05-10-2011 02:26 AM
Strange VBA ListTemplate ListLevel Problem Strange Outlook startup problem Cec Britton Outlook 1 09-12-2010 10:14 AM
Strange VBA ListTemplate ListLevel Problem Strange wornways Forum Support 2 08-11-2010 06:34 PM
Strange VBA ListTemplate ListLevel Problem Strange problem with Word Revol Word 3 10-21-2009 10:32 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:17 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