If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > attatchment

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-23-03, 11:23
Priyam87 Priyam87 is offline
Registered User
 
Join Date: Dec 2003
Posts: 6
attatchment

ive attathed the file. the the probs are with the bits under the 'targets met?' section
Attached Files
File Type: zip targets.zip (11.5 KB, 51 views)
Reply With Quote
  #2 (permalink)  
Old 12-23-03, 18:21
RickKnight RickKnight is offline
Registered User
 
Join Date: Sep 2003
Location: Cincinnati, Oh USA
Posts: 203
Re: attachment

Can you be more spefic? I've downloaded your XL file and need for info (do you want the option buttons to respond as true/false or ?)
Quote:
Originally posted by Priyam87
ive attathed the file. the the probs are with the bits under the 'targets met?' section
__________________
Rick Knight
KnightShift Office Solutions and Horse Breaking
VB, VBA, FileMaker, Access Solutions, Web Solutions

Last edited by RickKnight; 12-23-03 at 18:55.
Reply With Quote
  #3 (permalink)  
Old 12-24-03, 10:04
Priyam87 Priyam87 is offline
Registered User
 
Join Date: Dec 2003
Posts: 6
hi,
i need it 2 reply as yes or no. i think i need an IF formula to go with the 1 and 2 as the original prob is sorted
Reply With Quote
  #4 (permalink)  
Old 12-24-03, 18:52
RickKnight RickKnight is offline
Registered User
 
Join Date: Sep 2003
Location: Cincinnati, Oh USA
Posts: 203
See the attached sample. Note that I've placed VBA Yes/No option buttons into a Group Box to isolate them and prevent them from reacting with any other option buttons on the sheet. Then in VBA code in sheet 1 I've used this code:

Private Sub optNo1_Click()
Dim n
n = "No"
If optNo1.Value = True Then
Sheet1.Cells(4, 5) = n
End If
End Sub

Private Sub optYes1_Click()
Dim y
y = "Yes"
If optYes1.Value = True Then
Sheet1.Cells(4, 5) = y
End If

End Sub

Replicate this for your second set of option buttons and your there


Merry Christmas
Quote:
Originally posted by Priyam87
hi,
i need it 2 reply as yes or no. i think i need an IF formula to go with the 1 and 2 as the original prob is sorted
Attached Files
File Type: zip optionbutton.zip (9.8 KB, 31 views)
__________________
Rick Knight
KnightShift Office Solutions and Horse Breaking
VB, VBA, FileMaker, Access Solutions, Web Solutions

Last edited by RickKnight; 12-25-03 at 09:23.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On