Controlling a cell in a worksheet

  • Thread starter Michael Singmin
  • Start date
M

Michael Singmin

Hello group,

This time, going from VBA to the worksheet.

In the cell F13 is $C$6
Range(Range("F13")) = "Lotus" results in C6 getting the value Lotus

Can this be done in a worksheet ?
Can one put in A1 some code that will do the same ?

Thanks,

Michael Singmin
 
J

Juan Pablo González

No, a function can only return a value, not modify "other" cells, except
itself...
 
J

Juan Pablo González

Mhm... maybe, but the VBA code puts "Lotus" in C6..., hence my comment.
(Unless the OP puts ="Lotus" in C6 <g> )
 
K

keepITcool

oops :) just saw the Range(Range() construct...
and was misled by the OP's phrase 'results in C6 getting'

to OP:
it's like Juan says... 'it can pull but it cant push'




keepITcool

< email : keepitcool chello nl (with @ and .) >
< homepage: http://members.chello.nl/keepitcool >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top