LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Fomat change

I use the following code to input data on to a worksheet with a user form.
Everything used to work fine until I changed the cell format of the range
B7:B23 to "text" format. Now every time I enter data using my user form the
new data entry goes on top of the last entry instead of moving down a row.
Any suggestions?



Dim LastRow As Object

Set LastRow = Worksheets("Blend Sheet").Range("B23").End(xlUp)
If Me.ComboBox1.Value < "" And Not IsNull(Me.ComboBox1) And
Me.TextBox2.Value < "" And Not IsNull(Me.TextBox2) Then
LastRow.Offset(2, 0).Value = ComboBox1.Text
LastRow.Offset(2, 5).Value = TextBox2.Text


 
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
Conditional fomat series Gotroots Excel Discussion (Misc queries) 2 January 2nd 10 11:35 PM
Fomat Cell Harold Excel Discussion (Misc queries) 3 May 14th 08 11:07 PM
I wish to fomat numbers in Excel Rumina Excel Worksheet Functions 4 September 6th 07 02:55 PM
how do I fomat cell for latitude Charlie Excel Discussion (Misc queries) 1 October 2nd 06 12:50 PM
Time Fomat Thornpaw Excel Worksheet Functions 3 February 13th 06 02:21 PM


All times are GMT +1. The time now is 01:14 PM.

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

About Us

"It's about Microsoft Excel"