Microsoft
Software
Hardware
Network
Question : Unable to change case in the last column of a table through VBA
While helping someone else, I stumbled across some strange behavior. I was wondering if anyone has come across this before and has an explanation.
The macro in the attached document just simply goes through each cell in a specific column of a table and changes the case. When I set the column index to be 1, 2, or 3, the sentences change their case, as expected. When I set the column index to 4, the sentences do not change case.
I've experimented with this, and it seems that the problem happens only with the last column, no matter how small or large I make the table. So, is this a bug? I did this in Word 2003, but someone else reported the same thing in Word 2007.
Answer : Unable to change case in the last column of a table through VBA
The bug seems to be in correctly creating the Sentences collection in the last column. It only finds the cell formatting characters (ASCII 13 and ASCII 7), skipping over the text.
Random Solutions
HTTP Error 403.1 publishing WCF Service
Reason for MyProj.csproj.FileListAbso<wbr />lute.txt
Upgrading Windows Business Vista to Windows 7 on a Sony Vaio UX series micro computer due to low HDD space
Code Pause - sometimes
Vista Home Basic & Vista Business - IE8 not supported
SQL Insert INTO script syntax error
How to copy rows from a table and put them in same table and joined to two other tables ?
Cisco ASA 5510 ASDM - Allowing PING AND TRACECERT through
find out an (x,y) location of a point on a circle's edge C#
Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction