PC Review


Reply
Thread Tools Rate Thread

This code does not work

 
 
Patrick C. Simonds
Guest
Posts: n/a
 
      24th Feb 2008
Can anyone tell me why this code will not work. It is suppose to put the
value of TextBox1.Value and TextBox2.Value in one cell with a comma in
between.



ActiveSheet.range("44").Value = TextBox1.Value & ", " & TextBox2.Value

 
Reply With Quote
 
 
 
 
Gary Keramidas
Guest
Posts: n/a
 
      24th Feb 2008
what is ActiveSheet.range("44")?

you need to specify a column foe the cell.

--

Gary


"Patrick C. Simonds" <(E-Mail Removed)> wrote in message
news:%23yZoo%(E-Mail Removed)...
> Can anyone tell me why this code will not work. It is suppose to put the
> value of TextBox1.Value and TextBox2.Value in one cell with a comma in
> between.
>
>
>
> ActiveSheet.range("44").Value = TextBox1.Value & ", " & TextBox2.Value


 
Reply With Quote
 
Patrick C. Simonds
Guest
Posts: n/a
 
      24th Feb 2008
Sorry to waste everyone's time with that one. That 44 should have been A4.
Time to set this aside for the night.


"Gary Keramidas" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> what is ActiveSheet.range("44")?
>
> you need to specify a column foe the cell.
>
> --
>
> Gary
>
>
> "Patrick C. Simonds" <(E-Mail Removed)> wrote in message
> news:%23yZoo%(E-Mail Removed)...
>> Can anyone tell me why this code will not work. It is suppose to put the
>> value of TextBox1.Value and TextBox2.Value in one cell with a comma in
>> between.
>>
>>
>>
>> ActiveSheet.range("44").Value = TextBox1.Value & ", " & TextBox2.Value

>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Verify Canadian Postal Code ~ make the code work jat Microsoft Excel Programming 2 27th Feb 2009 09:12 PM
VBA problem w Layout Reset. Manually stepped code gives good result. Run code doesn't work! Bob Microsoft Powerpoint 3 6th Nov 2008 09:17 PM
When queries fail in VBA code, then work manually, then work in code? AdmiralXizor Microsoft Access Queries 7 20th Jun 2007 12:10 AM
managed wrapper to native code.. code from 2003 does not work in 2005? Fred Heida Microsoft Dot NET 0 8th Mar 2006 04:09 AM
Native Code Compiler - Do you need Frame work to run after the code has been compiled using NGEN.exe vijayanandkannan@gmail.com Microsoft Dot NET Framework 2 15th Jun 2005 11:05 AM


Features
 

Advertising
 

Newsgroups
 


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