+ Reply to Thread
Results 1 to 5 of 5

Copy one sheet to another with macros and multiply numbers when copying

  1. #1
    Registered User
    Join Date
    03-30-2011
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Copy one sheet to another with macros and multiply numbers when copying

    Hi All,

    I would like to copy data from one sheet to another using (vba or macro).

    Attahced is the spreadsheet, which has 3 sheets:
    1) USD
    2) AUD
    3) Rate

    I would like to copy the data from USD sheet to AUD sheet straight away, but column D to P in USD should multiply with the amount in cell RATE'B6. (the rate B6 in "RATE sheet")
    (For e.g: if USD is 2, AUD will be: 2 x 1.03 = 2.06).

    Note: The amount of rows can vary in USD sheet.

    Please Help.

    cheers,
    Talha
    Attached Files Attached Files
    Last edited by talhawahab; 11-02-2011 at 01:55 AM.

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Copy one sheet to another with macros and multiply numbers when copying

    Pl see attached file.
    Attached Files Attached Files

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy one sheet to another with macros and multiply numbers when copying

    Use this code -
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-30-2011
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Copy one sheet to another with macros and multiply numbers when copying

    Thanks Arlu. your code works great!!

  5. #5
    Registered User
    Join Date
    03-30-2011
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Copy one sheet to another with macros and multiply numbers when copying

    Quote Originally Posted by arlu1201 View Post
    Use this code -
    Please Login or Register  to view this content.
    THanks Arlu

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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