Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Michael
 
Posts: n/a
Default Change the input in a sheet by OptBox

Hi again!

I have a sheet whith information, when the user push the macro button on the
sheet this form is showing

Load FrmOldEnviroment
FrmOldEnviroment.TextBoxOldEnviroment.Text = ActiveSheet.Range("e"
&_EnviromentRow).Value
FrmOldEnviroment.Show
If FrmNewEnviroment.OptButton1 = True Then
ActiveSheet.Range("e" & EnviromentRow).Value =
FrmNewEnviroment.OptButton1.Caption
ElseIf FrmNewEnviroment.OptButton2 = True Then
ActiveSheet.Range("e" & EnviromentRow).Value =
FrmNewEnviroment.OptButton2.Caption
ElseIf FrmNewEnviroment.OptButton3 = True Then
ActiveSheet.Range("e" & EnviromentRow).Value =
FrmNewEnviroment.OptButton3.Caption
ElseIf FrmNewEnviroment.OptButton4 = True Then
ActiveSheet.Range("e" & EnviromentRow).Value =
FrmNewEnviroment.OptButton4.Caption
End If

With this the user can change the contents of the cell if he want to, my
problem is to make the change happen at the same time as the user push the
next or the finish button on the form. When the macro runs for the first time
no optButtion is chosen, but when the user has chosen one optButton i want to
"clear" the form if its started again.

--
Nil Satis Nisi Optimum
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 sheet name on linked cell by dropdown box Mikeice Excel Worksheet Functions 12 June 11th 05 08:45 AM
Use userform to get input and compare to a hidden sheet cwwolfdog Excel Discussion (Misc queries) 11 March 24th 05 12:45 AM
Multiple worksheet queries liam Excel Worksheet Functions 3 February 16th 05 06:52 PM
How do I change spread sheet data into address labels? DS New Users to Excel 5 January 22nd 05 11:23 PM
Change Sheet "TAB" colour? Kane New Users to Excel 5 December 30th 04 12:41 PM


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