Spaces Application Assignments from 10.6 transferred to 10.7?

I just upgraded to Lion with the release yesterday, and I noticed that when I'm using mission control, my spaces application assignments were still active from 10.6 (As in, chrome ALWAYS appears in desktop 2).
Mission control is a little more abstract than spaces was and I don't want these application assignments anymore, but theres no way to turn them off in system preferences on 10.7
Does anyone have any ideas how I can turn them off?

If I understand you correctly you should be able to right-click the icon on the dock when it is open and go "Options" and there you should find an option to lock to that space, have open in all spaces, or unlock from all spaces.

Similar Messages

  • Issue w/ Spaces - Applications moving from screen to screen

    Have been using that laptop for 2 months now - love it. Spaces is a very nifty feature (have it set it up on 4 screens). While I know how to navigate between spaces (using control+arrow for example), very often, my apps are moving from one space to the other.
    While I went into System Preferences to assign specific apps to a specific space, I often have to drag back apps into their original space. That tends to happen quite often when I have several apps from Office open (I usually have entourage, excel and powerpoint open at the same time, each in its own space).
    Am I doing something wrong. i really love Spaces but that issue is really counter-productive and right down annoying.
    Thanks for your help!
    Message was edited by: New Apple Lover!!

    There is a known issue with MS Office 2008 not respecting Spaces.
    It happens with some Adobe applications to.

  • Spaces - Application Assignments

    In spaces' system preferences pane, there is an option to assign an application to a certain space at startup. I use my macbook at work and at home; at work I have an additional monitor, and at home I don't. What I'd like to have the ability to do is have a given application (an IDE or Word Processor) fixed to the extra monitor (visible in every space) when the extra monitor is available, but when it's not, have it fixed to a specific space (#4 for example). Is it possible to either:
    1. Have different 'profiles' for Spaces so that when I have two screens available (the laptop lcd and the extra monitor), the application will have the 'every space' assignment, but when only one screen is available (the laptop lcd) the application will be assigned to a certain space.
    2. Set up a hotkey of some sort so that I can toggle the 'every space' assignment for the currently active application.
    Is what I'm looking for possible? Currently, I have to open system preferences, scroll through the list of assignments, and switch the assignment every time I plug in the monitor.

    mikedikan wrote:
    In spaces' system preferences pane, there is an option to assign an application to a certain space at startup. I use my macbook at work and at home; at work I have an additional monitor, and at home I don't. What I'd like to have the ability to do is have a given application (an IDE or Word Processor) fixed to the extra monitor (visible in every space) when the extra monitor is available, but when it's not, have it fixed to a specific space (#4 for example).
    not possible.
    Is it possible to either:
    1. Have different 'profiles' for Spaces so that when I have two screens available (the laptop lcd and the extra monitor), the application will have the 'every space' assignment, but when only one screen is available (the laptop lcd) the application will be assigned to a certain space.
    2. Set up a hotkey of some sort so that I can toggle the 'every space' assignment for the currently active application.
    this is not possible either. at least there is nothing built in that would do this. I guess you could make two dock preference files (that's where spaces preferences are kept) and swap them around when you change locations. that can be done via a script to which you can bind a shortcut. but that would basically mean two completely different dock, spaces and exposé setups - one for work and another for home. any changes you make to one will not be reflected in the other.
    Is what I'm looking for possible? Currently, I have to open system preferences, scroll through the list of assignments, and switch the assignment every time I plug in the monitor.

  • I have just transferred my application file from an Imac to an identical Imac, both running OS 10.9.5. When I attempt to open Photoshop 6, I am prompted for the serial number. I enter the serial number provided by Adobe, which I have confirmed with my "pr

    I have just transferred my entire application file from an Imac to an identical Imac, both running OS 10.9.5. Everything works fine, excepting that when I attempt to open Photoshop 6, I am prompted for the serial number. I enter the serial number provided by Adobe, which I have confirmed with my "previous purchase" records kept by Adobe. It is demanding a "qualifying product", all of which is contained in the complete files I transferred. Why can't Adobe recognise my valid serial number for Photoshop 6?

    I have just transferred my entire application file from an Imac to an identical Imac,
    Say what?
    Please use the proper installer.
    Are you really talking about Photoshop 6 or about Photoshop CS6?

  • How do I stop click-thru "'Firefox' is an application downloaded from the Internet. Are you sure you want to open it?"?

    Every single time I launch Firefox 20 under Mac OS X 10.7.5 I get the click-thru warning message "'Firefox' is an application downloaded from the Internet. Are you sure you want to open it?". How do I stop this? There are internet postings and previous postings about solving this using Terminal commands for OS X 10.5.x & 10.6.x, but these commands do NOT work in 10.7.x or 10.8.x. This seems to be a Firefox ONLY issue, and solving it by globally turning off OS X security features as recommended before in a previously closed thread seems like a really BAD solution. Is there a "Firefox only" solution, or will I just have to stop using Firefox?

    I had upgraded to Firefox 20 using the automatic update process, so the last time I'd downloaded a .dmg and manually installed Firefox was a long time ago. I trashed Firefox 20, downloaded a new .dmg and manually transferred to Applications folder and this persistent message ended. I assume if I'd ever launched from the open .dmg the same error message would result, so the fix offered was a solution even though the cause was something different since I only used the automatic update process and never manually handled Firefox .dmg downloads.

  • When switching spaces application menu is not showing

    I'm not sure the is a Snow Leopard specific problem, but I have certain applications assigned to certain spaces. When I switch to a space for that application and it has an open document, everything is fine. But if I close all of the document windows for the application and then switch away from that space and then back to that space, the Finder menu takes over. The application is still running, but I have to either click it's icon in the dock or cmd-tab to the application to get it's menu or toolbars to appear.
    Is this normal behavior? It's kind of a pain to mak sure that I at least have one open document window so that when I switch back to that space I don't have to "reactivate" the app. Just so I make sure i'm explaining this correctly...
    I have Photoshop in it's own space and then open the program and then don't open a document window and then switch to another space and then switch back to the Photoshop space, I now have the Finder's menu displayed and a blank desktop showing. I then have to click on the Photoshop icon or cmd-tab to the running application to get it's menus and toolbars to show.
    Thanks for your help.
    Mark

    First off, I meant to title this "When switching spaces application window is not showing."
    Just in case anyone else runs into this problem or any other weirdness with switching between spaces, the answer seems to be trashing the com.apple.dock.plist file and then restarting the dock. The preferences file can evidentially get corrupted and create some problems. Spaces does not have it's own plist file but stores it's data in the dock's plist file. Be warned that this will reset all of your dock preferences including which apps you have on the dock.
    Mark

  • How to delete paused application download from iphone

    Hi,
    Can anybody please let me know how to delete paused application download from iphone.

    Hello, flowerpet1.  Thank you for your reply.  Interestingly, your instructions worked on my iPad Mini, where I had the same problem.  The update module was listed under "Usage" and I was able to delete it.  Although I still have the red circle with "1" in it over my Settings icon on the home page, the status under Software Update is now "Download and Install" instead of just "Install".  Also, the available storage on the Usage screen has increased by about 4.2 GB.
    On my iPhone 5S, however, I'm not quite sure what the situation is now.  The IOS 8 update module does not show under "Usage".  However, the status under Software Update has also changed to "Download and Install" instead of just "Install"--but without my doing anything to the phone.  Maybe the update file was removed from the phone when I removed it from the iPad.  I don't remember what the available storage was before, so I don't know if I recouped any space.
    Anyway, your reply was a big help.  Thank you very much.
    Jack

  • I was doing some thing on my mac and the normal link to the applications folder from the bottom right hand corner disappeared, I cant find it anywhere, Can you help me?

    I was doing some thing on my mac and the normal link to the applications folder from the bottom right hand corner disappeared, I cant find it anywhere, Can you help me?

    Simple process. If an iPhone go to the Apple Store and not Verizon
    the phone from Verizon will be a refurbished device and not new unless under the 14 day worry free guarantee
    good luck

  • I backed up my old core 2 duo imac and and was trying to transfer files to my new 2011 imac and when i go to oppen a folder from what i transferred it says "The folder "Music" can't be opened because you don't have permission to see its contents."?

    I backed up my old core 2 duo imac and and was trying to transfer files to my new 2011 imac and when i go to oppen a folder from what i transferred it says "The folder “Music” can’t be opened because you don’t have permission to see its contents".  Why cant i access the files from my old mac?  I tried the time machine and that isnt working either.  I have files that I need to use on my new mac, all my old programs and such.  I thought they said it was easy to get your files from one mac to another.  Please help.

    Your account names are probably different on the two Macs. If you know the UNIX command line, open a terminal window and run:
    $ id 
    You should see a line that starts with something like this:
    uid=501(your_user_id_here)
    now check the owner of the folder you copied over:
    $ ls -ld Music
    drwx------+ 8 some_user_id_here  staff  272 May 14 16:08 Music
    Do the IDs match? If not, you could change the ownership. Say your id is "johnsmith"
    $ chown -R johnsmith Music
    Now try and access it with iTunes.

  • How To Remove A Specific Application Name From The "Open With" Dialog

    When you right click on a file you are presented with the "Open With" menu item and you are also presented with a list of applications that could potentially be used to open that file.
    In my case, when I click on a file of type .mov I am presented with the name of an application that I want to remove from the list, because that application ( Miro.app (2.5.2) ) no longer exists on my system.
    What is the best way to remove that application name from the list?

    Ok, but how does one remove some of the applications that are appear in the context menu for a given file type? Is there an asc file which can be edited?
    For example, in my system a PDF can be opened with over 10 applications. I would like to see just the three ones I use: Acrobat, Skim and Preview.
    Thanks in advance.

  • Is it possible to change application state from a component?

    I was wondering if it is possible to change application state from within a custom component and if so, what would the syntax be if I had an application named "zzz" and I wanted to change the app state from "state1" to "state2" from my component?
    Thanks!

    Hi,
    you always have a static class Application.
    Application.application will be the root component. After that you can change it state.
    Application.application.currentState = "state2";
    But it's not the best way to change states. It's better to dispatch events from components and change states in listeners.

  • TS1702 Hi, I'm experiencing a problem with app I've just purchased from iTunes, I have tried every piece of advice from the "iOS: Troubleshooting applications purchased from the App Store" and still nothing is working. I would like to get my refund on thi

    Hi, My name is Bheki Yende
    I'm experiencing a problem with an app I've just purchased from iTunes, I have tried every piece of advice from the "iOS: Troubleshooting applications purchased from the App Store" and still nothing is working. I would like to get my refund on this pls.
    This is an inconvenience, I don't understand why I have to contact the developer for a faulty product in your store.
    I've paid iTunes to get this, so iTunes must fix this problem for me or give my money back.
    Thanks

    This is a user forum, you are not speaking to Apple here.
    You will need to contact iTunes support here, regarding this issue. They will usually respond within 24 hours.

  • Application copied from disk image not recognised as correct arch by Finder

    Hi,
    occasionally, when I download a disk image ".dmg" that contains an application bundle ".app", I can run the application from the Finder by double-clicking on the icon of the application on the disk image, but when I copy the application to my harddisk, either with the Finder or with "cp -rP", and try to start the copy, the Finder gives me "You can't open the application xyz because it is not supported on this architecture".
    However the size of the application bundle, as measured with "du(1)" did not change, and sure enough the copy works just fine when I directly launch the application binary from the shell... The latest example of this behaviour was with the supertuxkart-0.6.1a-full-osx.dmg that I just downloaded.
    Anybody seen something similar and/or know what causes this strange behaviour?

    I have had a similar problem simply making a copy of a .app file. I spoke with Apple support about it and they said this is the desired behaviour when the application is not a universal application.
    You can check by opening the info window for the application and seeing if it says Universal next to Application in the Kind field.
    If it says Universal, it should copy without problem, if not, then it won't. Apple support wasn't able to give me a clear reason as to why this is, though.

  • How to set an Application Item from PL/SQL

    I am attempting to set an Application Item
    After login to my app, I want to retrieve a row from my SETTINGS table and populate some Application Items with the settings information so that I can
    display some of that settings information on every page.
    Just to start, I created one Application Item named F106_YEAR
    I then created a Shared Components Application Process which executes on New Session: After Authentication
    I created this process as an Anynomous PL/SQL block.
    declare
    aucyr varchar(4);
    begin
    select year into auctyr
    from settings;
    :F106_YEAR := aucyr;
    end;
    I've tried a couple of other Syntax tricks attempting to reference the Application Item F106_YEAR from within PL/SQL (like V('F106_YEAR') but nothing seems to be working.
    I'm sure that I am missing something simple. Can someone tell me how to set an Application Item from PL/SQL?
    Thanks in advance.

    I'm still doing something wrong because this is not working for me.
    I've tried both of the following versions as an Application Process set to run on New Session after Authentication:
    declare
    auction_year varchar(4);
    begin
    select year into auction_year
    from PBUUC.SETTINGS where rownum < 2;
    :F106_AUCTION_YEAR:=auction_year;
    end;
    and I also tried:
    declare
    auction_year varchar(4);
    begin
    select year into auction_year
    from PBUUC.SETTINGS where rownum < 2;
    APEX_UTIL.SET_SESSION_STATE (p_name, p_value);
    end;
    F106_YEAR is a global Item (shared components).
    The select statement works just fine in SQL*PLUS so I know that it is correct.
    If I run the debugger and log into the application, here is the output. Shouldn't I see my Application Process get called if it is set to run on New Session after Validation?
    My Application process is named RETRIEVE_AUCTION_SETTINGS
    0.01: A C C E P T: Request="P101_PASSWORD"
    0.01: Metadata: Fetch application definition and shortcuts
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.01: ...NLS: Set date format="DD-MON-RR"
    0.01: ...Setting session time_zone to -04:00
    0.01: NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en-us
    0.01: Fetch session state from database
    0.02: ...Check session 695371898690095 owner
    0.02: ...Check for session expiration:
    0.02: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.02: Session: Fetch session header information
    0.02: ...Metadata: Fetch page attributes for application 106, page 101
    0.03: ...Validate item page affinity.
    0.03: ...Validate hidden_protected items.
    0.03: ...Check authorization security schemes
    0.03: Session State: Save form items and p_arg_values
    0.03: ...Session State: Save "P101_USERNAME" - saving same value: "jps"
    0.03: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.03: Branch point: BEFORE_COMPUTATION
    0.03: Computation point: AFTER_SUBMIT
    0.03: Tabs: Perform Branching for Tab Requests
    0.03: Branch point: BEFORE_VALIDATION
    0.03: Perform validations:
    0.03: Branch point: BEFORE_PROCESSING
    0.03: Processing point: AFTER_SUBMIT
    0.03: ...Process "Set Username Cookie": PLSQL (AFTER_SUBMIT) begin owa_util.mime_header('text/html', FALSE); owa_cookie.send( name=>'LOGIN_USERNAME_COOKIE', value=>lower(:P101_USERNAME)); exception when others then null; end;
    0.04: ...Process "Login": PLSQL (AFTER_SUBMIT) wwv_flow_custom_auth_std.login( P_UNAME => :P101_USERNAME, P_PASSWORD => :P101_PASSWORD, P_SESSION_ID => v('APP_SESSION'), P_FLOW_PAGE => :APP_ID||':1' );
    0.06: ...Process "Clear Page(s) Cache": CLEAR_CACHE_FOR_PAGES (AFTER_SUBMIT) 101
    0.06: Nulling cache for application "106" page: 101
    0.00:
    0.00: S H O W: application="106" page="1" workspace="" request="" session="695371898690095"
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.01: ...NLS: Set date format="DD-MON-RR"
    0.01: ...Setting session time_zone to -04:00
    0.01: NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en-us
    0.01: Application 106, Authentication: CUSTOM2, Page Template: 2904114531488186
    0.01: ...Session ID 695371898690095 can be used
    0.01: ...Application session: 695371898690095, user=JPS
    0.01: ...Determine if user "JPS" workspace "1040027630222986" can develop application "106" in workspace "1040027630222986"
    0.01: ...Check for session expiration:
    0.01: Session: Fetch session header information
    0.01: ...Metadata: Fetch page attributes for application 106, page 1
    0.01: Fetch session state from database
    0.02: Branch point: BEFORE_HEADER
    0.02: Fetch application meta data
    0.02: Computation point: BEFORE_HEADER
    0.02: Processing point: BEFORE_HEADER
    0.03: Show page template header
    0.03: Computation point: AFTER_HEADER
    0.03: Processing point: AFTER_HEADER     
    0.04: Computation point: BEFORE_BOX_BODY
    0.04: Processing point: BEFORE_BOX_BODY
    0.04: Region: Auction_Title F106_AUCTION_YEAR

  • How to Use AccessibleObjectFromWindow API in VBA to Get Excel Application Object from Excel Instance Window Handle

    I need to get the Excel.application object from a window handle using AccessibleObjectFromWindow. I can't seem to make the code work. First, I successfully search for the XLMAIN windows. Then, when I get a handle, I execute the AccessibleObjectFromWindow
    function. It seems to return a value of -2147467262 in all cases. Therefore, I believe that it is returning an error value. I can't figure out how to determine the meaning of this value.
    If it is an error value, I believe that one or more arguments are in error. My best guess at present is that the GUID argument is incorrect. I have tried two GUID values: {00020400-0000-0000-C000-000000000046} and {90140000-0016-0409-0000-0000000FF1CE}.
    I have seen both used in conjunction with OBJID_NATIVEOM. Neither one seems to work. I really would prefer not to use the second one as it has an Excel major and minor version number. I would hate to have to change this code, if a new minor version appeared.
    The attached code has been commented to show which parts have been shown to work and which not. I'm at my wits end and really need help.
    Thanks
    'This module is located in Access 2010, but this is an Excel question.
    Option Compare Database
    Option Explicit
    ' Module-Level Declarations
    'The GetDesktopWindow function and FindWindowEx function work just fine.
    Public Declare Function GetDesktopWindow Lib "user32" () As Long
    Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _
    (ByVal hWnd1 As Long, _
    ByVal hWnd2 As Long, _
    ByVal lpsz1 As String, _
    ByVal lpsz2 As String) _
    As Long
    'I'm not getting the expected output from this function (see below)
    Private Declare Function AccessibleObjectFromWindow& Lib "oleacc.dll" _
    (ByVal hwnd&, _
    ByVal dwId&, _
    riid As GUID, _
    xlwb As Object)
    Type GUID
    lData1 As Long
    iData2 As Integer
    iData3 As Integer
    aBData4(0 To 7) As Byte
    End Type
    Function ExcelInstances() As Long
    ' Procedure-Level Declarations
    ' Value of OBJID_NATIVEOM verified by checking list of Windows API constants _
    on this site: http://www.lw-tech.com/q1/base.htm
    Const OBJID_NATIVEOM = &HFFFFFFF0
    Dim hWndDesk As Long 'Desktop window
    Dim hWndXL As Long 'Child window
    Dim objExcelApp As Object 'Final result wanted: Excel application object
    'Following variable (xlapp) to be set by AccessibleObjectFromWindow function
    Dim xlapp As Object
    Dim IDispatch As GUID 'GUID used in call to AccessibleObjectFrom Window function
    'Set up GUID to be used for all instances of Excel that are found
    Dim tmp1 As Variant 'Return value from AccessibleObjectFromWindow
    ' Executable Statements
    SetIDispatch IDispatch
    IDispatch = IDispatch
    'Get a handle to the desktop
    hWndDesk = GetDesktopWindow 'This seems to work
    Do
    'Get the next Excel window
    'The following statement seems to work. We are finding and counting _
    correctly all the instances of Excel. hWndXL is non-zero for each _
    instance of Excel
    hWndXL = FindWindowEx(GetDesktopWindow, hWndXL, "XLMAIN", vbNullString)
    'If we got one, increment the count
    If hWndXL > 0 Then
    'This works. We correctly count all _
    instances of Excel
    ExcelInstances = ExcelInstances + 1
    'Here is the problem. The following statement executes and returns a value of _
    -2147467262. xlapp, which is passed by reference to AccessibleObjectFromWindow, _
    is set to nothing. It should be set to the object for Excel.application. _
    I believe that this value is not an object. I tried to reference tmp1. in the _
    immediate window. There was no Intellisense.
    'I think that the function in returning an error value, but I can't figure _
    out what it is. I believe that AccessibleObjectFromWindow returns error _
    values, but I don't know where to find their values so I can interpret the _
    function's results.
    'As best I can tell, the hWndXL parameter is correct. It is the handle for _
    an instance of Excel. OBJID_NATIVEOM is set correctly (see constant declaration _
    above). xlapp is passed by reference as a non-initialized object variable, which _
    will be set by AccessiblObjectFromWindow. IDispatch may be the problem. It is set _
    as shown below in the procedure SetIDispatch(ByRef ID As GUID). This procedure _
    appears to work. I can see that IDispatch is set as I intended and correctly _
    passed to AccessibleObjectFromWindow.
    tmp1 = AccessibleObjectFromWindow(hWndXL, OBJID_NATIVEOM, IDispatch, xlapp)
    'Need to write code to test tmp1 for error. If none, then set objExcelApp = _
    object. Also, I exect xlapp to be set to Excel.application
    End If
    'Loop until we've found them all
    Loop Until hWndXL = 0
    End Function
    Private Sub SetIDispatch(ByRef ID As GUID)
    'Defines the IDispatch variable. The interface _
    ID is {90140000-0016-0409-0000-0000000FF1CE}.
    'NOT USING {00020400-0000-0000-C000-000000000046}, _
    which could be the problem
    '9 is release version - first version shipped (initial release)
    '0 is release type - retail/oem
    '14 is major version
    '0000 is minor version
    '0016 is product ID - MS Excel 2010
    '0409 is language identifier - English
    '0 is x86 or x64 - this is x86
    '000 reserved
    '0 is debug/ship
    '000000FF1CE is office family ID
    With ID
    .lData1 = &H90140000
    .iData2 = &H16
    .iData3 = &H409
    .aBData4(0) = &H0
    .aBData4(1) = &H0
    .aBData4(2) = &H0
    .aBData4(3) = &H0
    .aBData4(4) = &H0
    .aBData4(5) = &HF
    .aBData4(6) = &HF1
    .aBData4(7) = &HCE
    End With
    End Sub
    DaveInCalabasas

    I don't think you can return a reference to Excel's main window like that as you are attempting to do.
    Ref:
    http://msdn.microsoft.com/en-us/library/windows/desktop/dd317978(v=vs.85).aspx 
    It's relatively straightforward to return any workbook's window in any given instance, and in turn it's parent Excel app. Try the following and adapt as required (and include error handling) -
    Option Explicit
    Private Declare Function FindWindowEx Lib "User32" Alias "FindWindowExA" _
    (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, _
    ByVal lpsz2 As String) As Long
    Private Declare Function IIDFromString Lib "ole32" _
    (ByVal lpsz As Long, ByRef lpiid As GUID) As Long
    Private Declare Function AccessibleObjectFromWindow Lib "oleacc" _
    (ByVal hWnd As Long, ByVal dwId As Long, ByRef riid As GUID, _
    ByRef ppvObject As Object) As Long
    Private Type GUID
    Data1 As Long
    Data2 As Integer
    Data3 As Integer
    Data4(7) As Byte
    End Type
    Private Const S_OK As Long = &H0
    Private Const IID_IDispatch As String = "{00020400-0000-0000-C000-000000000046}"
    Private Const OBJID_NATIVEOM As Long = &HFFFFFFF0
    Sub test()
    Dim i As Long
    Dim hWinXL As Long
    Dim xlApp As Object ' Excel.Application
    Dim wb As Object ' Excel.Workbook
    hWinXL = FindWindowEx(0&, 0&, "XLMAIN", vbNullString)
    While hWinXL > 0
    i = i + 1
    Debug.Print "Instance_" & i; hWinXL
    If GetXLapp(hWinXL, xlApp) Then
    For Each wb In xlApp.Workbooks
    Debug.Print , wb.Name
    Next
    End If
    hWinXL = FindWindowEx(0, hWinXL, "XLMAIN", vbNullString)
    Wend
    End Sub
    'Function GetXLapp(hWinXL As Long, xlApp As Excel.Application) As Boolean
    Function GetXLapp(hWinXL As Long, xlApp As Object) As Boolean
    Dim hWinDesk As Long, hWin7 As Long
    Dim obj As Object
    Dim iid As GUID
    Call IIDFromString(StrPtr(IID_IDispatch), iid)
    hWinDesk = FindWindowEx(hWinXL, 0&, "XLDESK", vbNullString)
    hWin7 = FindWindowEx(hWinDesk, 0&, "EXCEL7", vbNullString)
    If AccessibleObjectFromWindow(hWin7, OBJID_NATIVEOM, iid, obj) = S_OK Then
    Set xlApp = obj.Application
    GetXLapp = True
    End If
    End Function
    Note as written if an instance does not have any loaded workbooks a reference will not be returned (though a workbook can be added using DDE, but convoluted!)
    FWIW there are two other very different approaches to grab all running Excel instances though something along the lines of the above is simplest.
    Peter Thornton

Maybe you are looking for

  • My Magic Mouse Will not scroll or left click?

    At 11:08 pm my magic mouse would not do anything but right click. I can not scroll either way, nor can i rightclick. I have tried System prefrences. What do i do?

  • Automatic EWA email but no graphs

    Hi All, When Solman emails the EWA reports there are no images/graphs/pictures send in the email. Is there a way to enable this? Kind regards, Sjoerd Lubbers

  • Hide/Show Dock Icon

    I remember seeing somewhere, I think it was here or on Mac OS X Hints, where someone had created an applet that you could use to hide or show a dock icon. I had downloaded it, but I deleted it and can no longer find it. I looked in my TM backups in t

  • Joins problem

    Hi , i am running below mentione query and i am able to get output when i am running inner query is giving data but when i run entire query there is no output,i do not know which condition is having problem how to check that select TOTAL.transid , to

  • Am looking for a good video player for IOS 4.1

    Hello all. Have an IPhone 3GS for which I am looking for a good (free) video player? Any recommendations?