Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Option Buttons


I have several Form Option buttons on a Excel 97 worksheet

I can get the desired results using this code

vAr = Worksheets("menu").optSourceInet.Value

Is their away of getting the same result using

set wsMenu = worksheets("Menu")

var = wsMenu.??????????.value


thanks

In Advance


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Option Buttons

Yes, you can do this if you declare your variable wsMenu As
Object rather than As Worksheet.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"mudraker" wrote in
message ...

I have several Form Option buttons on a Excel 97 worksheet

I can get the desired results using this code

vAr = Worksheets("menu").optSourceInet.Value

Is their away of getting the same result using

set wsMenu = worksheets("Menu")

var = wsMenu.??????????.value


thanks

In Advance


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from

http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide

to creating financial statements


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Option Buttons


thanks Chip


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements
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
Option Buttons/Radio Buttons John Calder New Users to Excel 7 May 16th 08 03:51 AM
option buttons neilb514 New Users to Excel 0 December 9th 07 09:28 PM
Option Buttons Bo0ts Excel Discussion (Misc queries) 4 December 6th 07 03:11 AM
option buttons help kb Excel Worksheet Functions 2 June 18th 07 11:06 PM
Option Buttons Mike Rogers Excel Discussion (Misc queries) 2 November 21st 05 07:33 PM


All times are GMT +1. The time now is 09:42 PM.

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"