+ Reply to Thread
Results 1 to 13 of 13

Help with macro Code edit

  1. #1
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Help with macro Code edit

    Here is my current Macro. What I want is on the new sheets that are created for the information to start on Row 6 instead of Row 2 (Just like on the Master Sheet). How do I do this? Attached is the sheet for your review.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Caedmonball19; 08-23-2013 at 03:00 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help with macro Code edit

    Why make an new question. It looks to me this an duplicate post (to me).

    http://www.excelforum.com/excel-prog...41#post3377741



    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.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with macro Code edit

    I started a new one as I felt it was beginning to stray from my original dilemma. I apologize for breaking Rule 5 of your forum rules. I did also edit my post so I was no longer breaking Rule 3.
    Last edited by Caedmonball19; 08-22-2013 at 05:43 PM.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Help with macro Code edit

    Hi caedmonball19

    I agree...this issue is a New Issue from your previous sited Thread. Now, having said that and not knowing what you're trying to accomplish, to paste the copied Data into Row 6 you simply need change these two lines of Code from
    Please Login or Register  to view this content.
    To
    Please Login or Register  to view this content.
    However, I don't believe that resolves your issue.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  5. #5
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with macro Code edit

    Jaslake, interesting dilemma. When I make that change it does start on Row 6 but then it skips rows. I have 4 blank spaces between each entry now. Thoughts?
    Last edited by Caedmonball19; 08-23-2013 at 10:43 AM.

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Help with macro Code edit

    Hi Caedmonball19

    Are you using the Code you posted in your Post #1? If so, how is it you're getting more than one entry in each of the individual worksheets? All entries are cleared each time the Code runs...I'm missing something.
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with macro Code edit

    Hey Jaslake I have attached a copy of the workbook with the change. Look at Sheet 5001. It starts on Row 6 now and then skips down 4 lines to enter the next entry.
    Attached Files Attached Files

  8. #8
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Help with macro Code edit

    Hi Caedmonball19

    I got ya...let me look...

  9. #9
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Help with macro Code edit

    Hi Caedmonball19

    Try this
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with macro Code edit

    You are a wiseman Jaslake. I will test this is the main document and let you know how it worked.

  11. #11
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Help with macro Code edit

    Jaslake,
    Okay so that part works but now it still only allows me to format the very top row. As soon as the sheet is updated it wipes out everything in Rows 2-5. I want to keep the same 5 Rows as the Main Sheet. Any ideas?

    EDIT:
    I changes this code
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    It looks okay is this right?
    Last edited by Caedmonball19; 08-23-2013 at 02:42 PM.

  12. #12
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Help with macro Code edit

    Deleted...Caedmonball19 sorted it out...good for you
    Last edited by jaslake; 08-23-2013 at 06:22 PM.

  13. #13
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Help with macro Code edit

    If it worked...it's probably correct

+ 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] Excel Macro Edit Code Help
    By myownworld in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 04-07-2013, 04:19 PM
  2. Every one can edit this Macro code please help me
    By esmatullaharifi in forum Excel General
    Replies: 4
    Last Post: 12-08-2012, 02:10 AM
  3. How i Can Edit this Macro Code
    By esmatullaharifi in forum Excel General
    Replies: 0
    Last Post: 12-07-2012, 09:35 AM
  4. [SOLVED] Macro code assistance to edit the year in multiple cells.
    By lilsnoop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-29-2012, 11:18 PM
  5. Edit this macro code to loop and end
    By GarToms in forum Excel General
    Replies: 1
    Last Post: 01-27-2006, 08:55 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