PC Review


Reply
Thread Tools Rate Thread

How do I assign a value cell in a column that has a dynamic row va

 
 
=?Utf-8?B?YW50b25pbw==?=
Guest
Posts: n/a
 
      24th Apr 2007
Worksheets("Address").Range("Y&rwcount").Value = TextBox22.Value


where rwcount (row number) varies depending on the user input and Y is a
constant column
 
Reply With Quote
 
 
 
 
merjet
Guest
Posts: n/a
 
      24th Apr 2007
> Worksheets("Address").Range("Y&rwcount").Value = TextBox22.Value

Try this instead:
Worksheets("Address").Range("Y" & rwcount).Value = TextBox22.Value

Also, if you want the result to be a number (rather than text), use
CLng(TextBox22.Value), CDbl(TextBox22.Value), etc.

Hth,
Merjet


 
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
How to locate a cell with dynamic column value Terence C Microsoft Excel Programming 2 5th Nov 2009 04:36 AM
assign value to a cell on next column cesgonzalez@aquanima.com Microsoft Excel Programming 2 30th May 2006 05:27 PM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Microsoft Excel Discussion 0 1st Mar 2006 01:05 AM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Microsoft Excel Programming 0 1st Mar 2006 01:05 AM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Microsoft Excel Charting 0 1st Mar 2006 01:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:44 AM.