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: 9
Default Intellisense, Object Browser, Code Issue

All questions apply to VB5/6

1) Intellisense

If you have a reference to the Excel object in your VB5/6 program
how do you get intellisense to work for Excel objects?

--------------------

2) Object Browser

I find the Excel object browser confusing. I never seem to be able to drill
down to what I need. Take "Range" for Example, why doesn't "Cell"
show under the Range object?

2a) Where do you find all the formatting properties that apply to Column,
Row and Cell?

----------------------

3) Instead of getting the year only (2008) in Cell(1, "A") I keep getting
"6/30" -- and the year is 1905 but does Not show but this is the
value.
I recognize I have the Column formatted as Date, How the @#$%&^
do you format an individual cell as text, general or date = "yyyy"

Help?

I do the following:

'Set column and Cell Formats
With oWB.ActiveSheet

'Date Column
With .Columns("A:A")
.NumberFormat = "MM/DD"
End With

' .Cell(1, "A").NumberFormat = "YYYY" '<< ERRORS

'Center Headers and make Bold
With .Rows("1:3")
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.ShrinkToFit = False
.MergeCells = False

.Font.Bold = True
End With

'Enter Value (year only)
.Cells(1, "A").Value = strAcctYear '<<ERROR shows 6/30/1905
'
when strAcctYear = 2008

End With







 
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
Object browser icons? davegb Excel Programming 4 May 23rd 06 07:09 PM
VBA and Object Browser Help Missing Lee Setting up and Configuration of Excel 0 March 13th 06 10:02 PM
Object Browser does what? davegb Excel Programming 6 June 27th 05 06:12 PM
Object Browser Help [email protected] Excel Programming 0 January 6th 05 08:19 PM
Object Browser Help [email protected] Excel Programming 0 January 6th 05 08:18 PM


All times are GMT +1. The time now is 10:19 AM.

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"