+ Reply to Thread
Results 1 to 2 of 2

is there a way to reference a cell with a known column but a changing row.

Hybrid View

  1. #1
    Registered User
    Join Date
    07-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question is there a way to reference a cell with a known column but a changing row.

    is there a way to reference a cell with a known column but a changing row.

    ie

    For Each i In Range("S47:S50")
    If i = 1 Then
    For Each cell In Sheets("sheet1").Range(D?,F?,H?,G?)
    If IsEmpty(cell.Value) Then 
    MsgBox "Mandatory feild not filled in" 
    Application.Goto cell
    Last edited by Cutter; 07-08-2012 at 08:46 AM. Reason: Added code tags

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: is there a way to reference a cell with a known column but a changing row.

    Welcome to the forum, Castyel. Notice that I've added code tags to your post. The forum rules require them so please keep that in mind for your future posts. The following is the actual rule:

    RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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