+ Reply to Thread
Results 1 to 6 of 6

Macro that creates new sheet and is capable of populating new sheet with formulas

  1. #1
    Registered User
    Join Date
    07-02-2019
    Location
    Parana, Brazil
    MS-Off Ver
    2016
    Posts
    13

    Macro that creates new sheet and is capable of populating new sheet with formulas

    Hello People

    I`m working in a way to control the time employees are trained but I`m trying to make the sheet more simple to use.
    I`m having trouble creating a macro that is capable of creating a new worksheet and filling that worksheet with information. It is also supposed to fill other existing worksheets but I haven`t been able to get to that point.
    My problem is with getting information from one sheet into the new sheet and the other existing sheets.
    For some reason there is a firewall blocking me from posting with the code. I`m very sorry for the inconvenience

    I also have doubst regarding how to make a macro print out a formula into the new sheet. I wanted to use a VLOOKUP formula to correlate data from my employee data base into the new sheet.
    Can somebody please help?

    Edit 1: I`m able to create a new sheet, name it and also copy some information. However I`m trying to find the last row and my code isn`t working on that point.

    Thank you very much
    Pedro Toledo

    Edit 2: I`m compilling all my other replies into this post.

    The Macro that creates the new sheet is the Macrobranca. Don`t worry about the macro above it. The idea was to make itso that people don`t have to create a worksheet by themselves and then fill the information in all the right spots for the other macro

    Just made the code a little bit more compact and easier to understand. I still have the last row problem and the code i`m getting is 1004 for the problem. I tried fixing it by activating the sheets i wanted to take information from before taking the information, but it didn`t work. Please I need help
    Attached Files Attached Files
    Last edited by Pedrot1811; 07-11-2019 at 01:38 PM.

  2. #2
    Registered User
    Join Date
    07-02-2019
    Location
    Parana, Brazil
    MS-Off Ver
    2016
    Posts
    13

    Re: Macro that creates new sheet and is capable of populating new sheet with formulas

    I trying to post the code but the firewall won`t let me.
    I`m posting here the actual document.
    Sorry for the inconvenience

    Edit 1: the macro that creates the new sheet and fills it is the MacroBranca()
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-02-2019
    Location
    Parana, Brazil
    MS-Off Ver
    2016
    Posts
    13

    Re: Macro that creates new sheet and is capable of populating new sheet with formulas

    Don`t worry about the other macro above the MacroBranca.
    The reason for MacroBranca is so that people don`t have to create a worksheet by themselves and then fill the information in all the right spots for the other macro to read.

  4. #4
    Registered User
    Join Date
    07-02-2019
    Location
    Parana, Brazil
    MS-Off Ver
    2016
    Posts
    13

    Re: Macro that creates new sheet and is capable of populating new sheet with formulas

    Just made the code a little bit more compact and easier to understand. I still have the last row problem and the code i`m getting is 1004 for the problem. I tried fixing it by activating the sheets i wanted to take information from before taking the information, but it didn`t work.

    Edit 1: please help. I don`t know why it wouldn`t work
    Attached Files Attached Files
    Last edited by Pedrot1811; 07-11-2019 at 12:41 PM.

  5. #5
    Registered User
    Join Date
    07-02-2019
    Location
    Parana, Brazil
    MS-Off Ver
    2016
    Posts
    13

    Talking Re: Macro that creates new sheet and is capable of populating new sheet with formulas

    Yesss
    I got it to work i don`t know how.
    However I still have doubts regarding making a macro print out formulas in my new sheet and my other existing sheets
    I`m uploading my file for you guys to take a look
    THank you very much
    If anybody could please help
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-02-2019
    Location
    Parana, Brazil
    MS-Off Ver
    2016
    Posts
    13

    Cool Re: Macro that creates new sheet and is capable of populating new sheet with formulas

    Hey guys
    I was able to print out the formulas i wanted by using R1C1 instead of normal A1
    I`m posting my file for you guys if anyone wants to take a look and use the code

+ 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. macro creates sheet with name cell
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-05-2019, 04:12 PM
  2. [SOLVED] Macro that creates a pivot table failing due to blank sheet's name.
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-06-2017, 07:01 AM
  3. [SOLVED] Macro that creates new tip tracking sheet bi-weekly
    By llittle in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-01-2016, 11:26 PM
  4. Macro creates new sheet but when running it errors.
    By MIchaelb1100 in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 06-07-2013, 08:51 AM
  5. Macro that creates a new line and a new sheet
    By andreask in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-02-2012, 02:30 AM
  6. macro creates new sheet with data from other sheets
    By jdcns in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-11-2011, 08:28 AM
  7. Macro Pulling Data from Hidden Sheet Creates Error
    By MrBill in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2010, 02:17 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