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: 68
Default Inserting TextBox1 Value into Conditional Column/Row4

Sheets("Team Data").Range("X2").Value & "4" = TextBox1.Value

I am trying to write a code(located above) that will insert TextBox1 value
into a cell on Row4. The Column Letter will always be located in cell X2.
For instance, if the value in cell X2 is "W", then I need the code to enter
TextBox1.Value into cell W4. Here is the code I have so far. Right now the
code is coming up color red and saying compile error: expected expression.
I can not figure out what I'm doing wrong. Can anyone tell me what the
correct code would be?

Thank you
Todd Huttenstine


 
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
Inserting text in column dependant on another column Dave[_13_] Excel Worksheet Functions 3 December 8th 09 05:25 PM
Inserting a new column affects conditional formatting tino2009 New Users to Excel 9 June 29th 09 10:18 AM
TextBox1 to Label4 damorrison Excel Discussion (Misc queries) 5 March 12th 06 04:05 PM
Highlighting Textbox1 Value when form initializes. Todd Huttenstine[_3_] Excel Programming 2 November 26th 03 10:35 PM
UserForm1.Textbox1.SetFocus Question Zane Greer Excel Programming 1 September 14th 03 11:59 AM


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