Closed Thread
Results 1 to 11 of 11

Excel Vba copy same date to list of entries

  1. #1
    Registered User
    Join Date
    11-20-2015
    Location
    Pakistan
    MS-Off Ver
    2007
    Posts
    6

    Unhappy Excel Vba copy same date to list of entries

    Hi,
    I am copying a list of cell entries from invoice to ledger using vba. All the copied entries must have the same date as copied from the invoice sheet to the ledger sheet.
    the next time the button is clicked, it should copy to the next empty rows. Please help me with this. I cannot seem to get the date which is one cell, to be copied against all the entries and to the next empty rows thereafter.

    Thank you

    Truly,
    Aneela

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Excel Vba copy same date to list of entries

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Registered User
    Join Date
    11-20-2015
    Location
    Pakistan
    MS-Off Ver
    2007
    Posts
    6

    Re: Excel Vba copy same date to list of entries

    Please find the files attached.
    Also for the ledger(Final Sheet), I want it to print statement for a user input period, say 1Jan 2014 to 1 Jan 2015 or randomly such as 12 April 2015 to 12 May 2015. Please help on that also.

    Thank you

    Truly,
    Aneela
    Attached Files Attached Files

  4. #4
    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: Excel Vba copy same date to list of entries

    @aneela

    Welcome to the forum but please read our rules.
    You should not be using the Private Message facility in the way you have. That's not what it's for.
    See rule 4
    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.

  5. #5
    Registered User
    Join Date
    11-20-2015
    Location
    Pakistan
    MS-Off Ver
    2007
    Posts
    6

    Re: Excel Vba copy same date to list of entries

    Sorry @Richard Buttery. Please help someone. Its is urgent.

  6. #6
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Excel Vba copy same date to list of entries

    Try this.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-20-2015
    Location
    Pakistan
    MS-Off Ver
    2007
    Posts
    6

    Re: Excel Vba copy same date to list of entries

    Hi skywriter,

    No this does not work. the two files need to be separate. The button does not work on my pc.

    Thank you

    Regards,
    Aneela

  8. #8
    Registered User
    Join Date
    11-20-2015
    Location
    Pakistan
    MS-Off Ver
    2007
    Posts
    6

    Re: Excel Vba copy same date to list of entries

    please consider this file as the file output. I am sorry.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-20-2015
    Location
    Pakistan
    MS-Off Ver
    2007
    Posts
    6

    Re: Excel Vba copy same date to list of entries

    please once again sorry. this is the file that is the final result. with entries for a given date with the specific date. the next time data is entered, it shifts to the next empty rows.
    Also print this sheet for specific user defined periods as in bank statements for example 01 july 2014 to 1 dec 2014 or 1 march 2015 to 1 April 2015.
    Attached Files Attached Files

  10. #10
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Excel Vba copy same date to list of entries

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    http://ccm.net/forum/affich-857645-c...ates-to-ledger
    http://stackoverflow.com/questions/3...ist-of-entries
    http://www.excelguru.ca/forums/showt...ist-of-entries
    http://www.mrexcel.com/forum/excel-q...t-entries.html

  11. #11
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Excel Vba copy same date to list of entries

    Aneela1,

    When you joined the forum recently you agreed to abide by the Forum Rules, but in haste I fear you might not have actually read them. Please stop and take a moment to read them now. We all follow these rules for the benefit of all, as must you. Thanks.

    (link above in the menu bar)

    As you have received an initial suggestion, we will not delete this thread. Due to the numerous crossposting of this question around the internet, I am opting to close this thread as I do not want to waste any of our helper's time on questions being worked on elsewhere.

    Thanks for understanding, in general we prefer you respect our people's free time and not risk wasting it in this manner in the future.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Display unqiue text entries in a list based on date criteria
    By lookingforhelp1 in forum Excel General
    Replies: 7
    Last Post: 08-21-2015, 03:14 PM
  2. Create dropdown list in Excel that will only list unique entries
    By MissAudrey in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-22-2015, 04:56 PM
  3. Replies: 9
    Last Post: 12-19-2014, 11:12 PM
  4. Replies: 1
    Last Post: 11-12-2012, 06:23 PM
  5. Copy all Entries from Form Control (not ActiveX) List Box to Worksheet
    By Saramara in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2012, 02:17 AM
  6. Replies: 0
    Last Post: 10-31-2007, 05:20 AM
  7. Replies: 0
    Last Post: 08-28-2005, 10:35 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