Hey there, I tried googling around and couldn't find a good answer for what I need.
I am making a small information lookup tool in excel where I select a company name and it displays the information.
One of the cells is for comments and I want the comment cell to retain formatting when it gets put into the lookup sheet.
Some words are bold, colored, or both and I want to keep that information. I am fine working in vba but most of my vba knowledge stems from working in Access so I am not sure how to accomplish this.
I was going to just create a function that uses vlookup to locate the cell location and then copy the contents with formatting but the problem is I am not sure how to do that.
I am open to better methods or ideas that accomplish the same goal!
I haven't decided on how big I want the cell/box for this function to go into is yet either as the amount of text varies. I assume that if I just copy the text with formatting though it will follow standard excel pasting rules and wont resize the cell so I can just designate a large box for comments and have it center.
I am making a small information lookup tool in excel where I select a company name and it displays the information.
One of the cells is for comments and I want the comment cell to retain formatting when it gets put into the lookup sheet.
Some words are bold, colored, or both and I want to keep that information. I am fine working in vba but most of my vba knowledge stems from working in Access so I am not sure how to accomplish this.
I was going to just create a function that uses vlookup to locate the cell location and then copy the contents with formatting but the problem is I am not sure how to do that.
I am open to better methods or ideas that accomplish the same goal!
I haven't decided on how big I want the cell/box for this function to go into is yet either as the amount of text varies. I assume that if I just copy the text with formatting though it will follow standard excel pasting rules and wont resize the cell so I can just designate a large box for comments and have it center.