+ Reply to Thread
Results 1 to 1 of 1

In range find this and do that

  1. #1
    Registered User
    Join Date
    04-17-2014
    Location
    America
    MS-Off Ver
    Excel 2010
    Posts
    4

    In range find this and do that

    I am new to VBA, have did a lot of research....learning, need help

    In a nut shell what I am looking to do is...

    Have a range of cell with column headings as weeks In the range of cells I want to look for a number, say 1 if it finds a 1 then look at a column in said row for a variable, 2 or 4 whatever Now I want to put a triangle (can be copy and paste a cell) in the cell that has the "1" in it then skip over the number of week variable and add another triangle and keep doing this until the end of the range. Then skip down to the next row and do the same, until the end of the range.

    Thanks

    I got it to add triangles where the "1"s are but I get an error

    I got this so far...
    Please Login or Register  to view this content.
    I don't want a counter for the second do, I want it to repeat til the end of my range, then drop down a line.
    And I get an error when running this. "Object variable or With block variable not set"
    Last edited by sdez; 04-17-2014 at 01:22 PM. Reason: Added Code tags

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Code to find named range doesn't find the correct field range?
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-12-2012, 05:54 PM
  2. [SOLVED] Using range.find to find two specific values in two columns
    By mhrub in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2012, 01:02 PM
  3. Range.Find to find column and place value in next available cell in one line
    By davegugg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2011, 10:41 AM
  4. Replies: 2
    Last Post: 01-26-2009, 07:59 PM
  5. find, meet condition, sum range, deduce, find next
    By pinstripe in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-27-2007, 09:30 AM

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