Results 1 to 42 of 42

Exporting

Threaded View

jabryantiii Exporting 01-06-2010, 01:31 PM
davegugg Re: Exporting 01-06-2010, 01:55 PM
jabryantiii Re: Exporting 01-06-2010, 02:18 PM
jabryantiii Re: Exporting 01-06-2010, 02:29 PM
jabryantiii Re: Exporting 01-06-2010, 02:39 PM
davegugg Re: Exporting 01-06-2010, 02:52 PM
jabryantiii Re: Exporting 01-06-2010, 04:32 PM
davegugg Re: Exporting 01-06-2010, 06:24 PM
jabryantiii Re: Exporting 01-06-2010, 06:53 PM
pr4t3ek Re: Exporting 01-06-2010, 07:55 PM
jabryantiii Re: Exporting 01-06-2010, 08:20 PM
pr4t3ek Re: Exporting 01-06-2010, 08:46 PM
davegugg Re: Exporting 01-07-2010, 12:12 PM
jabryantiii Re: Exporting 01-07-2010, 02:31 PM
jabryantiii Re: Exporting 01-07-2010, 02:46 PM
jabryantiii Re: Exporting 01-12-2010, 03:15 PM
davegugg Re: Exporting 01-07-2010, 03:09 PM
jabryantiii Re: Exporting 01-07-2010, 03:38 PM
davegugg Re: Exporting 01-07-2010, 03:50 PM
jabryantiii Re: Exporting 01-07-2010, 03:58 PM
davegugg Re: Exporting 01-07-2010, 04:04 PM
jabryantiii Re: Exporting 01-08-2010, 02:05 PM
davegugg Re: Exporting 01-08-2010, 02:09 PM
JBeaucaire Re: Exporting 01-15-2010, 03:26 PM
jabryantiii Re: Exporting 01-15-2010, 05:42 PM
jabryantiii Re: Exporting 01-15-2010, 05:57 PM
JBeaucaire Re: Exporting 01-15-2010, 07:51 PM
jabryantiii Re: Exporting 01-18-2010, 01:59 PM
JBeaucaire Re: Exporting 01-18-2010, 03:01 PM
jabryantiii Re: Exporting 01-18-2010, 03:12 PM
jabryantiii Re: Exporting 01-18-2010, 05:15 PM
JBeaucaire Re: Exporting 01-18-2010, 05:13 PM
JBeaucaire Re: Exporting 01-18-2010, 05:35 PM
jabryantiii Re: Exporting 01-18-2010, 05:49 PM
jabryantiii Re: Exporting 01-19-2010, 02:21 PM
JBeaucaire Re: Exporting 01-19-2010, 07:01 PM
jabryantiii Re: Exporting 01-20-2010, 12:47 AM
JBeaucaire Re: Exporting 01-20-2010, 03:04 AM
jabryantiii Re: Exporting 01-20-2010, 01:43 PM
JBeaucaire Re: Exporting 01-20-2010, 09:03 PM
  1. #1
    Registered User
    Join Date
    12-28-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Exporting

    right now this code exports to another sheet, and only exports the active cell. I want to export to a new spreadsheet with a new name, and a given area instead of just the active cell.

    Sub ClickAdd()
    
     Dim rngAvailable As Range, rngCell As Range, bolSuccess As Boolean
            
        Set rngAvailable = ThisWorkbook.Worksheets("Sheet1").Range("B18:B40") 'Range Of Cells'
            
        For Each rngCell In rngAvailable
            If rngCell.Value = vbNullString Then
                rngCell.Value = ActiveCell.Value
                bolSuccess = True
                Exit For
            End If
        Next
        
        If Not bolSuccess Then
            MsgBox "Ran outta spaces...", 0, ""
        End If
        
        End Sub
    Is it possible to have the new spreadsheet name preset in the code? the space i am looking to export is A4:C34, F4:F34, I4:Q34. I would also like to know if only the data that gets exported, gets exported if a "y" vs "n" is in place in fields F4:F34?
    Last edited by jabryantiii; 01-20-2010 at 01:27 PM.

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