Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Macro sorting data from another worksheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
slscanlon3 - 06 Jan 2006 13:30 GMT
I have a file that sorts data from one worksheet onto another.  It
refers to that worksheet by Activesheet.Next.Select and it worked fine.
If I try to hide that worksheet, it fails.  How can I refer to a
hidden worksheet so this Macro will work as it does if it is not
hidden?  The debugger always points to the worksheet identification as
the problem.
mcg - 06 Jan 2006 14:21 GMT
try to refer to required aheet with
Sheets("its name")
mcg
mcg - 06 Jan 2006 14:21 GMT
try to refer to required sheet with
Sheets("its name")
mcg
slscanlon3 - 06 Jan 2006 14:34 GMT
That is what I was trying to do, but I must not be doing it
correctly...

If the sheet is named "data", how would I rewrite
Activesheet.Next.Select to refer to it.... I tried
Activesheet.data.select and it didn't work.
slscanlon3 - 06 Jan 2006 16:58 GMT
I received a suggestion that I have to make the sheet visible to do the
sort and then make it invisible again.... is this the only way this can
be done?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.