+ Reply to Thread
Results 1 to 15 of 15

copy cells to corresponding sheets

  1. #1
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    copy cells to corresponding sheets

    Hi,

    Someone help me! How to copy cells date column and narration column (H column Values) and debit credit values to corrosponding sheets.
    Attached Files Attached Files
    Last edited by internet_imran; 11-14-2015 at 01:38 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,860

    Re: copy cells to corresponding sheets

    While you have a nice looking spreadsheet, I am not a mind reader as to what you require. Please, in simple language explain what you want to happen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy cells to corresponding sheets

    Dear sir,

    My first sheet is a database sheet that is a master sheet, data will be input in the database sheet.
    I need copy of cells values from....
    Date Column, that is a D column
    Details column that is H column
    debit column value that is L column
    credit column value that is N column to the corrosponding sheets. In the attachment file i entered manual values for your review that will be output after working the code.

    Thanks

    Imran

  4. #4
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy cells to corresponding sheets

    Sir, I highlight cells that will be copy to corresponding sheets.

    Suppose
    First word is Rent expense now code will work and copy

    a) column DATE (Value 2)
    b) column DEBIT (value 100) and column CREDIT (value 0)
    c) Description Column (value Paid July Rent)

    to paste Rent expense sheet.

    Next word is Cash now

    a) column DATE (Value 2)
    b) column DEBIT (value 0) and column CREDIT (value 100)
    c) Description Column (value Paid July Rent)

    to paste Cash sheet.

    Next word is again Cash now

    a) column DATE (Value 3)
    b) column DEBIT (value 6000) and column CREDIT (value 0)
    c) Description Column (value Received Cash on account)

    to paste Cash sheet.

    Next word is Accounts Receivable now

    a) column DATE (Value 3)
    b) column DEBIT (value 0) and column CREDIT (value 6000)
    c) Description Column (value Received Cash on account)

    to paste Accounts Receivable sheet.
    Attached Images Attached Images
    Last edited by internet_imran; 11-14-2015 at 07:49 AM.

  5. #5
    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: copy cells to corresponding sheets

    Hi internet_imran

    Would this exercise be a Classroom Assignment? If so, we cannot provide you with a solution, only direction.

    Let us know how we should proceed...
    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.

  6. #6
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy cells to corresponding sheets

    Thanks Mr. John

    This is not a classroom assignment, actually this is my office work task, That I have already completed partially.
    but this is not perfect code. Please look this code...

    The following code worked only on the word of Cash

    Please Login or Register  to view this content.
    Last edited by internet_imran; 11-15-2015 at 12:46 PM.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,860

    Re: copy cells to corresponding sheets

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  8. #8
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy cells to corresponding sheets

    Thanks Mr. alansidman to guide the post rules.

  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: copy cells to corresponding sheets

    Hi internet_imran

    Try this Code in the attached...Ctrl + x will fire the Code.

    Please note, I've modified Sheet database to eliminate merged cells in Columns("F:H").

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

  10. #10
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy cells to corresponding sheets

    Hi jaslake

    Thank you very much. your code is perfect.

  11. #11
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,860

    Re: copy cells to corresponding sheets

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  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: copy cells to corresponding sheets

    Hi internet_imran

    You're welcome...glad I could help.

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

  13. #13
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy cells to corresponding sheets

    Dear sir

    I marked this thread as solved but where is star icon at the lower left of my post, SORRY I could not find this.

    Thanks

    Imran
    Last edited by internet_imran; 11-16-2015 at 03:32 AM.

  14. #14
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy cells to corresponding sheets

    Quote Originally Posted by internet_imran View Post
    ...
    I marked this thread as solved but where is star icon at the lower left of my post, SORRY I could not find this.
    Try this..........
    Rep.JPG

    ( you can write a messsage in the small Box, such as " Thank you Mr Jaslake .. Good wonk "

    Edit
    P.s. You will need to be logged in to see the Star, ( Just as you would have needed to have be logged in to mark the Thread as solved )
    Last edited by Doc.AElstein; 07-17-2016 at 09:02 AM.
    '_- Google first, like this _ site:ExcelForum.com Gamut
    Use Code Tags: Highlight code; click on the # icon above,
    Post screenshots COPYABLE to a Spredsheet; NOT IMAGES PLEASE
    http://www.excelforum.com/the-water-...ml#post4109080
    https://app.box.com/s/gjpa8mk8ko4vkwcke3ig2w8z2wkfvrtv
    http://excelmatters.com/excel-forums/ ( Scrolll down to bottom )

  15. #15
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy cells to corresponding sheets

    Hi Alan

    sir, thank you very much.

+ 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] Copy 3 cells from first sheet to all sheets
    By reinventingthewheel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2014, 02:52 AM
  2. [SOLVED] Copy cells from different sheets if value matches
    By Omkariias in forum Excel General
    Replies: 4
    Last Post: 09-16-2014, 06:19 AM
  3. Replies: 0
    Last Post: 05-09-2013, 10:19 AM
  4. Copy value cells between sheets to update
    By vietdieu in forum Excel General
    Replies: 6
    Last Post: 01-20-2012, 08:50 AM
  5. Copy/Paste Cells and put into new sheets
    By Costasg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-04-2011, 07:24 AM
  6. Copy cells from many sheets from different workbook
    By golek12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2011, 01:44 PM
  7. Copy cells across sheets with IF commands?
    By thoss in forum Excel General
    Replies: 0
    Last Post: 03-03-2011, 08:05 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