Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Change Value outside of Cell

Hello. I'd like to know if there is a way to change the value of a cell
without having a function in that cell. I don't know how to explain exactly
what I want to do but if any of you know of a way that I can write a function
that will enter values into a different cell I would be most grateful.
Thanks for your time.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Change Value outside of Cell

If you are asking can you write a function that is called from one cell and
updates the value in another cell, that can not be done. User defined
functions called from a spreadsheet can only modify the cell that they are in.

On the other hand if a sub or function is called from code then it has the
ability to update whatever it wants.
--
HTH...

Jim Thomlinson


"Abode" wrote:

Hello. I'd like to know if there is a way to change the value of a cell
without having a function in that cell. I don't know how to explain exactly
what I want to do but if any of you know of a way that I can write a function
that will enter values into a different cell I would be most grateful.
Thanks for your time.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Change Value outside of Cell

How might I be able to do that then. Hopefully it isn't too terrably
compicated.

"Jim Thomlinson" wrote:

If you are asking can you write a function that is called from one cell and
updates the value in another cell, that can not be done. User defined
functions called from a spreadsheet can only modify the cell that they are in.

On the other hand if a sub or function is called from code then it has the
ability to update whatever it wants.
--
HTH...

Jim Thomlinson


"Abode" wrote:

Hello. I'd like to know if there is a way to change the value of a cell
without having a function in that cell. I don't know how to explain exactly
what I want to do but if any of you know of a way that I can write a function
that will enter values into a different cell I would be most grateful.
Thanks for your time.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Change Value outside of Cell

You can just record a macro. Tools - macro - Record new macro... Add a vlue
to a cell and stop recording. Delete the value that you just entered when you
recorded the macro. Select tools - macro - macros and run the macro taht
you just recorded... That should get you a start...
--
HTH...

Jim Thomlinson


"Abode" wrote:

How might I be able to do that then. Hopefully it isn't too terrably
compicated.

"Jim Thomlinson" wrote:

If you are asking can you write a function that is called from one cell and
updates the value in another cell, that can not be done. User defined
functions called from a spreadsheet can only modify the cell that they are in.

On the other hand if a sub or function is called from code then it has the
ability to update whatever it wants.
--
HTH...

Jim Thomlinson


"Abode" wrote:

Hello. I'd like to know if there is a way to change the value of a cell
without having a function in that cell. I don't know how to explain exactly
what I want to do but if any of you know of a way that I can write a function
that will enter values into a different cell I would be most grateful.
Thanks for your time.

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
change cell contents when pull down menu choices change jb21 Excel Worksheet Functions 3 November 21st 08 10:34 PM
making copied cells change with change in original cell Jennifer Mcdermeit Excel Worksheet Functions 2 July 20th 06 04:58 PM
Cell value change to trigger macro (worksheet change event?) Neil Goldwasser Excel Programming 4 January 10th 06 01:55 PM
Change workbook sheet reference using cell A1 to change a vairable Reed Excel Worksheet Functions 4 January 20th 05 07:15 PM
Change Cell from Validated List Not Firing Worksheet Change Event [email protected] Excel Programming 3 October 4th 04 03:00 AM


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

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"