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 / Programming / March 2008

Tip: Looking for answers? Try searching our database.

2 questions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ranswert - 17 Mar 2008 20:51 GMT
I have two questions:
1.  How do I identify a fill color for a cell so that I can match the text
to the color to hide it?  Is there a beter way to hide the text so that it is
not visble?

2.  A lot of times when I ask for help on a code, you use 'Me'.  For example
'Me.commandbutton2.enabled = ok'.  What is Me?  I don't use it and it seems
to work fine.

Thanks
pswanie - 17 Mar 2008 21:00 GMT
1.  How do I identify a fill color for a cell so that I can match the text
to the color to hide it?  Is there a beter way to hide the text so that it
is
not visble?

record a macro while changing the color of the cell. it will then show the
number in the editor

2.  A lot of times when I ask for help on a code, you use 'Me'.  For example
'Me.commandbutton2.enabled = ok'.  What is Me?  I don't use it and it seems
to work fine.

the me points to the specific userform where the commandbutton2 is located.  
could use userform1.commandbutton2.enabled = ok
pswanie - 17 Mar 2008 21:21 GMT
something like this

Sub Macro1()

   With Selection.Interior
       .ColorIndex = 6
'yellow collor
       .Pattern = xlSolid

  Selection.Font.ColorIndex = 6

   End With
End Sub

**********************************************************
 
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.