+ Reply to Thread
Results 1 to 3 of 3

Excel VBA - 1 Workbook, updating a specified cell in another workbook

  1. #1
    Registered User
    Join Date
    12-20-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Post Excel VBA - 1 Workbook, updating a specified cell in another workbook

    Hi all,

    I am an amateur VBA coder and have encountered a coding issue.

    Upon Button Press,
    -Workbook1 gathers values from its own worksheets and stores in variables.
    -Workbook1 then Opens Workbook2.
    -Code in Workbook1 then continues and finds the specific Row# in Workbook2with the specified Data
    -Code in Workbook1 continues and finds the Specific Column# based off specific data in Workbook2 Broken Component.
    -It will then add data, save Workbook2, then close Workbook2.

    For some reason, when it searches the column, it searches Workbook1, not the intended Workbook2. However very similar code allows it to work to find the Row#.

    If i haven't confused everyone with what i am trying to achieve, any suggestions would be very helpful. Code is below


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Jiggles; 12-22-2010 at 02:24 AM. Reason: Solving Issue

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: Excel VBA - 1 Workbook, updating a specified cell in another workbook

    See attached file, this is the code I used:
    Please Login or Register  to view this content.
    Regards,
    Antonio
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-20-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Excel VBA - 1 Workbook, updating a specified cell in another workbook

    Quote Originally Posted by antoka05 View Post
    See attached file, this is the code I used:
    Regards,
    Antonio
    Thank you greatly Antonio,

    Tested and is now working okay.
    Loved the Usheet/Osheet idea.

    Regards,

    Carlin


    Note: Placing Issue as Solved.
    Last edited by Jiggles; 12-22-2010 at 02:25 AM. Reason: Solving Issue

+ 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