Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 430
Default Inconsistant formatting of Userform Textbox and Spreadsheet storage format

In an application (in progress) one of my Userform controls (a textbox)
for Comments --
I have property setting as follows:
EnterKeyBehavior = True
Multiline = True
ScrollBar = 2 (Vertical only)
Height = 35
Width = 366
Word Wrap = False

In one of my spreadsheets where this info is stored I have the code:
(where Col P is my Comments Text)

Private Sub Worksheet_Activate()
Columns("P:P").WrapText = True
Columns("P:P").Columns.AutoFit
Columns("P:P").ColumnWidth = 55
Range("A1").CurrentRegion.Rows.AutoFit
End Sub

My Col P looks hideous (see below)
"sadfsadfsdf << each of these lines has the sqbox linefeed character
following
sadfsadf
sadfsdf
sdf
sdkflsakf
a;sdlkjf;alskfd
"

What should I change to bring this more into harmony?
Any pointers appreciated.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
format textbox in userform jeffP Excel Programming 1 January 25th 05 01:10 AM
Format of a TextBox in a userform MD Excel Programming 4 January 13th 05 05:42 PM
Formatting textbox currency on userform gki[_11_] Excel Programming 2 July 27th 04 01:30 PM
Excel VBA - Userform textbox formatting thesteelmaker[_4_] Excel Programming 1 March 3rd 04 08:51 PM
Formatting userform textbox - help required Kennyatwork Excel Programming 3 February 6th 04 04:58 PM


All times are GMT +1. The time now is 01:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"