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
Error 1004 Unable to get the Show property of the Dialog class when using the command xlApp.Dialogs(189).Show(rs<wbr />!Email, "Subject")
Server rebooting with Error code Error code 000000d1, parameter1 00000004, parameter2 d0000009, parameter3 00000000, parameter4 f737bb85.
Startup the server remotely,
Handling Images in Silverlight
SQL Server Error 'The select permission...' when trying to generate scripts
Memory Leak using CObArray
Problem with Input Mask
Outlook Mobile Access
Has Microsoft recently restricted execution of SCHTASKS?
Form has been closed : Infopath Sharepoint