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 / January 2006

Tip: Looking for answers? Try searching our database.

select adjustment tab in cell format dialog

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
x taol - 22 Jan 2006 00:48 GMT
i want to select(focus) 'adjustment' tab in cell format dialog(ctrl+1)
using sendkey method only.
Norman Jones - 22 Jan 2006 03:31 GMT
Hi X Taol,

I am not sure which tab you want, but it should be possible to display the
required tab by using the dialogs collection, without recourse to SendKeys,

For example, if by 'adjustment tab' you mean the alignment tab, try:

         Application.Dialogs(xlDialogAlignment).Show

The other tabs can each be accessed with one of the following instructions:

Application.Dialogs(xlDialogFormatNumber).Show
Application.Dialogs(xlDialogFormatFont).Show
Application.Dialogs(xlDialogBorder).Show
Application.Dialogs(xlDialogPatterns).Show
Application.Dialogs(xlDialogProtectDocument).Show

---
Regards,
Norman

> i want to select(focus) 'adjustment' tab in cell format dialog(ctrl+1)
> using sendkey method only.
>
> *** Sent via Developersdex http://www.developersdex.com ***
x taol - 22 Jan 2006 04:31 GMT
thanks, but i want to do like that, because ctrl+z. namely undo
function.
sendkey is operated undo function. but your answer is not...
 
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.