Closed Thread
Results 1 to 2 of 2

copy and update problem in mastersheet to other worksheets.

Hybrid View

  1. #1
    Registered User
    Join Date
    05-22-2012
    Location
    philippines
    MS-Off Ver
    Excel 2003
    Posts
    7

    copy and update problem in mastersheet to other worksheets.

    can anyone help me how to code this pseudocode.
    'from mastersheet, adding query to 
    'corresponding sheets using checkboxes
    'click "done checking" button after every query
    --------------------------------------------------------
    loop until next row = ""
    	if cpu_textbox.value = true then
    		copy row to CPU sheet
    		CPU_row = CPU_row +1  ' nxt line in CPU sheet
    	elseif monitor_textbox.value = true then
    		copy row to monitor sheet
    		monitor_row = monitor_row + 1  
    	...
    	end if
    	mainsheet_row = mainsheet_row + 1
    end loop
    --------------------------------------------------------
    'update transaction from mastersheet, any 
    'changes in cells must appear in other sheets
    'click the row then click the update button
    --------------------------------------------------------
    entirerow.select
    open each sheet 
    loop for every row in other sheet
    	if masterSheet.cell(A,x) = otherSheet.cell(A,row#) Then
    		clear the row
    		insert updated  row
    	end if
    end loop
    --------------------------------------------------------


    i also attach the workbook. please help me..
    tnx in advance

    -cherry
    Attached Files Attached Files
    Last edited by arlu1201; 06-04-2012 at 03:39 AM. Reason: Code tags.

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

    Re: copy and update problem in mastersheet to other worksheets.

    Larvitar,

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    http://www.excelforum.com/excel-gene...stersheet.html

    Thread Closed.
    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]

Closed 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