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: 1
Default Passing Variables through Custom Dialog Boxes


I have a Custom form Options Popup appear whenever an "Options" Comman
button is pressed on my main page. Now within this Popup there ar
several options that the user will be able to manipulate. Although
can't get the values to pass back from the popup.

On the main page there is a "Calculate" button that does all th
calculations, that leads to a Private Sub that does all the work. S
basically Im asking can I get a custom form options to work with m
spreadsheet

here is some code, I hope it helps

Private Sub cmdOpts_Click()
Load SSheduleOpt 'Load the Form into memory
SSheduleOpt.Show 'Show the form on screen
End Sub

This is where the popup appears although it does appear but it does no
affect my spreadsheet yet.

Private Sub cmdCalcWD_Click()
Dim SSheet As New SSched

' create an instance of your class object
'Set SSheet = New SSched

'Functions to actually work the Spreadsheet
cmdClear_Click 'Clears the workspace
SetDays SSheet 'Sends SShet Variable to the SetDays Su
Routine
End Sub
This one is the Calculate button, don't mind the custom class, but
just want to know how to tie my options menu into "SetDays" Sub. M
brain is kinda scattered (Long Day of coding) so if it doesn't mak
sense let me know I'll Edit it.

Thanks in advance

--
Xiaze
-----------------------------------------------------------------------
Xiazer's Profile: http://www.excelforum.com/member.php...fo&userid=3158
View this thread: http://www.excelforum.com/showthread.php?threadid=54217

 
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
Custom Dialog Boxes iambalrog[_3_] Excel Programming 1 December 16th 05 10:04 AM
editing custom dialog boxes Shadowrift Excel Worksheet Functions 5 August 19th 05 07:48 PM
Passing variables from one sub to another Yasha Avshalumov Excel Programming 4 August 19th 05 04:52 PM
Passing Variables Paula[_3_] Excel Programming 1 August 23rd 04 06:55 PM
Passing Variables Tom Ogilvy Excel Programming 0 July 23rd 04 04:19 PM


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