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: 8
Default accessing the value of a slider without selecting it

Hi,
I would like to access the value of a slider form control in the macro
assigned to it. However, I don't want to change the selection or focus
on screen. The following code works:

Sheets("Sheet1").Shapes("Scroll Bar 6").Select
result = Selection.Value

but the following produces an error:
result=Sheets("Sheet1").Shapes("Scroll Bar 6").Value

Any ideas on why this might be?

Thanks,
Bob

 
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
Slider Bar open a adobe file from a command button Charts and Charting in Excel 4 August 5th 08 04:29 AM
Slider for X value MJSlattery Excel Discussion (Misc queries) 0 April 13th 06 09:49 PM
Slider bar pj Excel Discussion (Misc queries) 1 December 15th 05 05:09 PM
Listbox Slider control MikeM Excel Programming 0 October 18th 05 07:16 PM
slider code chris Excel Programming 1 October 24th 03 02:48 PM


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