Quantcast
Channel: SharePoint Legacy Versions - Using SharePoint Designer, InfoPath and Other Customizations Forum
Viewing all articles
Browse latest Browse all 2319

SharePoint 2010 Document Exports Hidden Character to Excel 2007 - How do you remove/prevent?

$
0
0

I have a SharePoint document that is from an InfoPath published form that contains a number of rich text boxes. When I export one of the documents to Excel the columns that were rich text boxes on the form often contain a question mark in the first space of the value.

It's undetectable when you view the cells in Excel, but I then run a macro to place the Excel values in text boxes in PowerPoint. That is when you can see the first expected character of the field is sitting on top of a question mark. If you look at the field properties it shows the question mark as the first character.

In the VBA I added a breakpoint and found that the ActiveCell.Value showed the question mark when it is hovered over. So logically I put in code to check if the field = "?", and even though they are both question marks, the code does not find them as being equal. 

I figure that the question mark in the excel is actually a special character and not necessarily the value of an actual question mark.

Sorry for being so wordy...has anyone encountered this and if so how did you correct the issue or at the very least get Excel to recognize the special question mark.

Thanks!


Viewing all articles
Browse latest Browse all 2319

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>