View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ABM ABM is offline
external usenet poster
 
Posts: 2
Default Access Memo field to Excel Textbox

I am trying to write an Access memo field into an Excel TextBox from the
drawing toolbar. For some reason if the memo field is over 255 characters
nothing will appear. I know a textbox will hold more than 255 characters. I
am trying to use 1 Excel template file to create spreadsheets that contain
data and 1 of 5 different comments. I thought I could just write the message
in a textbox by using this

oWorksheet.Shapes("TextBox").OLEFormat.Object.Text = rcd_Letters!LetterComment

Works as long as the comment is <= 255. Any ideas on how to write a
paragraph of variable text to Excel would be appreciated.