Enter Text From Excel cells to Word and retain the formatting
I have the fllowing code strMyFormat1 = oWB.Worksheets(strSelectedSheet).Range(strStemLocation).NumberFormat WordApp.Selection.TypeText Format(oWB.Worksheets(strSelectedSheet).Range(strStemLocation), strMyFormat1) & vbCr But it does not retain the format of the Excel Cell e.g. if the Excel Cell is bold I want that to be retained when entering into my word doc I know it works with copy and paste but I dont want to do that
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.