Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for all of your help with VBA. I have yet another question:
Currently, I've been copying data from a pre-defined sheet number in multiple workbooks. I'd like to be able to identify the worksheet name to be copied from. I have this: Set sourceRange = mybook.Worksheets(SheetNumber).Range("A25:IV45") And want to put the worksheet name in instead. Suggestions? Also, if there is no such sheet name in the workbook, what should I do to deal with the errors. Thanks, Barb Reinhardt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Define sheet name then select sheet | Excel Discussion (Misc queries) | |||
Define a sheet in an array using a cell value | Excel Worksheet Functions | |||
using cells to define sheet references | Excel Discussion (Misc queries) | |||
define range name, use on VBA selected sheet | Excel Programming | |||
Syntax to define a variable for current file | Excel Programming |