+ Reply to Thread
Results 1 to 9 of 9

i need a blank coloumn next

  1. #1
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    i need a blank coloumn next

    if i am at c15 then when i run a macro i need to insert a blank coloumn in a16:iv16
    need a macro

    if i am at F25 then when i run a macro i need to insert a blank coloumn in A26: IV26

    means just insert a blank coloumn at below

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: i need a blank coloumn next

    It is not seems to be a column when you are referring to a range A26: IV26. Please confirm whether Column Needs to be inserted or cells? If so confirm how to move the current cells (Right or Down)?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

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

    Re: i need a blank coloumn next

    hi anilg0001. i'm assuming it's rows you are referring to? is your Developer tab on? click on the windows icon -> Excel options -> Show Developer tab in the Ribbon. you can simply record this process.

    1. click on C15.
    2. Start recording by going to Developer tab -> Record Macro
    3. Name it & click ok
    4. in the Developer tab, ensure "Use Relative References is clicked (turns orange when clicked).
    5. click on row 16 & right-click -> Insert Row
    6. Stop macro by going to Developer tab -> Stop Recording

    if you need the codes, it's simply:
    Please Login or Register  to view this content.

    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

  4. #4
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    Re: i need a blank coloumn next

    nothing more
    if my ActiveCell.Row = 133
    i need a blank coloumn below the active cell (means a blank row (A:IV) at 134 row

  5. #5
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    Re: i need a blank coloumn next

    u got it
    thank u mr.benishiryo

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: i need a blank coloumn next

    Quote Originally Posted by anilg0001 View Post
    i need a blank coloumn below the active cell (means a blank row (A:IV) at 134 row
    Is it clear?

  7. #7
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    Re: i need a blank coloumn next

    the below code shows error how can i correct it
    i need to copy a particular cell and then insert below a row and paste that in B range


    Please Login or Register  to view this content.

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: i need a blank coloumn next

    Error Part
    Please Login or Register  to view this content.
    Replace it with

    Please Login or Register  to view this content.
    Or

    Please Login or Register  to view this content.

  9. #9
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: i need a blank coloumn next

    Hi, anilg0001,

    this is just one value - why Copy&Paste?
    Please Login or Register  to view this content.
    You should revise the thread title as you wanted to insert Columns but insert a row by now.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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