#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Hidden rows

In Excel, Functions may not touch the properties of any cell other than
their own. I'm not sure if they can touch their own cells properties other
than .Value.

You need to use a Subroutine.

Stephen Rasey
Houston
http://excelsig.org

"Viji" wrote in message
...
Dear tech support representative,

I need your assistance for a question with EXCEL-VBA.

I have developed a function for hiding rows using VBA which is on-change

event

I am trying to execute this function using a value change event in a form
with a button. The rows are not hidden and the function is not working.

Just to make sure the code is written right, I opened up an immediate

window
and tried the same function. The function from the immediate window works
like it is supposed to.

I am puzzled with this strange problem and spent numerous hours to debug
this problem.

Please help me in resolving this problem.

Thanks for your assistance.

Code snippet is as follows:

Set rWorkRangeASRTTS = ActiveSheet.Range("ASR_TTS_Server")
rWorkRangeASRTTS.EntireRow.Hidden = False



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
opening a group but keep hidden rows hidden MWL Excel Discussion (Misc queries) 0 February 17th 09 03:16 PM
Hidden rows columns won't stay hidden christie Excel Worksheet Functions 0 September 30th 08 05:44 PM
Formula or Code to keep Hidden Rows Hidden Carol Excel Worksheet Functions 6 May 1st 07 11:45 PM
I need my Hidden Rows to stay hidden when I print the sheet. Rosaliewoo Excel Discussion (Misc queries) 2 July 20th 06 07:51 PM
Excel 2003 -Rows hidden. Scrolling unhides rows ! How do I stop th Excellent1975 Excel Discussion (Misc queries) 0 June 21st 06 08:01 PM


All times are GMT +1. The time now is 11:24 AM.

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"