+ Reply to Thread
Results 1 to 4 of 4

Insert Row Above Help

  1. #1
    Registered User
    Join Date
    07-02-2019
    Location
    Georgia
    MS-Off Ver
    365
    Posts
    12

    Insert Row Above Help

    Good afternoon. I just started tinkering with VBA last week so I could develop a reporting tool that generates an email. I have all of this working in the most basic of ways. When the submit report button is pressed it fetches the data from row 3 and puts them in the email. However, when submitting a 2nd report it fetches the same data as the old report because the new report is posted below the old report - so it's not working. What I need to figure out is - once they have clicked the submit report button a new row should be inserted above the previous report, the "new report" posted in this row, and then it will always fetch the newest report at the top of the sheet. Does this make sense? I'm struggling to explain it properly. Below is the current code.

    Please Login or Register  to view this content.
    Last edited by AliGW; 07-11-2019 at 04:47 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Insert Row Above Help

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    To upload a file click the Go Advanced button at the foot of your post, look underneath the post area for the Manage Attachments section and take it from there.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    07-02-2019
    Location
    Georgia
    MS-Off Ver
    365
    Posts
    12

    Re: Insert Row Above Help

    I keep typing Upload, it shows a current attachment, but then it disappears when I close the window.
    Last edited by AliGW; 07-11-2019 at 04:48 PM.

  4. #4
    Registered User
    Join Date
    07-02-2019
    Location
    Georgia
    MS-Off Ver
    365
    Posts
    12

    Re: Insert Row Above Help

    I'm dumb sometimes. Here it is.
    Attached Files Attached Files

+ 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. Vba that moves cells with text, (up and to left, insert row/ insert copied cell)
    By sergi117 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-04-2018, 03:12 PM
  2. Macro insert multiple sheet and insert age band based on numbers
    By saravanan1981 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-01-2017, 01:47 PM
  3. [SOLVED] Enable the Insert icon in Developer tab > Controls > Insert in Excel 2010
    By pedapudipradeep in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-03-2014, 12:41 PM
  4. Replies: 6
    Last Post: 10-02-2014, 06:31 AM
  5. [SOLVED] VBA codes to insert the rows and copy the first entire row text and insert sheet
    By PRADEEPB270 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-26-2013, 05:05 AM
  6. Insert header , hide rows and insert page breaks
    By dwx in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2013, 10:10 AM
  7. Help - Insert method of Range class failed - Selection.Insert Shift:=xlToRight
    By sandy@excelforum in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-04-2012, 11:14 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