Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default use a button to open a text box

Im using Excel 2007 and what I want to do is this. I want to create a button
on my worksheet so when the work sheet is active, i can press thiss button
and a text box will open where i enter a number. This number will then be
stored somewhere (untill the button is used again and a different number
entered) and used reference to a formula (sum) on the worksheet. Anybody
wanna tackle this one???
  #2   Report Post  
Posted to microsoft.public.excel.newusers
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default use a button to open a text box

What you are asking for with the Pop-up window will require VBA code. Do you
want to add code to the workbook for just this function?.....if not, you can
still accomplish what I percieve you are trying to do by just modifying your
formula to include a helper cell, or a NamedRange, either of which could
contain the current number to be added to the formula.......this way youi
would always be able to see what the last number was before changing it.

If your formula is =A1+A2, modify it to read

=A1+A2+MyNumber (where MyNumber is a named range)
or
=A1+A2+Z1 (where Z1 is the helper cell)

hth
Vaya con Dios,
Chuck, CABGx3





"Simon Blackburn" wrote:

Im using Excel 2007 and what I want to do is this. I want to create a button
on my worksheet so when the work sheet is active, i can press thiss button
and a text box will open where i enter a number. This number will then be
stored somewhere (untill the button is used again and a different number
entered) and used reference to a formula (sum) on the worksheet. Anybody
wanna tackle this one???

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
open a function result with a button TUNGANA KURMA RAJU Excel Discussion (Misc queries) 0 October 17th 05 05:00 AM
use a button to open a user form? Hru48 Excel Discussion (Misc queries) 1 September 1st 05 07:41 PM
New button does not open the template workbook set up lucilene Excel Discussion (Misc queries) 3 July 20th 05 01:55 AM
Only 1 taskbar button when i open 2 excel documents inenewbl Excel Discussion (Misc queries) 1 July 17th 05 11:36 AM
Add a button to a sheet to open a userform PokerZan Excel Discussion (Misc queries) 1 June 17th 05 11:55 PM


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

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"