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: 40
Default Referencing objects inside of a loop

My next problem is:
I have a series of spin buttons (spnVar1, spnVar2, spnVar3) and would
like to reference/change their properties inside a loop. I know this
will not work, but it is basiclly what I need. Also, the spin buttons
do NOT have linked cells.

for each X = 1 to 3
' initialize the value
spnVar(X).Max = X
' reference the value
sheets("Wksht").range("A" & X) = spnVar(X).Min
next X
 
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
Objects, Cell Referencing and Sorting Dreiding Excel Programming 3 March 5th 09 02:04 AM
arrows dont move objects inside graph (plot) area Naguib Excel Discussion (Misc queries) 0 July 25th 07 07:00 PM
Referencing between two Excel Workbook Objects Stephen Schroeder Excel Worksheet Functions 0 July 16th 07 02:08 AM
Referencing sheets/objects dve11 Excel Programming 1 February 16th 06 12:01 PM
referencing range elements inside the macro Greg Excel Programming 1 February 4th 06 01:05 AM


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