Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Private Sub on the fly

Is it possible to create this using code - not just writing the code below

Private Sub TextBox1_Change()
Cells(6, 18).Value = Application.Sheets("Sheet1").TextBox1.Text
End Sub

.....but to put this code in as code using other code....:)


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Private Sub on the fly

Hi Michael,

See Chip Pearson's page on VBE programming at;

http://www.cpearson.com/excel/vbe.htm


---
Regards,
Norman



"michael v" wrote in message
...
Is it possible to create this using code - not just writing the code below

Private Sub TextBox1_Change()
Cells(6, 18).Value = Application.Sheets("Sheet1").TextBox1.Text
End Sub

....but to put this code in as code using other code....:)




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Private Sub on the fly

Thanx a lot....seems to be just what I needed...


"Norman Jones" wrote in message
...
Hi Michael,

See Chip Pearson's page on VBE programming at;

http://www.cpearson.com/excel/vbe.htm


---
Regards,
Norman



"michael v" wrote in message
...
Is it possible to create this using code - not just writing the code

below

Private Sub TextBox1_Change()
Cells(6, 18).Value = Application.Sheets("Sheet1").TextBox1.Text
End Sub

....but to put this code in as code using other code....:)






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
Private Sub() - Sub() CousinExcel Excel Discussion (Misc queries) 2 January 18th 10 01:39 PM
re : Possible to run private sub macros by writing another private ddiicc Excel Programming 5 August 26th 05 04:49 AM
private sub JT Excel Programming 3 June 3rd 05 10:14 PM
Private Sub Running Other Private Sub Inadvertently Ross Culver Excel Programming 2 February 10th 05 07:17 PM
Private Sub Ronbo Excel Programming 11 January 13th 05 08:25 PM


All times are GMT +1. The time now is 07:51 AM.

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"