LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Automate the combo box

Hi I have a macro which is doing only half the job. I would like to take it
one step further by having the macro select the date from a combo box. The
date of the file is stored in cell A6 and is reflected as
=PISampDat($B$5,"10/30/2009","10/31/2009","5 M", 1,"ps-mon-pi"
Right now when I run my macro it just selects the range and a combo
box/dialogue box pops up. The combo box has a couple of toggle buttons and a
few drop down lists. However the only thing I select in my combo box is the
date, which I change to select the next day, ex.in this case, 10/31/2009 (box
1) and 11/01/09 (box 2).
Is it possible to put in a code that would automatically put in the next
days date relative to the one stored in cell A6?

thnks,

Here's the macro:

Sub PIUpdate()
'
' PIUpdate Macro
' Daily update of PI data
'

'
Application.Run "showSampDat"
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
linking a form combo box... results from the combo box to another Trey Excel Discussion (Misc queries) 1 July 15th 07 01:58 AM
combo reference on another combo box for picking address etc. kbjin Excel Worksheet Functions 1 December 8th 06 03:29 PM
Macro to automate page protection based on combo box reply wongard Excel Discussion (Misc queries) 9 September 9th 05 06:47 AM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 1 February 16th 05 02:05 AM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 0 February 15th 05 07:45 PM


All times are GMT +1. The time now is 08:41 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"