+ Reply to Thread
Results 1 to 4 of 4

How to script go through the whole Z column

  1. #1
    Registered User
    Join Date
    06-11-2014
    Posts
    5

    How to script go through the whole Z column

    I have this script that does what I need it to but only for one instance.

    How do I make it go through the whole entire Z column?

    Sub InsertRow()
    Cells.Find(What:="colorSeriesMaster", After:=Range("Z1")).Activate
    ActiveCell.EntireRow.Insert
    End Sub

    Thanks
    Last edited by lipps199; 06-11-2014 at 04:20 PM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: How to script go through the whole Z column

    Try this

    Please Login or Register  to view this content.
    Martin

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: How to script go through the whole Z column

    Another method.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  4. #4
    Registered User
    Join Date
    06-11-2014
    Posts
    5

    Re: How to script go through the whole Z column

    Thanks a ton. That worked nicely.

+ 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. Replies: 2
    Last Post: 03-03-2014, 10:56 AM
  2. script for sort z to A in a column
    By saranyabi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2013, 11:40 AM
  3. Replies: 8
    Last Post: 05-10-2012, 09:19 AM
  4. Script to check for duplicates in one column then alter adjacent column values
    By SebN in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-29-2010, 12:23 PM
  5. Delete Column Script
    By Chris Skittz in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-02-2008, 08:10 AM

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