Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default extracting information from populated cells

I have incoming emails which use an excel spreadsheet. I
need to set up a macro to extract all the populated cells
information and export to another excel file. I then use
information for printing labels so if there are loads of
blank entries then i have loads of wasted labels. The
problem is that cells (A:U/1:7) is taken by company logo.
Is there a way to extract just information from populated
cells from (A:U/7:??) Im new to vb so some code would be a
godsend!
Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default extracting information from populated cells

Dim rng as Range
With Activesheet
set rng = .Range(.Range("A8"),.Cells(rows.count,1).End(xlup) ).Resize(,21)
End With
rng.copy Workbooks("Book2.xls").Worksheets(1).Range("A1")

if column A will have an entry in the last row.

--
Regards,
Tom Ogilvy

"martyn" wrote in message
...
I have incoming emails which use an excel spreadsheet. I
need to set up a macro to extract all the populated cells
information and export to another excel file. I then use
information for printing labels so if there are loads of
blank entries then i have loads of wasted labels. The
problem is that cells (A:U/1:7) is taken by company logo.
Is there a way to extract just information from populated
cells from (A:U/7:??) Im new to vb so some code would be a
godsend!
Many thanks



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
Extracting information Paula Excel Worksheet Functions 1 April 4th 07 03:14 PM
Extracting information from table Ianb Excel Worksheet Functions 2 March 7th 07 10:13 PM
Extracting certain information from cells RobMack Excel Worksheet Functions 9 February 15th 06 02:37 AM
extracting information from populated cells sds Excel Programming 3 September 16th 03 05:47 PM
Extracting Specific Information in Cells JHawaii Excel Programming 0 September 11th 03 05:43 PM


All times are GMT +1. The time now is 11:49 AM.

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"