+ Reply to Thread
Results 1 to 2 of 2

VBA/macro code

Hybrid View

roshukha VBA/macro code 06-04-2014, 11:00 AM
6StringJazzer Re: VBA/macro code 06-04-2014, 01:45 PM
  1. #1
    Registered User
    Join Date
    05-29-2014
    Posts
    15

    Post VBA/macro code

    Hello All,

    I have two excel files (Truck and Commodity). I need to copy values from 'Commodity' file to 'Truck' file. 'Truck' excel file has 120 worksheets.

    The VBA code will copy D2:F44 (Commodity) and paste in E2:G44 of Birming worksheet (Truck). Similarly, it will copy D48:F90 (Commodity) and paste in E2:G44 of Mobile worksheet (Truck). In this way, the code will copy values into all 120 worksheets of Truck file.

    I am attaching two excel files. Due to file size limitation, I have included only 5 worksheets in 'Truck' excel file.

    Please help me.

    Truck.xlsx
    Commodity.xlsx


    Thanks.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: VBA/macro code

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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] Excel Macro Visual Basic code not looking at all sheets with second section of code.
    By Heinrich Venter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2014, 08:26 AM
  2. [SOLVED] Code with last column and last row to recognize multiple commands through the macro code
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2014, 04:10 PM
  3. Replace Macro recorded code with more effective code
    By scaffdog845 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-12-2014, 01:09 AM
  4. Replies: 0
    Last Post: 05-06-2013, 05:45 AM
  5. [SOLVED] do anybody have a sample code for executing excel macro from vb code?<eom>
    By B Deepak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-30-2005, 05:05 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