Closed Thread
Results 1 to 2 of 2

Auto Insert Row but Column Q Formula Not Working

  1. #1
    Forum Contributor
    Join Date
    04-18-2014
    Location
    Pune, India
    MS-Off Ver
    Excel 2021
    Posts
    119

    Auto Insert Row but Column Q Formula Not Working

    Dear Sir,

    I have code for auto insert row, when i m getting to new row column Q formula not working please help me.

    also request you to please remove the auto generate serial number in column column A, only i want to insert auto with column Q formula to work.

    Please find enclosed a worksheet for your ref.

    Please see the below auto insert code;
    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim O As Range
    Set O = Range("O:O")
    If Intersect(Target, O) Is Nothing Then Exit Sub
    Application.EnableEvents = False
    roow = Target.Row
    Cells(roow + 1, 1).Value = Cells(roow, 1).Value + 1
    Cells(roow + 1, 2).Select
    Rows(Target.Row + 2).Insert
    Application.EnableEvents = True
    End Sub
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto Insert Row but Column Q Formula Not Working

    Pls stop what are you doing and read the forum rules. It will take a few minutes!


    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Complex VBA problem auto insert date and time, auto insert comment, etc.
    By rojashan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2013, 09:40 PM
  2. Auto insert in a column
    By Camarlengo in forum Excel General
    Replies: 2
    Last Post: 08-20-2011, 04:11 PM
  3. Auto insert value in a column
    By hunsnowboarder in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2008, 06:22 AM
  4. AUTO INSERT A COLUMN'S FORMULA IN MANUALLY INSERTED ROWS
    By JLah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-20-2006, 11:15 AM
  5. Printing after using column auto fit - not working
    By Caroline Lackey in forum Excel General
    Replies: 2
    Last Post: 06-09-2005, 12:05 PM

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