+ Reply to Thread
Results 1 to 2 of 2

365 Script to copy and add rows then clear contents on a range of cells

  1. #1
    Registered User
    Join Date
    10-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    365 Script to copy and add rows then clear contents on a range of cells

    Imagine an Excel 365 list of projects with project names and categorisations in columns 1 to 5
    Columns 6 to 20 have financial information.
    columns 21 to 30 have fields for project managers to populate.

    Now I would like to create a button so that:

    Where ever the active cell is it would copy that row, Insert copied cells, then delete or clear contents on the financial information.

    I could easily do this in VBA by creating a variable to record what ever row the active cell is on and then build my VBA script around the row of the current active cell.
    I can not for the life of me figure out in 365 script.

    Please help.

  2. #2
    Registered User
    Join Date
    12-30-2021
    Location
    Toronto
    MS-Off Ver
    365
    Posts
    51

    Re: 365 Script to copy and add rows then clear contents on a range of cells

    This should be easy. However, your description is confusing. You copy the current row, but where do you want to insert it?

+ 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. [SOLVED] I have a range of cells to clear the contents using a macro
    By Potholes in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-19-2019, 03:52 AM
  2. Clear Contents of a range of cells
    By JESSIER4025 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-21-2017, 03:59 PM
  3. [SOLVED] VBA if any value in a range changes, clear contents of other cells.
    By devi1337 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-29-2017, 02:07 PM
  4. [SOLVED] Clear the contents of Unprotected cells - EXCEPT a certain range
    By ronkeakano in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-13-2015, 01:40 PM
  5. Replies: 18
    Last Post: 02-10-2013, 05:32 PM
  6. clear contents of cells after rows that gets autofilled based on col rowcount
    By Luer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-20-2010, 12:30 PM
  7. Clear contents of cells in a range, LEN=0
    By jenny_journalist in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-29-2009, 11:37 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