Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Trying to edit data in other cells from a formula

Hi everyone,
I've run into a problem with the fact that an UDF can't edit anything
apart from the cell it was called from. I'm developing a wages spreadsheet,
something like this:
NAME | RATE |STD HRS |ACTUAL HRS|PAY | where PAY =
CalculatePay()

I have a function called CalculatePay, and if the actual hours are less
than they should be it asks for a reason and updates another sheet in the
workbook. This is where I run into problems, as I can't modify the cells.
Can anyone suggest another approach?
TIA
S. Armondi

--
To contact me by email, remove _NOSPAM_ from the address.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Trying to edit data in other cells from a formula

Hi
not possible with UDFs. The only thing that could do this would be
event procedures (if you require and automatic update)

--
Regards
Frank Kabel
Frankfurt, Germany


Samuele Armondi wrote:
Hi everyone,
I've run into a problem with the fact that an UDF can't edit
anything apart from the cell it was called from. I'm developing a
wages spreadsheet, something like this:
NAME | RATE |STD HRS |ACTUAL HRS|PAY | where PAY =
CalculatePay()

I have a function called CalculatePay, and if the actual hours are
less than they should be it asks for a reason and updates another
sheet in the workbook. This is where I run into problems, as I can't
modify the cells. Can anyone suggest another approach?
TIA
S. Armondi


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
Need VB formula to edit and save data dave Excel Worksheet Functions 2 December 31st 11 02:12 PM
Edit many cells at once to add a charater to existing data? ABTurner Excel Discussion (Misc queries) 3 March 11th 09 06:58 PM
edit data in multiple cells Ask MS[_2_] Excel Worksheet Functions 5 July 14th 08 05:35 PM
When I edit the cells referenced in my formula, the result does ch Trav Excel Worksheet Functions 1 January 5th 07 03:47 PM
How to use macro to edit data in Excel cells Annamalai Excel Discussion (Misc queries) 11 September 21st 06 07:44 AM


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