+ Reply to Thread
Results 1 to 4 of 4

Macro To Add New Worksheet

Hybrid View

Paul Sheppard Macro To Add New Worksheet 09-14-2006, 01:47 AM
Willow I hesitate to reply as my VB... 09-14-2006, 06:26 AM
starguy without macro you should... 09-14-2006, 06:30 AM
Mallycat I notice a few others have... 09-14-2006, 06:34 AM
  1. #1
    Registered User
    Join Date
    11-04-2004
    Posts
    8
    I hesitate to reply as my VB is not the best, but there are no other replies..

    Try adding

    Dim rowNumber as Integer
    ' find the row where the total is – 
    For Each c In Worksheets("LastSheet ").Columns(1).Cells
       If c.Value = "Total" Then
        rowNumber = c.Row
      End If
    Next c
    
    ' copy the total
    Worksheets("LastSheet ").Columns(1).Cells(rowNumber,5).Copy

    and then paste into cell on the new sheet


    Hope this helps
    Willow
    Last edited by VBA Noob; 11-02-2008 at 04:51 PM.

+ 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