Results 1 to 4 of 4

Retrieving specifc cell value for loop

Threaded View

  1. #1
    Registered User
    Join Date
    07-01-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    50

    Retrieving specifc cell value for loop

    Hello guys,

    How can i retrieve specific cell value and loop through.
    Ex. Row A1 has got value “3” (this value will be various)
    So I would like to put A1 value into the loop. Hope someone will manage to assist me.

    Thanks
    Set tst = Activesheet.Cells(1,”A”).getValue???
    For I = 1 to tst -1
    Msgbox(i)  ‘this should pop up like 3,2,1
    Next I
    Last edited by dpatel; 03-10-2011 at 08:03 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1