Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default activate excel application after userform activation in modaless



i opend the userform in modaless.
and then i want to activate not the userform but the xl application.

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default activate excel application after userform activation in modaless

Hi X Taol,

Try something like:

'=============
Public Sub Tester002()
UserForm1.Show vbModeless
Sheets(3).Activate
Sheets(3).Range("A1").Interior.ColorIndex = 6
End Sub
'<<=============

---
Regards,
Norman



"x taol" wrote in message
...


i opend the userform in modaless.
and then i want to activate not the userform but the xl application.

*** Sent via Developersdex http://www.developersdex.com ***



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default activate excel application after userform activation in modaless



THE problem is the activate.
currently, the activation window is the userform.
but, i want to activate the xl window.

*** Sent via Developersdex http://www.developersdex.com ***
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default activate excel application after userform activation in modaless

Hi X Taol,

The suggested code was intended to demonstrate the activation of the Excel
window.

What are you unable to do with the form displayed modelessly?

---
Regards,
Norman



"x taol" wrote in message
...


THE problem is the activate.
currently, the activation window is the userform.
but, i want to activate the xl window.

*** Sent via Developersdex http://www.developersdex.com ***



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 214
Default activate excel application after userform activation in modaless

Hi x taol;

Private Sub UserForm_Activate()
AppActivate Application.Caption
End Sub

MP

"x taol" a écrit dans le message de news:
...


i opend the userform in modaless.
and then i want to activate not the userform but the xl application.

*** Sent via Developersdex http://www.developersdex.com ***





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default activate excel application after userform activation in modaless

AppActivate Application

AppActivate UserForm1.Caption

Regards,
Peter T

"x taol" wrote in message
...


THE problem is the activate.
currently, the activation window is the userform.
but, i want to activate the xl window.

*** Sent via Developersdex http://www.developersdex.com ***



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default activate excel application after userform activation in modaless

Somehow I failed to see Michel had already answered

Peter T

"Peter T" <peter_t@discussions wrote in message
...
AppActivate Application

AppActivate UserForm1.Caption

Regards,
Peter T

"x taol" wrote in message
...


THE problem is the activate.
currently, the activation window is the userform.
but, i want to activate the xl window.

*** Sent via Developersdex http://www.developersdex.com ***





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
Activating userform and filling it with data form row where userform is activate Marthijn Beusekom via OfficeKB.com[_2_] Excel Programming 3 May 6th 05 05:44 PM
Application activation and pasting Samuel Barnhouse Excel Programming 4 April 4th 05 09:58 PM
application.volatile activation Conceptor[_3_] Excel Programming 5 October 13th 04 09:59 PM
UserForm Activation Doug[_9_] Excel Programming 6 January 14th 04 09:36 AM
Userform.Activate Neil Excel Programming 2 September 15th 03 04:35 PM


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

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"