LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default combo box auto refresh

Hi,

I have this combo box created from control toolsbox using
as a DO nos display.
The ListFillRange is link to worksheet 2 with all the DO
Nos (ie: Sheet2!A1:A1000) assign.
I have this command button for printing. Once I click this
print command button, it will print out 2 sheet of the
first page. (Line 1)
Then follow by it will save the worksheet as the DO Nos.
(Line 2)
Then follow by it will delete the DO Nos from worksheet 2.
(Line 3)
Then finally, it will save the workbook as it original
name. (Line 4)
The Code is as following :-

Private Sub CommandButton1_Click()
Sheet1.Cells.PrintOut (1), (1), (2)
ThisWorkbook.SaveCopyAs (Sheet2.Cells(1, 1))
Sheet2.Cells(1, 1).Delete
ThisWorkbook.Save
End Sub

My problem, the combo box did not automatics
refresh/update the display to the latest DO number. It
still show the deleted DO Nos.

But when I use the form combobox, it will automatically
update. The reason I want to use this Control Toolsbox
Combo Box is because of the fonts issue.

Sorry for the long winded description.
Appreciate if anyone can advise me.

Thanks a million in advance...
Cheers...
Jason
 
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
Auto Refresh Gazz_85[_2_] Excel Discussion (Misc queries) 1 July 3rd 09 02:19 PM
Copy Excel functions formula and auto refresh refresh Pauline Cheong Excel Worksheet Functions 3 February 16th 09 01:23 AM
How can I auto refresh a column that has an auto filter in place Pastal Excel Discussion (Misc queries) 1 December 18th 07 11:43 AM
Auto Refresh RobGTP Excel Discussion (Misc queries) 0 September 29th 07 06:21 AM
How can I auto-refresh auto-filters when data changes? Mike@MPWco Excel Worksheet Functions 0 July 4th 06 12:50 PM


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