Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 155
Default Export Last Completed Row of Sheet to a New Spreadsheet

Good Afternoon,

I have a user form upon which users enter information. That information is
then submitted to the master Log.

Question: Is there code i can run that will search the master log, select
the last row and export it to a new Excel Sheet. This sheet will then be
used as an attachment.

Any help would be great!
--
Carlee
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Export Last Completed Row of Sheet to a New Spreadsheet

Fire from anywhere in the workbook.

Sub copylastrowinanothersheet()
With Sheets("sheet11") 'source
..Rows(.Cells(Rows.Count, "a").End(xlUp).Row).Copy _
Sheets("sheet16").Rows(14) 'destination
End With
End Sub
--
Don Guillett
SalesAid Software

"Carlee" wrote in message
...
Good Afternoon,

I have a user form upon which users enter information. That information
is
then submitted to the master Log.

Question: Is there code i can run that will search the master log, select
the last row and export it to a new Excel Sheet. This sheet will then be
used as an attachment.

Any help would be great!
--
Carlee



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 155
Default Export Last Completed Row of Sheet to a New Spreadsheet

Hi there,
I tried the code you provided, but i got an error stating 'out of
subscription range'
any ideas?

With Sheets("Site Reading Log") 'source
..Rows(.Cells(Rows.Count, "1").End(xlUp).Row).Copy _
Sheets("Exported").Rows(14) 'destination
End With
--
Carlee


"Don Guillett" wrote:

Fire from anywhere in the workbook.

Sub copylastrowinanothersheet()
With Sheets("sheet11") 'source
..Rows(.Cells(Rows.Count, "a").End(xlUp).Row).Copy _
Sheets("sheet16").Rows(14) 'destination
End With
End Sub
--
Don Guillett
SalesAid Software

"Carlee" wrote in message
...
Good Afternoon,

I have a user form upon which users enter information. That information
is
then submitted to the master Log.

Question: Is there code i can run that will search the master log, select
the last row and export it to a new Excel Sheet. This sheet will then be
used as an attachment.

Any help would be great!
--
Carlee




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add another column to completed spreadsheet? wendy Excel Discussion (Misc queries) 1 August 21st 08 11:33 PM
Export spreadsheet to .csv Mark Excel Discussion (Misc queries) 1 January 6th 07 05:50 PM
Export sheet store sheet import sheet. Robert[_33_] Excel Programming 0 December 28th 06 01:58 PM
How to restrict printing to only completed tables in spreadsheet?. Karen@NS Excel Discussion (Misc queries) 0 June 21st 06 07:49 PM
lock tab in sheet 2 until cell in sheet one is completed john tempest Excel Worksheet Functions 7 November 24th 05 08:45 AM


All times are GMT +1. The time now is 05:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"