+ Reply to Thread
Results 1 to 1 of 1

calculation & paste by vba

  1. #1
    Spammer
    Join Date
    06-09-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Microst Office 365 Plus
    Posts
    149

    calculation & paste by vba

    Hi Experts,
    I am looking for a macro that will do the things mentioned below

    there are 3 files 1.xls & BasketOrder.xlsx & macro.xlsm (macro will be placed in macro.xlsm),both files are loacted in diffrent places so the path will be hardcoded in the macro so that i can change it as per my needs
    sheet name can be anything
    plz see the sample file


    If column C of basketorder.xlsx matches with column B of 1.xls & Column J is BUY then add 0.05 to column D of 1.xls & compare column L of basketorder.xlsx with column D of of 1.xls & if column D of 1.xls is lower then Column L of basketorder.xlsx then replace column L data with column D data OF 1.xls

    If column C of basketorder.xlsx matches with column B of 1.xls & Column J is SELL then subtract 0.05 to column D of 1.xls & compare column L of basketorder.xlsx with column D of of 1.xls & if column D of 1.xls is greater then Column L of basketorder.xlsx then replace column L data with column D data OF 1.xls




    https://www.mrexcel.com/board/thread.../#post-5528940
    https://eileenslounge.com:443/viewto...30&t=35051



    Thnx for the Help
    Attached Files Attached Files
    Last edited by MoldyBread; 07-28-2020 at 01:30 PM.

+ 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] Calculation of dates and leaving blank cell when calculation sees non-date values
    By Hedy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-22-2018, 07:52 AM
  2. Allow Copy and Paste function through VBA Auto Calculation
    By Juicy2052 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-18-2016, 09:06 PM
  3. Replies: 0
    Last Post: 05-17-2014, 10:18 PM
  4. [SOLVED] Copy calculation results and paste special values to new row with each recalculation
    By Phily915 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2013, 10:48 AM
  5. Replies: 1
    Last Post: 01-15-2013, 08:51 AM
  6. cut and paste calculation
    By Chemadian in forum Excel General
    Replies: 10
    Last Post: 07-12-2012, 01:49 PM
  7. paste value after each calculation?
    By khalid79m in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-27-2008, 09:22 AM

Tags for this Thread

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