Create new line to allocate long data

Rizana

Board Regular
Joined
Jul 7, 2006
Messages
105
I'm working on a program that enabled the user to insert data via forms in VBE.
The data will then directly send to Excel worksheets as database. Besides, the user can print the data in Excel sheets.

The problem is that, what if the user enter a very long data?(much longer than the cell that I've already allocated for it)

Is there any other way I could directly asked Ms Excel program to lengthen the cell according to the length of the data so that when the user print the sheet, all the data will be appeared?

Any help is appreciated.
Thanks in advanced.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

agihcam

Well-known Member
Joined
Jan 16, 2006
Messages
1,624
question: do you really allow the users to input a very long text? or you want to control it and prompt them the max length of the text?
 

Rizana

Board Regular
Joined
Jul 7, 2006
Messages
105
according to the plan, I actually allowed the user to input a long text.
 

agihcam

Well-known Member
Joined
Jan 16, 2006
Messages
1,624
Is there any other way I could directly asked Ms Excel program to lengthen the cell according to the length of the data so that when the user print the sheet, all the data will be appeared?
please elaborate this.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,128
Messages
5,857,531
Members
431,884
Latest member
Gcmoore63

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top