Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Collating data from one worksheet to another


I have written a macro that opens up a worksheet from a named individua
( the name of the worksheet is the individuals name ) that has been
mailed to me and it then proceeds to 'cut and paste' the data from th
source sheet to my master sheet. Once completed that particular macr
ends and the next one starts and that looks for the next persons shee
to copy.

The problem I have is that when anyone of the individuals do not sen
me their sheet, the macro assigned to them cannot find the sheet and
get a 'Run time error 9 Subscipt out of range ' message because clearl
it cant find the sheet it is looking for.

Is there any way of preventing this message popping up and instead th
macro merely ends and moves on to the next macro which will look fo
the next persons sheet ?

Any comments are very much appreciated, unfortunately the macros are o
a different pc and i cannot copy them onto here to show you but i thin
it is clear what i am trying to do.

Darre

--
DarrenWoo
-----------------------------------------------------------------------
DarrenWood's Profile: http://www.excelforum.com/member.php...fo&userid=1646
View this thread: http://www.excelforum.com/showthread.php?threadid=38332

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Collating data from one worksheet to another


No worrys guys I have solved this one myself. Just added a line to sa
if no file found to end sub !

So easy when you find the answer!

--
DarrenWoo
-----------------------------------------------------------------------
DarrenWood's Profile: http://www.excelforum.com/member.php...fo&userid=1646
View this thread: http://www.excelforum.com/showthread.php?threadid=38332

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
Pulling/Collating Data chrisk Excel Worksheet Functions 4 April 15th 10 09:53 AM
collating data wildauk Excel Discussion (Misc queries) 2 May 25th 08 11:50 PM
Collating a set of separate excel files into a single worksheet or Andy Excel Discussion (Misc queries) 1 June 21st 07 03:28 PM
Help collating data from multiple worksheets Mediaid Excel Discussion (Misc queries) 0 August 21st 06 02:40 PM
collating Data Paul Cooke Excel Discussion (Misc queries) 0 December 5th 05 04:29 PM


All times are GMT +1. The time now is 05:38 AM.

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

About Us

"It's about Microsoft Excel"