LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Using Cell Numbers in a range

Hi All,

I am trying to use row&col in a range. Code is as follows.
I get the errow application-defined or object-defined error

ShortRawMonFileName is correct and "Sheet1" is correct

Set source =
Workbooks(ShortRawMonFileName).Sheets("Sheet1").Ra nge(ActiveSheet.Cells(1,
1), ActiveSheet.Cells(16, 5))

I also tried

Set source = Workbooks(ShortRawMonFileName).Sheets("Sheet1").Ra nge(Cells(1,
1), Cells(16, 5))

Thanks
Chad



 
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
Range as cell numbers Ian[_4_] Excel Programming 11 November 26th 07 06:55 PM
sum a range of numbers entered into a cell paphos2006 New Users to Excel 3 March 2nd 06 10:38 PM
Range of numbers in a single cell DRB Excel Discussion (Misc queries) 2 January 12th 06 12:18 AM
occurance of numbers in cell range Dillenger Excel Worksheet Functions 14 February 21st 05 06:45 PM
Sum the first 10 numbers in a 26 cell range jester[_2_] Excel Programming 6 June 19th 04 04:33 PM


All times are GMT +1. The time now is 08:14 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"