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: 51
Default UserForm updated

Can anyone please help me with following code?

I cant make this code work on all opened Excel Workbooks.
I only succeded on the workbook that contains the UserForm1, which contains
text box txtLayout.

I put this code under "ThisWorkbook" and it runs nicely but only localy on
the sheets included on this workbook.


Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target
As Range)

UserForm1.txtLayout = ActiveCell.Text

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
Excel cells randomly don't get updated unless each cell is updated Lost in Excel Excel Discussion (Misc queries) 5 September 29th 08 06:56 PM
Userform to have Last Updated Values Time & Date Displayed ?? Corey Excel Programming 2 December 14th 06 03:15 AM
updated row comes at the top Fam via OfficeKB.com Excel Discussion (Misc queries) 2 April 11th 06 05:20 AM
links are not updated Alex Excel Programming 0 March 10th 06 12:45 AM
Link not being updated.... brian ferris Excel Discussion (Misc queries) 1 May 3rd 05 02:08 PM


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