#1   Report Post  
Posted to microsoft.public.excel.misc
Trintrin
 
Posts: n/a
Default Quick English to VBA


Please help me translate this code
to VBA!

if textbox1 = nothing (as in no information) Then do not write anything
or erase anything

if textbox1 = anything THEN write anything in given cell
ie. -ws.Cells(iRow, 1).Value = Me.textbox1.Value-


--
Trintrin
------------------------------------------------------------------------
Trintrin's Profile: http://www.excelforum.com/member.php...o&userid=32681
View this thread: http://www.excelforum.com/showthread...hreadid=526824

  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Quick English to VBA

Try something like

If Me.TextBox1.Text < "" Then
ws.Cells(iRow,1).Value = Me.TextBox1.Text
End If


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Trintrin"
wrote in
message
...

Please help me translate this code
to VBA!

if textbox1 = nothing (as in no information) Then do not write
anything
or erase anything

if textbox1 = anything THEN write anything in given cell
ie. -ws.Cells(iRow, 1).Value = Me.textbox1.Value-


--
Trintrin
------------------------------------------------------------------------
Trintrin's Profile:
http://www.excelforum.com/member.php...o&userid=32681
View this thread:
http://www.excelforum.com/showthread...hreadid=526824



  #3   Report Post  
Posted to microsoft.public.excel.misc
Trintrin
 
Posts: n/a
Default Quick English to VBA


oh ok, now I get it.

Sorry i had to ask you twice. Thanks a lot!!!!


--
Trintrin
------------------------------------------------------------------------
Trintrin's Profile: http://www.excelforum.com/member.php...o&userid=32681
View this thread: http://www.excelforum.com/showthread...hreadid=526824

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
quick charting question for similar charts on multiple sheets Boon8888 Charts and Charting in Excel 2 January 27th 06 07:33 PM
How to translate excel function names from english to local langua Carsten T N Excel Worksheet Functions 4 January 15th 06 11:06 PM
Conversion of a Number into English Text Nasir Ali Excel Worksheet Functions 1 July 28th 05 08:50 AM
Using Excel converts number to english text Lionel Lim (Malaysia) Excel Worksheet Functions 1 April 22nd 05 10:16 PM
quick books and excel 2002 bookeeper New Users to Excel 2 February 7th 05 06:09 PM


All times are GMT +1. The time now is 08:56 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"