LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Refresh Problem

This example uses a workbook name from one combobox [which is updated
via Sub ResetBookCombo()] called from the Form_Initialize) to update
another combobox with a list of the sheets it contains. Hope this
helps.

'--------------------------------------------------
Private Sub BookCombo_Change()
FindInBook = FindForm.BookCombo.Value
ReSetSheetCombo
End Sub
'--------------------------------------------------
Sub ReSetSheetCombo()
FindForm.SheetCombo.Clear
For Each ws In Workbooks(FindInBook).Worksheets
FindForm.SheetCombo.AddItem (ws.Name)
Next
End Sub
'----------------------------------------------------


---
Message posted from http://www.ExcelForum.com/

 
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
getpivotdata refresh problem Derrick Excel Worksheet Functions 0 August 9th 06 07:19 PM
Pivot table Refresh problem seantera Excel Discussion (Misc queries) 0 January 24th 06 06:52 PM
Web Query Refresh problem Tone Excel Discussion (Misc queries) 0 November 21st 05 12:12 PM
Screen refresh problem. Nigel Brown[_2_] Excel Programming 0 September 17th 03 03:21 PM
Screen refresh problem. Nigel Brown[_2_] Excel Programming 0 September 17th 03 02:15 PM


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