+ Reply to Thread
Results 1 to 4 of 4

difference between .Row & .Value

  1. #1
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 365 Subscription
    Posts
    353

    difference between .Row & .Value

    Hi all

    I am trying to get the code to work. If you have .Row, it creates the row numbers, But it must create the values, in column A. If .Row is changed to .Value there is a type mismatch error. Is there an explanation somewhere to understand it better.

    Please Login or Register  to view this content.
    Last edited by CobraLAD; 11-19-2012 at 06:34 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: difference between .Row & .Value

    hi CobraLAD. if your data is all filled up in A3:A10 for eg & A10 contains the value "250". then ".End(xlDown).Value" is like pressing the end key & arrow down. it will reach A10 & give you a value of 250. so your variable is "1 to 250". ".Row" will give you the row number after you press end down. so that gives you "10". hence the variable for i is "1 to 10"

    is that what you need?

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 365 Subscription
    Posts
    353

    Re: difference between .Row & .Value

    yes that explains, but how do I fix the code so that it creates the folders according to the values in column A.

  4. #4
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 365 Subscription
    Posts
    353

    Re: difference between .Row & .Value

    I found it

    Please Login or Register  to view this content.

+ Reply to Thread

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