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: 620
Default How can I discover the FULL list of vbConstants

Frederick,

I thought Chip Pearson had a list on his web site, but I couldn't find it. I
have a spreadsheet that gets the constants of any office app which you can
have if you want it.

--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"Frederick" wrote in message
...
I am just begining to use some of the VBA for Excel and using an example
from Stephen Bullen & John Greens Book called Excel 2002 VBA.

there is a Sub in one of their examples which is listed below....

I am at a loss as to where I can find the list of correct (vbConstant
Parammeters) to use when building Subs / Functions such as these..

I have searched through the Help and also the Object Browser, I can find
some vbContants but not the ones used in the example below. I am sure

there
are others which may apply to other functions etc.

any help would be much appreciated please.

Regards Fred

Sub GetRealLastCell()
Dim RealLastRow As Long
Dim RealLastCol As Long

Range("A1").Select
On Error Resume Next

RealLastRow = Cells.Find("*", Range("A1"), xlFormulas, , xlByRows,
xlPrevious).Row
RealLastCol = Cells.Find("*", Range("A1"), xlFormulas, , xlByColumns,
xlPrevious).Column

Cells(RealLastRow, RealLastCol).Select

End Sub





 
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
How to discover the difference Mike Blakeley Excel Worksheet Functions 6 April 14th 09 06:15 PM
Showing full pull-down list DianeMcP Excel Worksheet Functions 5 April 28th 07 12:14 AM
how do i get the full name list in a workbook ? Voyager Excel Worksheet Functions 2 February 9th 07 10:37 AM
Full Down List That Filters IntricateFool Excel Discussion (Misc queries) 0 November 7th 05 08:02 PM
i discover that i cannot scroll in each part if i simply freeze p. hhh Excel Worksheet Functions 4 December 7th 04 02:42 AM


All times are GMT +1. The time now is 04:13 PM.

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"