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: 10
Default Problem in User Forms

I am using an array to pass variables to a User Form as follows (with Array
indices hard coded at the moment).

Array data as follows;
ChartSourceSheets(1, 1) = "SynchroELEVATIONSYNCHROTELLBACK"
' Sheet
ChartSourceSheets(1, 2) = "F"
' Data Column
ChartSourceSheets(1, 3) = "B"
' Timestamp Column
ChartSourceSheets(1, 4) = "CheckBox1"
' Check Box on Filter Dialog

If ChartSourceSheets(1, 1) < Empty Then
filtertimedialog.CheckBox1.Visible = True
Plot_Series_1 = Sheets(ChartSourceSheets(1,
1)).Range(ChartSourceSheets(1, 2) & "1")
If Plot_Series_1 = "Y" Or Plot_Series_1 = "y" Then
CheckBox1.Value = True
Else: CheckBox1.Value = False
End If
Min_Default_Series_1 = Worksheets(ChartSourceSheets(1,
1)).Range(ChartSourceSheets(1, 2) & "2")
Max_Default_Series_1 = Worksheets(ChartSourceSheets(1,
1)).Range(ChartSourceSheets(1, 2) & "3")
Min_Setting_Series_1 = Worksheets(ChartSourceSheets(1,
1)).Range(ChartSourceSheets(1, 2) & "4")
Max_Setting_Series_1 = Worksheets(ChartSourceSheets(1,
1)).Range(ChartSourceSheets(1, 2) & "5")
Unit_Series_1 = Worksheets(ChartSourceSheets(1,
1)).Range(ChartSourceSheets(1, 2) & "6")
filtertimedialog.CheckBox1.Caption = Worksheets(ChartSourceSheets(1,
1)).Range(ChartSourceSheets(1, 2) & "7") & " (" & Unit_Series_1 & ")"
If Worksheets(ChartSourceSheets(1, 1)).Visible = True Then
filtertimedialog.CheckBox1.Enabled = True
Else: filtertimedialog.CheckBox1.Enabled = False
End If
Else: filtertimedialog.CheckBox1.Visible = False
End If


I can't work out how to pass the "Checkbox1" as a variable correctly.

Would appreciate any help on this.

May thanks

Alec
 
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
User Forms Joanne New Users to Excel 18 July 5th 07 12:42 AM
user forms Obi-Wan Kenobi Excel Discussion (Misc queries) 0 March 21st 06 08:28 PM
User Forms ajocius[_41_] Excel Programming 2 November 20th 05 10:10 PM
User Forms CindyK Excel Programming 6 November 5th 04 02:06 PM
User Forms Nev[_2_] Excel Programming 4 October 4th 03 12:35 AM


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