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: 144
Default Issue with SpecialCells method

Hi,

I don't know why the below code is not working -- when I run the same code
without the ".SpecialCells(x1celltypeconstants)" at the end of ".Range("D2",
..Range("D2").End(xlDown))", it works. I looked at Help and according to
help, I believe I have incoroporated SpecialCells correctly.

With Sheets("Member ID Report Master")
.Cells.Sort Key1:=.Range("D2"), Order1:=xlAscending, Header:=xlYes,
MatchCase:= _
False, Orientation:=xlTopToBottom, DataOption1:=xlSortNormal
Set salesrange = .Range("D2",
..Range("D2").End(xlDown)).SpecialCells(x1celltype constants)
End With

--
Robert
 
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
specialcells(xlLastCell) and method global range error [email protected] Excel Programming 0 July 25th 06 09:51 PM
SpecialCells Method Question Ken Johnson Excel Programming 11 November 5th 05 02:07 PM
How select/define cells with FIND method (maybe together with SpecialCells) Marie J-son[_5_] Excel Programming 2 December 14th 04 03:49 PM
SpecialCells Method selects valid records ms Excel Programming 3 May 1st 04 02:46 AM
specialcells method errors when criteria not found ms Excel Programming 8 April 22nd 04 09:53 PM


All times are GMT +1. The time now is 01:00 PM.

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"