+ Reply to Thread
Results 1 to 4 of 4

Inserting predefined cells using button.

  1. #1
    Registered User
    Join Date
    10-23-2017
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    5

    Inserting predefined cells using button.

    Hi Guys,

    I am attempting to create a costing tool using excel however i am not sure how to add new records using buttons. The first image shows the table which needs to be duplicated when the button is pressed along with the formulate counting as a new entry. Perhaps it can have a delete button also to delete a records. I assumed this would be pasting a pre-defined cell range though i am unsure how to. The second image is the second sheet which shows the breakdown of the costs per year, which feeds into the first sheet. I need a separate entry to be created here too along with the first page.

    Thanks in advance.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Inserting predefined cells using button.

    Sorry I need to get some sleep so I cannot help you too much. Maybe tomorrow.

    I have created a new Sheet called Controls.

    I have hidden your template

    Pressing the Button on controls will create a copy of the template.

    If you have not completed this by tomorrow

    I will add two buttons to your Template.

    1. Update to create the formulas
    2. To Delete the Sheet.

    The macro so far consists of:-

    Please Login or Register  to view this content.
    Attached Files Attached Files
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    10-23-2017
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    5

    Re: Inserting predefined cells using button.

    Hello, Many thanks for your reply.

    My intention was to have a new instance of the both tables on the two different sheets created underneath the current table when the button is pressed as opposed to a new sheet. I'm not sure if that is possible but for example:

    ------------------------------------
    Table 1

    [button]
    -----------------------------------
    * button is pressed
    -----------------------------------
    Table 1

    Table 2 (same as table 1 and a copy made on sheet 2 of the corresponding table)

    [button]
    ------------------------------------------

    I hope that somewhat makes sense, apologies for the confusion.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Inserting predefined cells using button.

    Your Proposed solution is possible but soon becomes unworkable.

    With separate sheets you can have tabs of differrent colours for each Employee and sort by that.
    You can also sort by the sheet title so by Project Name.

    Printing is easier too.

    I will complete my solution for you, my way. Today.

    If you still want it your way I will create that tomorrow if no-one else has done it by then

+ 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] Deleting cells predefined styles
    By christianlehir in forum Excel General
    Replies: 6
    Last Post: 02-08-2016, 04:27 PM
  2. Inserting Row Macro using Command Button (ActiveX) relative to Button
    By mebailey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2016, 09:17 PM
  3. [SOLVED] UDF for concatenate predefined number of cells
    By jessko in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-12-2016, 02:08 PM
  4. [SOLVED] Save and Print Button without duplicates and security password predefined.
    By BleuDrache in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-08-2014, 12:32 AM
  5. [SOLVED] Inserting words from a (predefined) set, randomly
    By NathanC in forum Excel General
    Replies: 5
    Last Post: 09-07-2012, 04:44 PM
  6. Replies: 1
    Last Post: 05-03-2012, 10:50 AM
  7. Replies: 3
    Last Post: 10-27-2008, 08:32 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