Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Update Range upon Load

I am trying to update a range each time a worksheet is open.

Here is what I have so far.

Private Sub Worksheet_Activate()

Application.EnableEvents = True
Range("Profile!B5").Value = Application.UserName

End Sub

Does quite do the job.

Thanks




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Update Range upon Load

Found it on my own, need WorkBook Open, not worksheet_activiate.

"HartSA" wrote in message
...
I am trying to update a range each time a worksheet is open.

Here is what I have so far.

Private Sub Worksheet_Activate()

Application.EnableEvents = True
Range("Profile!B5").Value = Application.UserName

End Sub

Does quite do the job.

Thanks






Reply
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
Change range in capital letters on load Kelson Excel Discussion (Misc queries) 2 October 11th 07 05:23 PM
Change range in capital letters on load Kelson Excel Discussion (Misc queries) 1 October 11th 07 04:55 PM
How Do I Load a ComboBox From a Dynamic Range cincode5 Excel Discussion (Misc queries) 1 August 25th 06 07:37 PM
Sum range auto update Dave Excel Worksheet Functions 3 April 6th 06 12:02 AM
How update range after web query? Chris Shearer Cooper Excel Programming 2 May 10th 04 10:15 PM


All times are GMT +1. The time now is 11:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"