Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / February 2007

Tip: Looking for answers? Try searching our database.

Access Memo field to Excel Textbox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ABM - 13 Feb 2007 18:13 GMT
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.
Tom Ogilvy - 13 Feb 2007 18:38 GMT
http://support.microsoft.com/default.aspx?scid=kb;en-us;q213802
XL2000: How to Copy Text to Text Boxes Using the Characters Method

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q213841
XL: Passed Strings Longer Than 255 Characters Are Truncated
(xl 2000, 2002)

do it 250 at a time using the characters method

Signature

Regards,
Tom Ogilvy

>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
[quoted text clipped - 11 lines]
> Works as long as the comment is <= 255.  Any ideas on how to write a
> paragraph of variable text to Excel would be appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.