+ Reply to Thread
Results 1 to 2 of 2

Problems getting data from external workbook

  1. #1
    Registered User
    Join Date
    02-12-2013
    Location
    Essex
    MS-Off Ver
    Office Professional Plus 2010
    Posts
    21

    Problems getting data from external workbook

    Hi guys!

    This is my first post here, so please be gentle!

    right, time to get down and dirty with some code

    Basically, im copying data from a separate workbook, and then trying to add "1" to the value...
    Apparently this is easier said than done...!!! I have 2 pieces of code, which work when run on there own, i just need to run them together now. obviously copying the data first, then adding "1" the the data that ive just copied...

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    right thats the 2 pieces of code... work lovely on their own!
    now there is a 3rd piece of code, saved as a macro, that the first piece of code refers to, in order to copy the data... if thats needed too, let me know...

    but other than that, theres nothing else to it... now ive tried having them all in the same "sub" but doesnt work...

    is there anyway i can combine these together? or too run one after the other... they run on startup of the workbook btw...

    Hope that all makes sense...

    look foward to some help from some awesome coders!

    Adrian


    ------------------
    SOLVED
    ------------------

    Please Login or Register  to view this content.
    Just incase anyone needs it...
    Last edited by ukhellfire; 02-12-2013 at 01:31 PM.

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

    Re: Problems getting data from external workbook

    Thank you for posting the solution. In future, it will be nice if you post the solution as a separate post, so we can clearly distinguish between the question and the answer.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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