Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Embeded excel's parent

I have a form that is created from excel process.
Is there a way to make my form act like a floating toolbar? (specifically
when the excel s embeded in another application)

Meaning that when the excel is embeded in an application for example IE if
you move the focus to another application the toolbar is not visible but when
you return to IE the toolbar is visible. Also the focus is on the excel and
not on the toolbar.

I tried to use the Application.Parent but with no success.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Embeded excel's parent

You have to reference Activeworkbook.

"ARHangel" wrote:

I have a form that is created from excel process.
Is there a way to make my form act like a floating toolbar? (specifically
when the excel s embeded in another application)

Meaning that when the excel is embeded in an application for example IE if
you move the focus to another application the toolbar is not visible but when
you return to IE the toolbar is visible. Also the focus is on the excel and
not on the toolbar.

I tried to use the Application.Parent but with no success.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Embeded excel's parent

Can you give an example?

"Joel" wrote:

You have to reference Activeworkbook.

"ARHangel" wrote:

I have a form that is created from excel process.
Is there a way to make my form act like a floating toolbar? (specifically
when the excel s embeded in another application)

Meaning that when the excel is embeded in an application for example IE if
you move the focus to another application the toolbar is not visible but when
you return to IE the toolbar is visible. Also the focus is on the excel and
not on the toolbar.

I tried to use the Application.Parent but with no success.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Embeded excel's parent


Set sht = ActiveWorkbook.ActiveSheet.Range("A1")
Set bar = ActiveWorkbook.Parent.Toolbars

"ARHangel" wrote:

Can you give an example?

"Joel" wrote:

You have to reference Activeworkbook.

"ARHangel" wrote:

I have a form that is created from excel process.
Is there a way to make my form act like a floating toolbar? (specifically
when the excel s embeded in another application)

Meaning that when the excel is embeded in an application for example IE if
you move the focus to another application the toolbar is not visible but when
you return to IE the toolbar is visible. Also the focus is on the excel and
not on the toolbar.

I tried to use the Application.Parent but with no success.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Embeded excel's parent

You did not understood my question. I want to have a form that will act like
a toolbar.

"Joel" wrote:


Set sht = ActiveWorkbook.ActiveSheet.Range("A1")
Set bar = ActiveWorkbook.Parent.Toolbars

"ARHangel" wrote:

Can you give an example?

"Joel" wrote:

You have to reference Activeworkbook.

"ARHangel" wrote:

I have a form that is created from excel process.
Is there a way to make my form act like a floating toolbar? (specifically
when the excel s embeded in another application)

Meaning that when the excel is embeded in an application for example IE if
you move the focus to another application the toolbar is not visible but when
you return to IE the toolbar is visible. Also the focus is on the excel and
not on the toolbar.

I tried to use the Application.Parent but with no success.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Embeded excel's parent

A userform has two modes modal and modeless. I think you want modeless.

[object.]Show modal



Settings

The settings for modal a

Constant Value Description
vbModal 1 UserForm is modal. Default.
vbModeless 0 UserForm is modeless


"ARHangel" wrote:

You did not understood my question. I want to have a form that will act like
a toolbar.

"Joel" wrote:


Set sht = ActiveWorkbook.ActiveSheet.Range("A1")
Set bar = ActiveWorkbook.Parent.Toolbars

"ARHangel" wrote:

Can you give an example?

"Joel" wrote:

You have to reference Activeworkbook.

"ARHangel" wrote:

I have a form that is created from excel process.
Is there a way to make my form act like a floating toolbar? (specifically
when the excel s embeded in another application)

Meaning that when the excel is embeded in an application for example IE if
you move the focus to another application the toolbar is not visible but when
you return to IE the toolbar is visible. Also the focus is on the excel and
not on the toolbar.

I tried to use the Application.Parent but with no success.

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
Embeded IF Statement Rob M Excel Worksheet Functions 2 December 7th 07 02:24 PM
More than 7 embeded if statements Jcraig713 Excel Worksheet Functions 1 November 21st 07 03:33 PM
Parent of the embeded excel ARHangel Excel Discussion (Misc queries) 1 May 10th 07 11:19 AM
Embeded Wav Desert Piranha[_72_] Excel Programming 4 June 12th 06 03:26 AM
worksheet embeded ? Milos Excel Programming 1 January 6th 05 12:41 PM


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