Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default What am I doing wrong here

oWB is a workbook and ows is a worksheet

Debug.print Workbooks(oWB).Sheets(oWS).Range("CurrentMonth").C olumn

Thanks,
Barb Reinhardt
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default What am I doing wrong here

if you have
Dim oWS as Worksheet
and you have set it to someting then it would be:

debug.print oWS.Range("CurrentMonth").Column


--
Regards,
Tom Ogilvy

"Barb Reinhardt" wrote:

oWB is a workbook and ows is a worksheet

Debug.print Workbooks(oWB).Sheets(oWS).Range("CurrentMonth").C olumn

Thanks,
Barb Reinhardt

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default What am I doing wrong here

Just as a heads up for your other question, when you don't put anything in
the body of the message, it can't be replied to from some sites.

--
Regards,
Tom Ogilvy


"Barb Reinhardt" wrote:

oWB is a workbook and ows is a worksheet

Debug.print Workbooks(oWB).Sheets(oWS).Range("CurrentMonth").C olumn

Thanks,
Barb Reinhardt

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
What is wrong? robert morris Excel Discussion (Misc queries) 5 February 6th 09 02:37 AM
What is wrong? Max Excel Discussion (Misc queries) 0 February 5th 09 02:40 AM
Insert Calculated Field (wrong Qty*Price = wrong Amount) Edmund Excel Discussion (Misc queries) 8 October 4th 07 12:13 PM
Getting wrong value due to ref? jesmin Excel Discussion (Misc queries) 2 March 16th 06 02:12 AM
what am i doing wrong short_n_curly[_12_] Excel Programming 7 July 13th 05 06:34 PM


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