Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default builtin dialog box and arguments

I want to display the excel builtin dialog box "subtotalcreate" and have the
"at change in", "function number", and "total" arguments preassigned values.
The user would not have to choose them from their lists, just click "ok" or
"cancel". Is there a way to do this? Please include syntax.
If this isn't possible, is it possible to replicate in VBA code what the
"subtotalcreate" dialog box does? The user would not see any dialog box at
all but the subtotaling would occur based on the assigned values that I would
use.

Thanks,
Randy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default builtin dialog box and arguments

Turn on the macro recorder (Tools | Macro Record new macro...), do
whatever you want using the GUI, and turn off the recorder. In a vast
majority of the cases, XL will give you the necessary code.

Do keep in mind that in XL about all that is possible with the built-in
dialog boxes is to show them.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
I want to display the excel builtin dialog box "subtotalcreate" and have the
"at change in", "function number", and "total" arguments preassigned values.
The user would not have to choose them from their lists, just click "ok" or
"cancel". Is there a way to do this? Please include syntax.
If this isn't possible, is it possible to replicate in VBA code what the
"subtotalcreate" dialog box does? The user would not see any dialog box at
all but the subtotaling would occur based on the assigned values that I would
use.

Thanks,
Randy

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
Function Arguments dialog vanishes when clicked an inserted shape RK Excel Worksheet Functions 2 February 2nd 09 07:58 AM
Using builtin sheet activator R Avery Excel Programming 2 August 27th 04 02:06 PM
SaveAs Dialog Arguments Frank Kabel Excel Programming 4 February 24th 04 07:25 PM
Sort Dialog Arguments Dirk Kampfmeier Excel Programming 1 October 21st 03 01:49 PM
Builtin Properties Ruan[_3_] Excel Programming 2 September 11th 03 12:22 PM


All times are GMT +1. The time now is 12:20 AM.

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"