LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ray Ray is offline
external usenet poster
 
Posts: 267
Default Variable arrays & checkboxes

Thanks to Bernie, I was able to build a macro to consolidate data
submitted by my stores. Currently, the macro opens approx 30
workbooks (one at a time), copies the specified data, and pastes it
into the proper column in the summary workbook. It's really going to
be a time-saver....

The next step .... sometimes, a store re-submits their data after the
consolidation has been completed. Instead of having to run the whole
consolidation again, I'd like to be able to specify which files need
to be updated.

So, here's my idea -- the current macro utilizes a 'hard-coded' array
to determine which files to open. I'd like to use checkboxes to
identify them instead. I'd have a list of the stores with a checkbox
next to each, plus an extra checkbox to 'update all'.

I know how to make the checkboxes and name them, but this is where I
get lost -- how do I build a macro to capture the names of checked
boxes and put them into an array? And how would I code the macro to
see the 'update all' box and know what to do?

TIA,
ray

 
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
Working with ranges in arrays... or an introduction to arrays Glen Excel Programming 5 September 10th 06 08:32 AM
Arrays - declaration, adding values to arrays and calculation Maxi[_2_] Excel Programming 1 August 17th 06 04:13 PM
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? Daniel Excel Worksheet Functions 1 July 9th 05 03:05 AM
Transpose Arrays with variable row counts bmac184 Excel Worksheet Functions 4 June 11th 05 02:35 PM
Run-time error '91': "Object variable or With block variable not set Mike[_92_] Excel Programming 2 December 30th 04 10:59 AM


All times are GMT +1. The time now is 06:16 AM.

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"