LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Program a cell to add its contents to another cell

I am not familair enough with VBA to figure out how to do this. What I would
like to do is generate five buttons, one for Mon-Fri, and those buttons will
refrence one cell that a user will type the number of hours into. for
instance if the user wanted to add 6 hours to Monday, they would type in 6,
press the Monday button, and another column of five cells would show the
total, and the cell they originally inputed into would return to 0. If they
then later wanted to add five hours to monday, they type 5 into the cell,
press monday, and now a total of 11 hours shows in the additive cell. I
would like there to be an erase values button. On top of this, if at all
possible, it would be easier if the user could click on the cell that
contains the hours from the pivot table, and the value is automatically
inputed into the destination cell that they would otherwise type the hours
into. For instance on the pivot table they would see a selection of hours
they would like to add to monday, so they would click on the 6 cell, then the
monday button, and six hours would be added to monday. I am unsure if that
is possible in a pivot table, so if not, having them type 6 hours in will
have to work. This seems very complicated to me, any ideas? Thanks so much.
 
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
'IF' Macro to insert cell contents to alternate cell if cell not e Gryndar Excel Worksheet Functions 6 December 20th 08 05:02 PM
Return cell address of a cell based on contents of cell. Danny Excel Worksheet Functions 4 November 15th 08 03:11 AM
Change contents of a cell based on cell contents. Mahnian Excel Programming 3 May 4th 07 10:49 PM
Pass cell contents to external program as commandline option Research freak Excel Discussion (Misc queries) 1 September 16th 05 11:03 PM
Copying cell contents to add to existing contents in another cell Dean Sawas Excel Programming 3 April 2nd 04 09:00 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"