Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all,
I wrote program which uses data from sheet, than desplays data on the userform and then prints data. User has to point which data should be printed, data is transfered to text boxes on the particular sheet and then printed. The point is that some data can't be put into textboxes on sheet using vb. Ofcourse manually it is not a problem. code that transfers data from userform to sheet looks like this: info = UserForm5.TextBox1.Value ActiveSheet.Shapes.AddTextbox(msoTextOrientationHo rizontal, Left1, top1, Width1, height_box).Select Selection.Characters.Text = info For some reasons in some cases code works just fine and in some it doesen't. At the begining i thought that it is connected with number of characters that can be placed in text box but then, if the number of characters would be to big, there will be no possibility of placing them manually. I'm sure that data is every time in 'info' variable. Any ideas. Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Userform - need to access data from a particular sheet | Excel Programming | |||
Update Data On Sheet From UserForm TextBoxes | Excel Programming | |||
Userform Stepping Through Sheet Data | Excel Programming | |||
Need assistance to populate sheet from Userform data | Excel Programming | |||
Userform data to Excel sheet. | Excel Programming |