Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default To put value from txtbox to cell?


Hello,

please, I need in Excel put value to textbox and while I click Comman
button, it will fill in a cell. Next run should fill in cell one lin
down. (first A1, second A2, third A3......). Please, can you write
source code for it?

Thank you very muc

--
Samic
-----------------------------------------------------------------------
Samick's Profile: http://www.excelforum.com/member.php...fo&userid=1642
View this thread: http://www.excelforum.com/showthread.php?threadid=27795

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default To put value from txtbox to cell?

With Worksheet("Sheet1")
cLastRow = .Cells(Rows.Count,"A").End(xlUp).Row
.Range("A" & cLastRow+1).Value = Me.Textbox1.Text
End With


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Samick" wrote in message
...

Hello,

please, I need in Excel put value to textbox and while I click Command
button, it will fill in a cell. Next run should fill in cell one line
down. (first A1, second A2, third A3......). Please, can you write a
source code for it?

Thank you very much


--
Samick
------------------------------------------------------------------------
Samick's Profile:

http://www.excelforum.com/member.php...o&userid=16427
View this thread: http://www.excelforum.com/showthread...hreadid=277957



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
VBA: Update worksheet when txtBox data changes. Mcasteel Excel Worksheet Functions 2 November 14th 04 11:59 PM
VBA: Update worksheet when txtBox data changes. Mcasteel Excel Worksheet Functions 1 November 13th 04 03:19 PM
VBA: Update worksheet when txtBox data changes. Mcasteel Excel Worksheet Functions 1 November 1st 04 06:18 PM
Validateing a txtbox from form Lou Excel Programming 1 April 28th 04 07:25 PM
txtbox code Sal_sal Excel Programming 1 December 12th 03 11:25 AM


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