+ Reply to Thread
Results 1 to 2 of 2

Copy data from selected sheets to new sheet

  1. #1
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,293

    Selective function based on cell empty/full

    Hi, novice in trouble
    the attached workbook is used to monitor vehicle faults. I have built it up using bits of code gleaned along the way. Now the boss has decided he wants a button that when pressed will collect info from the sheets that display a fault at that time-and copy the first four lines to a new workbook which can be be printed - like an aged debtor summary. Unfortunately I do not know how to instruct the macro to copy the info if cell is not blank - or to ignore it if same cell is blank. Macro would have to be able to look into every sheet in active in active workbook. If anyone can give me a pointer in the right direction I can battle away from there. Boss decided he wanted it yesterday - wants it today. Any help appreciated. Many thanks, Nigel
    Attached Files Attached Files
    Last edited by nigelog; 03-28-2008 at 06:26 AM. Reason: I needed to rephrase question

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Does this help?

    Please Login or Register  to view this content.
    Put the code in a module in the target workbook.
    Martin

+ 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