Hello. I've been having an issue with Excel 2003 and its limit of 255(?) characters when populating a textbox with a macro. Basically, what I want to do is have Excel read a few cells and write a customized message into a textbox, which can then just be copied into an actual e-mail. It takes a few cells, and customizes the e-mail based on the name and some other information.
Here's what I had:
This code works flawlessly for my needs in Excel 2010 (at home), but in Excel 2003 (at work) it will not populate the textbox with more than 255 characters. At 254 it runs fine, but then as soon as you put that extra character in it still runs, but nothing shows up in the box.![]()
Please Login or Register to view this content.
I've looked around and I cannot get anything working.
This link shows the problem: http://support.microsoft.com/kb/105416
I tried both Example 1 and 2 and they both stop at "
With DialogSheets(1).TextBoxes(1)" with error “Run-time error ‘9’: Subscript out of range”
I'm not really sure what I'm doing wrong, or maybe I'm completely missing something that I should be putting in with those examples. I'm kind of new to VBA.
Any help would be much appreciated.
Thanks!
Bookmarks