473,395 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Active Cell property - Visible?

1
Hi

I'm a bit of a VB novice so this is probably a very simple question for the gurus..

I'm running Excel 2000 under WindowsXP.

I'm trying to determine if the selected cell on a sheet is visible after the macro applies an autofilter before proceeding with the rest of the macro.

I have tried using the following code

Expand|Select|Wrap|Line Numbers
  1. If ActiveCell.Hidden = True Then
  2.         MsgBox "Select one visible Employee Name", vbOKOnly + vbInformation
  3.         Exit Sub
  4.     End If
...but I get the following error:

Run time error 1004
"Unable [/indent]to get the Hidden property of the Range class"

I would be very grateful if someone has a solution to this.

Regards

Devo
Nov 6 '07 #1
1 2949
Hi

I'm a bit of a VB novice so this is probably a very simple question for the gurus..

I'm running Excel 2000 under WindowsXP.

I'm trying to determine if the selected cell on a sheet is visible after the macro applies an autofilter before proceeding with the rest of the macro.

I have tried using the following code

Expand|Select|Wrap|Line Numbers
  1. If ActiveCell.Hidden = True Then
  2.         MsgBox "Select one visible Employee Name", vbOKOnly + vbInformation
  3.         Exit Sub
  4.     End If
...but I get the following error:

Run time error 1004
"Unable [/indent]to get the Hidden property of the Range class"

I would be very grateful if someone has a solution to this.

Regards

Devo

Hi

I think only we can apply Hidden property ex either 10th row or A column
not single cell.

could you please go to excel then do it manually


Regards

Prakashsakthivel
Nov 6 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: nivas.meda | last post by:
Hi, I have an excel sheet with a graph and cells.If i change the value in the excel cells the graph will reflect.Now i am going to implement this functionality in html page.I successfully saved...
1
by: tota | last post by:
how can i make array of forms and a button on the click event of that button i activate a certain form (as a next of back button ) and where could i put that button as i have put it on the form...
1
by: Andrew | last post by:
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am still fairly new on this subject, so the problem...
3
by: Mad Scientist Jr | last post by:
Can someone post a clear example of how to change the background color of an individual datagrid cell for a Windows desktop app? (preferably in vb.net) I found some code on how to do this when...
18
by: Frank M. Walter | last post by:
Hello, I have made an small AddIn with udf for excel 2003. I use vs2003. The point of view is the function __T() I call it in excel sheet writing =__T() I am not able to set a value to a...
7
by: parag1234567 | last post by:
Hi, I am dynamically generating a html file which will contain only <div> tags which contents are hidden from user( set by style="visibility:hidden") Now the next step is i am enabling some of...
0
by: dan | last post by:
Hi, I have a GridView with five columns. One of the column renders its content either as a FileUpload or TextBox - depending on a value in another cell. I created an EditItemTemplate for the...
0
by: lairpr74 | last post by:
Hi, I got a console application that updates active directory users, the information to be updated in active directory comes from a database table. This is my problem: right now the application...
1
rahulephp
by: rahulephp | last post by:
Hi there, Kindly have a look on below CSS property. What i want to ask is: when i'll click on a button, it should be look active. I mean it would have to get property of .sidebar_menu:active But...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.