Computing.Net > Forums > Office Software > vba in excel

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

vba in excel

Reply to Message Icon

Name: mherber2
Date: June 14, 2007 at 20:20:44 Pacific
OS: xp pro
CPU/Ram: unknown
Product: unknown
Comment:

i have two different workbooks, in one workbook i have put in radial buttons, in the other workbook i want in to put something in a specific cell when the radial button in the other workbook is true. they are two different worksheets in to different workbooks. i think you need to use vba but i dont know the string. please help.



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: June 15, 2007 at 02:39:39 Pacific
Reply:

You can't. "Radial" buttons do not exist, therefore you cannot test for them. If you meant radio buttons, then that's a different can of worms.

In the document that you want the value, your Sub should look something like...

Sub Something
Dim book As Excel.Workbook
Set book = GetObject("Path & name of first book")
If i.Worksheets(?).radio1.Value _
ThisWorkbook.Worksheets(?).Range("A1").Formula = Whatever
End Sub


0
Reply to Message Icon

Related Posts

See More


Powerpoint error opening ... Label for jelly...!



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: vba in excel

user form in excel www.computing.net/answers/office/user-form-in-excel/7002.html

colors in excel vba www.computing.net/answers/office/colors-in-excel-vba/6989.html

Using FIND function-VBA in Excel www.computing.net/answers/office/using-find-functionvba-in-excel/8283.html