Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default How to set the value of a cell using its row and column numbers?

If I have the row and column number s of a cell (calculated in one part of
the worksheet) how can I set the value of this cell to the value I want.
This is usally done in Access by setvalue for a control. so you send data to
the place you want. Is this feasible in Excel and how?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default How to set the value of a cell using its row and column numbers?

Marc,

If you have a row number and column number, you can use something
like

Cells(row_num,col_num).Value = 123


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Marc" wrote in message
...
If I have the row and column number s of a cell (calculated in
one part of
the worksheet) how can I set the value of this cell to the
value I want.
This is usally done in Access by setvalue for a control. so you
send data to
the place you want. Is this feasible in Excel and how?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default How to set the value of a cell using its row and column number

Thanks Chip,

this is exactly what I wanted. Would like just to confirm that no Excel
Function could do this action.

Regards,
Marc

"Chip Pearson" wrote:

Marc,

If you have a row number and column number, you can use something
like

Cells(row_num,col_num).Value = 123


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Marc" wrote in message
...
If I have the row and column number s of a cell (calculated in
one part of
the worksheet) how can I set the value of this cell to the
value I want.
This is usally done in Access by setvalue for a control. so you
send data to
the place you want. Is this feasible in Excel and how?




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
delete numbers in each cell in same column Anna Huber Excel Worksheet Functions 7 June 11th 09 10:33 PM
Find cell reference in an column of numbers? Geoff C Excel Worksheet Functions 3 October 18th 06 07:13 PM
How can I remove 4 of 9 numbers from a cell for the whole column? RISXRAY Excel Discussion (Misc queries) 5 September 14th 06 05:33 PM
HOW DO I DELETE NUMBERS IN A COLUMN out of each cell Completely Confused New Users to Excel 2 September 13th 06 09:23 PM
VBA Cell row-column numbers to variable Joe[_19_] Excel Programming 1 July 29th 03 07:42 PM


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