Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Format Cells Dialog from a Macro

Hi,

Is there anyway to call the Format Cells Dialog from within a Macro so that
you can ask the user what format they want to apply to a cell and then apply
it programatically ?

I have searched in a few places and I cannot find any reference or pointer
on how to do this ?

Thanks
Scott
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Format Cells Dialog from a Macro

not sure if this is what you want or not.

application.dialogs(xlDialogActiveCellFont).Show

--


Gary


"scott56hannah" wrote in message
...
Hi,

Is there anyway to call the Format Cells Dialog from within a Macro so that
you can ask the user what format they want to apply to a cell and then apply
it programatically ?

I have searched in a few places and I cannot find any reference or pointer
on how to do this ?

Thanks
Scott



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Format Cells Dialog from a Macro

What I am after is the ability to show the user not options for fonts, but
also the options for Number, Alignment, Border...

Is it possible to show that dialog box from a macro and then retreive the
value selected by the user and then apply that formatting to all the required
cells ?

Scott

"Gary Keramidas" wrote:

not sure if this is what you want or not.

application.dialogs(xlDialogActiveCellFont).Show

--


Gary


"scott56hannah" wrote in message
...
Hi,

Is there anyway to call the Format Cells Dialog from within a Macro so that
you can ask the user what format they want to apply to a cell and then apply
it programatically ?

I have searched in a few places and I cannot find any reference or pointer
on how to do this ?

Thanks
Scott




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Format Cells Dialog from a Macro

in vb help, search for this

Built-In Dialog Box Argument Lists

you'll see them all

--


Gary


"scott56hannah" wrote in message
...
Hi,

Is there anyway to call the Format Cells Dialog from within a Macro so that
you can ask the user what format they want to apply to a cell and then apply
it programatically ?

I have searched in a few places and I cannot find any reference or pointer
on how to do this ?

Thanks
Scott



Reply
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
No Format Cells dialog box Fluke[_2_] Excel Discussion (Misc queries) 1 January 23rd 08 03:46 PM
Display color (or Format Cells) dialog in a macro? Mick Excel Programming 1 June 15th 05 08:24 PM
format cells dialog box does not come up GMed Excel Discussion (Misc queries) 1 April 14th 05 05:00 PM
When I select "format cells", the format dialog box does not disp. Andy S. Excel Worksheet Functions 2 November 23rd 04 03:49 AM
Format Cells dialog box Ryan Poth[_2_] Excel Programming 0 September 17th 03 12:45 AM


All times are GMT +1. The time now is 02:40 PM.

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"