+ Reply to Thread
Results 1 to 4 of 4

macro to locate and close workbook

  1. #1
    Registered User
    Join Date
    09-07-2007
    Posts
    14

    macro to locate and close workbook

    hi guys,
    I'm not great at macros so need some help from those who know. I need to copy information from a workbook to my sheet with the workbooks name changing slighltly. In have the following macro to do this part but I would like to close the workbook after pasting in the required data.

    Also, as the workbook is generated from the web, I get a web page opening with it. I would also like to close this web page if possible.

    To break it down
    I export a file to excel format.
    Use my macro to locate, copy and paste information
    I need it to then locate the web page and book and close both

    Please Login or Register  to view this content.
    Last edited by ConorOB1; 09-20-2007 at 08:59 AM.

  2. #2
    Registered User
    Join Date
    09-07-2007
    Posts
    14
    Any Help please? sorry for the crappy format

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Please read forum rules & wrap your VBA code

    A thread with the rules is available at the top of each forum

    If you do not understand the VBA code wrap instructions have a look at my last reply in this thread
    http://www.excelforum.com/showthread.php?t=583950
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  4. #4
    Registered User
    Join Date
    09-07-2007
    Posts
    14
    Quote Originally Posted by mudraker
    Please read forum rules & wrap your VBA code

    A thread with the rules is available at the top of each forum

    If you do not understand the VBA code wrap instructions have a look at my last reply in this thread
    http://www.excelforum.com/showthread.php?t=583950
    I think thats it. Sorr. any help anyone?

+ 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