Excel/PHP/dreamweaver prob has me stumped

I am building bar to show the daily goal and what they are at
all through the day.
I am basing it pretty much of this one:
http://www.wynia.org/wordpress/glass-is-too-big/
The data that i want to pull from is on an Excel spreadsheet
that is updated through out the day and also gets data off of
mulitple other excel files. I just need to pull one # off that
spread sheet and put it so it will automatically update the
barchart.
If im not mistaken there is a string i can enter to pull from
the excel spreadsheet field, am i correct?
If not would it be easier to make a little page where the
management could enter a number and it directly update the
barchart??
Any suggestions will be helpful..ill check this tomorrow when
i get back into the office
thanks

You can do that one, but PHP has much greater options when
dealing with
graphics.
You might look into PHP GDI manipulation - you could easily
create a bar
graphic with a percentage of it colored - or two graphics and
put them side
by side, with their sum total = 100 pix and setting their
width as 33px vs.
67 px or something of that nature.
With your excel file, though, I thought that link provided
would probably
help you more fully utilize PHP and displaying your data.
Hope it helps,
Jon
"s10ryan" <[email protected]> wrote in
message
news:eabbor$s5r$[email protected]..
> ill check it out
> that site was actually:
>
http://www.wynia.org/wordpress/2005/10/06/css-and-html-goal-meter/
> i had it wrong in the first post

Similar Messages

  • Adobe Dreamweaver CS3 has shopped working

    In the past two days I have been getting the following error
    message when I try to make changes to an open page in Dreamweaver
    CS3:
    "Adobe Dreamweaver CS3 has stopped working"
    "A problem caused the program to stop working correctly.
    Windows will close the program and notify you if a solution is
    available".
    I am running Windows Vista Ultimate. I have not installed any
    new programs recently, so I'm thinking that either a recent Windows
    Update or and Adobe Update may be causing this new problem. Is this
    a known issue? Does anyone know of a solution to this
    problem?

    Rene wrote:
    > In the past two days I have been getting the following
    error message when I try
    > to make changes to an open page in Dreamweaver CS3:
    This is probably the answer to your problem:
    http://www.adobe.com/go/kb402776
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Installed Mavericks - Now Dreamweaver CC has slowed to a Crawl

    Dreamweaver's poor performance under Mavericks is causing me enormous problems.
    I have wasted many hours trying to find a solution, and even more waiting for Dreamweaver to respond to the simplest of changes/additions to HTML/CSS.
    It seems that Apple's apparent generosity in providing Mavericks as a Free Upgrade is, in reality, Apple covering it's back for creating an 'upgrade' that is not fit for purpose.
    Are there any solutions available, or on the immediate horizon?  Such as disabling App Nap in it's entirity?
    Or, is best to take a retrograde step and reinstall Mountain Lion?
    Very disappointing behaviour on your part, Apple! 

    RogerOut -- Every comment you've made on this issue has been of little use, and only serves to be argumentitive.  How are any of your comments working to resolve the issue?
    "Ever thought of doing a Google search?"  Well, yes -- I think most people start with Google.  Cutting-edge, or unique issues may not, however, show up in a Google search (at least, not on the first few pages -- even Google crawlers take time to index new posts).  But someone has to be the first to post a question.  Would you also berate that first person for posting a question?  And the link you supplied does not solve the issue of Dreamweaver being sluggish.  The problem they had was a swap-space/drive issue -- which could have affected multiple applications that rely on that kind of swap space.  Besides, your comment suggests that the link you provided was easy to find and was the solution to the problem.  You've failed to realize that there may be a lot of problems at play... and a lot of ways to resolve different problems that might have similar-looking symptoms, but that are not related otherwise.  For example, I have a problem with Dreamweaver CC (even after the new December 18, 2013 patch) -- it is excessively sluggish, constantly runs 35-55% of CPU, even when idle, and often times freezes.  I've been using Dreamweaver CS5.5 instead, as it works just fine under Mavericks. 
    My Dreamweaver problem has yet to be solved.  I've tried uninstalling AIR, I've tried removing the Creative Cloud application manager from the menu, and a host of other suggested "fixes" posted on various pages -- including the page that you linked to as the "Ever thought of doing a Google search?" end-all-be-all fix.  Didn't work for me.... so my quest continues.
    Please be more considerate when responding to people on help forums.

  • Adobe Dreamweaver CS6 has stopped working on windows 7 32 bit

    I just installed CS6 on windows 7 32 bit. When I try Dreamweaver, it is showing the error 'Adobe Dreamweaver CS6 has stopped working'.

    This is what I am seeing:
    System
    Provider
    [ Name]
    Application Error
    EventID
    1000
    [ Qualifiers]
    0
    Level
    2
    Task
    100
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2014-01-24T16:09:38.000000000Z
    EventRecordID
    41162
    Channel
    Application
    Computer
    MJ31H6V
    Security
    EventData
    Dreamweaver.exe
    12.0.3.5861
    50be54e4
    ntdll.dll
    6.1.7601.18247
    521ea91c
    c0000374
    000c3873
    2bbc
    01cf191eab5b3117
    C:\Program Files\Adobe\Adobe Dreamweaver CS6\Dreamweaver.exe
    C:\Windows\SYSTEM32\ntdll.dll
    ec6e2868-8511-11e3-8811-f80f418906ef

  • SSRS 2012 export to Excel 2010 Via IE8 has many compatibility issues

    Hi There,
    We have many reports in SSRS 2012 which had originally developed in SSRS 2005. When ever we render these report into Excel we face two major issues;
    First: After reports render in to Excel (xlsx) format, we have cell, column, row shifting problem and every element of the report is not in the same place as appose to 2005 render to xls format. Second.
    for any drill through (link) report all the url will be blocked by Excel. 
    We use SSRS 2012, Office 2010 and IE 8. Also we don't want to add Export to Excel 2003 feature. In other word we want out put in xlsx. 
    Any solution, suggestion, hotfix is appreciated 

    Hi Mercede,
    According to your description, after you updated SSRS 2005 reports to SSRS 2012, reports render appose to 2005 when export them to Excel, and drill through link is blocked.
    Question1:
    A report definition file includes a reference to the RDL namespace that specifies the version of the report definition schema that is used to validate the .rdl file. After a report is upgraded locally or on the report server, you might notice additional errors,
    warnings, and messages. This is the result of changes to the internal report object model and processing components, which cause messages to appear when underlying problems in the report are detected.
    When you open an .rdl file in Report Designer in SQL Server Data Tools (SSDT), if the report was created for a previous namespace, Report Designer automatically creates a backup file and upgrades the report to the current namespace. This is the only way
    you can upgrade a report definition file.
    In order to improve the efficiency of troubleshooting, I need to ask several questions:
    “we have cell, column, row shifting problem and every element of the report is not in the same place as appose to 2005 render to xls format” Could you please provide detailed information about the problem? I would be appreciated it if you could provide
    a screenshot.
    Did you update the reports by opening the .rdl files in SSDT?
    Could you export report to Excel 2003 to see if it displays correctly?
    This may be a lot of information to ask for at one time. However, by collecting this information now, it will help us move more quickly toward a solution.
    Question2:
    I tested the issue in my local machine, when we add drillthrough action to the report, if we select Go to report or Go to URL, the link works fine after we export report to excel. It failed to work when we use javascript:void window.open to open a URL in new
    windows, the “window.open” can’t work in Excel because of the JavaScript protocol can work only with an exact page.
    For more information about Upgrade Reports, please refer to the following document:
    https://msdn.microsoft.com/en-us/library/ms143674(v=sql.110).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support
    Hi Wendy,
    Thank you much for your fast respond. And as for your questions:
    1- Yes I did upgrade them by using SSDT tools in VS2012 and then deploy them again into our SSRS2012 report server.
    2- For URLs and Hyperlinks, because the action is go to sub report, I used "Go To Report" and by look at content that been blocked by Excel, I have noticed that (Go To Report) action passes IP address of our SSRS Server . I don't know how can I change
    it to use the actual path instead.
    3- Shifting the Cells and Rows means when I export report (from SSRS 2005) to excel in xls format (Excel 2003 for example), has very same look as it shows in screen, but when I export it from ssrs 2012 to render it in to xlsx format (Excel 2010 in our case)
    I face with merging cells and when I compare this xlsx out put with xls out put of very same report I have see the row that used to be on A23 for example now is in A20 or the column that used to be in A7 now is in B9 for example. And required a lot of manual
    work on design to work with spaced between text boxes and location of each data region, and overlaps to get the same result. I want to know is there more efficient way to achieve the same out put as  xls.
    4- I can't export report to render in Excel 2003 (xls) format directly from SSRS server for we don't have that option in our export list, but I did "save it as" xls and faced the same Row, column, cell shifting as with xlsx.
    Thank you so much 
    I am realistic, I expect miracles.

  • Excel - the formula bar has disappeared. It is checked in the pull down view screen. Help

    Excel - the formula bar has disappeared. It is checked in the pull down view screen. Help

    Please post Excel related questions on Microsoft's own forums for their Mac software, as Apple Communities only provide support for Apple products:
    http://www.officeformac.com/productforums

  • Dreamweaver CS6 "has stopped working" when closing

    Hey, I recently upgraded to Windows 8 x64 and have had an annoying issue with Adobe Products. When I was using 7 x64 I never had any issues really, loved that OS.
    Whenever I close Dreamweaver or Fireworks, a Windows error comes up saying "Dreamweaver/Fireworks has stopped working".
    Problem signature:
      Problem Event Name:          APPCRASH
      Application Name:          Dreamweaver.exe
      Application Version:          12.0.0.5808
      Application Timestamp:          4f7617ae
      Fault Module Name:          AdobeOwl.dll
      Fault Module Version:          4.0.93.0
      Fault Module Timestamp:          4f346283
      Exception Code:          c0000005
      Exception Offset:          0001157a
      OS Version:          6.2.9200.2.0.0.256.48
      Locale ID:          2057
      Additional Information 1:          3a47
      Additional Information 2:          3a47ea20b483aa4e0461b1291937432c
      Additional Information 3:          7401
      Additional Information 4:          740143976bb56a80bf42b1f8198b069d
    I recorded a video of the issue here: http://www.youtube.com/watch?v=ngljTTOz9gM
    Please could someone tell me how to solve this, thanks in advance.

    Ive found out the issue after googling the application timestamp and seeing another user with the same issue, here: http://forums.adobe.com/message/4682036
    The problem is with the Quick Connect button in TeamViewer and instructions on how to fix this issue can be found here: http://forums.adobe.com/message/4131161#4131161

  • Dreamweaver CC has stopped

    HI,
    I did install Adobe creative Cloud suite, I was able to launch most of the product installed but I having problem with dreamweaver.
    after Dreamweaver is launched a message came out "Adobe Dreamweaver CC has stopped" then app close itself.
    there is not additional information that help to troubleshoot the issue
    I need help, I did try it on three different PC always getting same error message
    I will appreciate your help.
    Regards

    MontereyDeanThis is the correct answer thank you

  • Adobe dreamweaver cs6 has stopped

    Hi,
    I'm using Adobe dreamweaver cs6 trial. I open any file, then click View Code. The program is not responding. The error message "Adobe Dreamweaver cs6 stopped" and the program has closed.
    I have reinstalled. It crashes DW to close again.
    I'm running on Windows 7 x64 sp1 ultimate, cpu corei7 q2630 ,ram8gb ,nvidia gt540m
    Thank,
    Paul.

    I am having this same problem trying to edit a wordpress php template ... I have gone into DW prefs and turned OFF (both either unchecked, or checked and in drop down 'disabled'); and it appears in CODE VIEW trying to edit the single.php template, DW hangs when opening ("not responding" error in Windows frame for app). I am running the full cloud license version of CS6 V12 bulid 5808, Win7/64, Core i7, 32GB RAM, SSD OS and WD velociraptor. It does appear to be a bug, as I never had this isssue with editing wordpress php files since 2005.   This needs to be addressed in an update ASAP. I can edit in Textpad in 20 sec., it takes 5 minutes to deal with couple of copy-paste items in WD, which is annoying since I just paid full upgrade from CS5 to CS6 cloud; and uninstalled DW/CS5.5. ARGH.
    Each time an edit is made there is a short buffer effect, as if the program is trying to do something. I first noticed this when trying to save something and the * stayed in file name, like it was thinking about the doc before letting me save. But today, it became a big problem with one file, as EVERY TIME I make an edit, it either immediately times out, or I can type in a couple of words ... then ... wait ... freeze ... wait ..... wait .... wait .... okay works again. Phone home making text edits? Very frustrating. Can't use DW to update my site today due to this bug.
    It does appear that any php file with code that references javascript .,.. mine has calls to (1) addthis button, (2) twitter.com/share and (3) facebook (//connect.facebook.net) elements .... but hey... this is CODE view, why try to connect to those items in code view when trying to edit TEXT ?
    BUG. BUG. BUG. Please fix. Make DW CS6 have complete *unhook* option from any "go out and look for stuff on web/net" ... options in DW6 panel obviously do NOT work in build 5808.
    THANK YOU!!!

  • Zen cart, php & Dreamweaver

    I have used Dreamweaver in the past for basic web design
    using html.
    I need to make some adjustments top a site which uses Zen
    Cart which I believe uses php
    Is there anyone who is familiar with zen cart who could
    advise me if Dreamweaver would be suitable
    Thanks

    I don't get it. What good would Cartweaver do someone whose
    job it is to
    make edits to an existing site with a different shopping
    cart?
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    "TC2112" <[email protected]> wrote in message
    news:g51cp5$sd9$[email protected]..
    > ..and some excellent support through the Cartweaver
    Newsgroup
    > news://support.cartweaver.com/PHP
    >
    > Take care,
    > Tim
    >
    >
    > "Paevo Kelley" <[email protected]>
    wrote in message
    > news:g50upt$en0$[email protected]..
    >> You might check out Cartweaver, which installs as a
    DW extension through
    >> the extension manager and can be managed entirely
    within DW (and includes
    >> an impeccable 250+ page PDF manual!)...
    >
    >

  • Common utility library for multiple websites (PHP/Dreamweaver)?

    I am working on several PHP-based websites, and would like to
    use the same utilities in
    them all. The local directories for the individual websites
    are all subdirectories of the
    website D: Websites.
    I could fairly readily put the utilities in a website D:
    Websites/Utilities, put a copy of
    this directory in the root directory of each website on the
    server, and tell PHP to load
    the utilities from the correct place, according to whether
    I'm running on the local or the
    remote server, but Dreamweaver does not seem to have any
    provision which would allow me to
    use it to upload new versions of the utilities from the
    Common local area to the remote
    servers. Is there any way to do this, or will I have to write
    a special PHP utility?

    Clancy wrote:
    > Dreamweaver does not seem to have any provision which
    would allow me to
    > use it to upload new versions of the utilities from the
    Common local area to the remote
    > servers.
    Dreamweaver is site based, and it works on the assumption
    that the site
    folder is the server root. This was appropriate in the early
    days of
    Dreamweaver when sites were created with static HTML and
    everything
    needed to be in the server root. It's less convenient when
    building
    dynamic sites that rely on libraries located outside the
    server root.
    Several beta testers have urged Adobe to improve the site
    definition
    setup so that libraries outside the server root can be easily
    maintained
    and uploaded from within Dreamweaver. Unfortunately, Adobe
    has not
    changed the way sites are defined to meet this increasingly
    common
    scenario. The more people who submit formal requests for this
    to happen,
    the more likely Adobe is to respond. Submit a feature request
    here:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS4",
    "PHP Solutions" & "PHP Object-Oriented Solutions"
    http://foundationphp.com/

  • Upload data from excel where one column has text of 3000 characters

    Guyz,
    I have a query. One of my requirments is to upload data from excel sheet & create a material. In the excel sheet one of the columns has text for BASIC DATA TEXT under ADDITIONAL DATA of a Material. This is a text of running length.
    the selection screen has feature of file upload & the users will upload excel files from their respective presentation servers.
    Now my problem is that I need a function module which can convert this column in excel sheet into an internal table & later call the BAPI for MM creation.
    I have used TEXT_CONVERT_XLS_TO_SAP & when i read my internal table to check this column length, it shows only 255 characters where as data in the excel sheet has 3000 characters (say for eg.)
    Can anybody throw some light on this.
    Thanks in advance
    GPK

    Hi,
    You can try using this function module and see that whether all your data is coming into the internal table properly.
    MS_EXCEL_OLE_STANDARD_DAT
    For the other part you needed to convert the internal table data into the structure as need by the BAPI and then call the create BAPI to create the materials in the SAP System.
    Hope this helps.
    Thanks,
    Samantak.

  • Dreamweaver 8 has stopped updating links properly

    I am using Dreamweaver 8 on a Mac to maintain our site (www.local-history.co.uk) which sits inside a folder labelled WWW on our ISP's server. Recently I've updated the design and coding of the site, and while I was building the new site I uploaded it to a folder called LHO inside the WWW folder so that I could see it live. LHO didn't appear in any of the paths on the site. I used 3 templates for the site which had links to CSS files using the path ../Multiflex/css/appropriateCSSfile.css. I created all the pages on the site using the templates and in all cases the paths were saved correctly, depending on whether the pages was in the root folder or in a sub-folder.
    Once I was satisfied with the site, I uploaded it to the root folder on the server (WWW) and deleted the site in the LHO sub-folder. It all appeared to be working well, until I created 3 new news pages (one of which is www.local-history.co.uk/news/090511MuseumNights.html) and added links to them on the latest news page (www.local-history.co.uk/latestnews.html). I previewed the news page in a browser, Firefox, and it appeared fine, but when I previewed the latest news page and clicked the links to the news pages I had created, then it was obvious that the CSS code had not been applied. When I looked at the path to the CSS file which had been saved I found it was /Multiflex/css/appropriateCSSfile.css. When I uploaded the pages they appeared to be using the appropriate CSS code, although the top of the page graphic wasn't showing.
    I can only assume that this is happening because I moved the site to the root folder WWW, but I don't understand why. If anyone has any advice about this I would be very grateful to hear from them!
    Susie

    Here are the links to the stylesheets on that local news page -
      <link rel="stylesheet" type="text/css" media="screen,projection,print" href="/Multiflex3/css/2column_setup.css" />
      <link rel="stylesheet" type="text/css" media="screen,projection,print" href="/Multiflex3/css/2column_text.css" />
    You are being confused by a) not understanding root relative vs document
    relative links, and b) not understanding how DW previews files.
    If I have a document with a link to an image that looks like this -
    <img src="/images/foo.gif"...
    That's what's called a root relative link.
    If I preview that document in DW, then the browser gets the document, sees
    the leading "/" and reads that as the root of the hard drive, since the
    browser has no idea where the root of the site is.  Thus, the image is
    broken in the preview.
    If I have temp files enabled, then DW will secretly convert the file being
    previewed into a temporary file, and hand that to the browser.  This temp
    file has had all root relative links converted to document relative links
    (as you will see by looking at the code in the browser), and has had all
    include files actually embedded in the page, and has had all external CSS
    and js markup embedded in the page.  In other words, DW has made the
    document into a stand-alone page.
    If you do not have temp files enabled, all of these links would be broken on
    preview.
    Now - if you are using root relative links, AND you have temp files enabled,
    AND you click away from the previewed document, then all of your links will
    be broken, since DW has not made that linked file into a temp file.  This is
    what you are seeing.
    So - if you want to click away on preview, then you must use document
    relative links for the site -
    <img src="../images/foo.gif"... (for example)
    These will still work on preview since the browser knows how to determine
    the current file's location and how to follow that path.
    Make sense?

  • Dreamweaver CS4 has stopped working

    *** Bug Report ***
    "Dreamweaver crashes when trying to open it."
    April 19th - 8:00 PM
    Reproduce Error:
    Launch Dreamweaver CS4 from start menu.
    What happens:
    Does not load. 
    Error message appears:
    Notes:
    Has been working fine for past 3 days.
    Errors occured today at random, without reason.
    Reporting from a system that has been reformatted one week ago, fresh install of Windows Vista Ultimate with latest updates & service packs.
    Dreamweaver CS4 installed along with the Master Suite Collection, other software function just fine.
    System Specs:
    AMD Athlon 64 X2 Dual Core Processor 5600+ 2.80 GHz
    4.00 GB Memory (RAM)
    500 GB Storage
    Windows Vista 64-bit
    Additional Notes:
    I have had previous peril with Fireworks CS4 earlier this week crashing and had to take valuable time researching the problem.  Happened to be one font out of three thousand that I have readily available for my needs.  This new problem with Dreamweaver has further disappointed me and I need to use the software I purchased as soon as possible.  I have taken the time to send in a bug report, as well as post this thread.
    Please guide me in a safe & proper procedure to determine the cause of the crash.  Thank you.
    Sean

    Jhfras wrote:
    Nadia
    Renaming the Configuation folder and then opening Dreamweaver worked like a charm. I was ready to give up on CS4 and I had already gone back to using DW 8. Thank you for sharing- don't think I would have ever solved this without your help. That is what sharing is all about.
    You're welcome  :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • Check if external program (MS Excel) is active and has opened a particular file

    All
    I need to find some solution for next problem (Visual Studio 2010). I have a form with some buttons. Those buttons open Excel-files from a network share and the Excel-files are marked as shared (meaning they can be opened/edited by multiple users from different
    computers at same time).
    Anyway, when the user presses the button on the form, the file opens in Excel as expected. If he presses the button again, the file is opened again in a second Excel instance. I want to build in some check: if the file is already opened in an existing Excel
    instance, that instance should become visible.
    That's not all: there is a possibility the user already opened the Excel-file before he launched my application. If he then presses the button, the existing Excel-instance (with this particular file) must be shown.
    Of course, the user can close his Excel file. So if he then presses the button, a new Excel instance should start up which opens the file.
    How can this be done?
    Regards
    Kris

    Hi,
     Here is an example that will find any instances of Excel and check if they have a specified file name opened.  If it is found it will bring the Excel window to the foreground or if it is minimized it will be restored.
    Imports System.Runtime.InteropServices
    Public Class Form1
    <DllImport("user32.dll", EntryPoint:="SetForegroundWindow")> _
    Private Shared Function SetForegroundWindow(ByVal hWnd As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
    <DllImport("user32.dll", EntryPoint:="ShowWindow")> _
    Private Shared Function ShowWindow(ByVal hWnd As IntPtr, ByVal nCmdShow As Integer) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
    <DllImport("user32.dll", EntryPoint:="IsIconic")> _
    Private Shared Function IsIconic(ByVal hWnd As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
    <UnmanagedFunctionPointer(CallingConvention.StdCall)> _
    Private Delegate Function EnumCallBackDelegate(ByVal hwnd As IntPtr, ByVal lParam As IntPtr) As Integer
    <DllImport("user32.dll", EntryPoint:="EnumChildWindows")> _
    Private Shared Function EnumChildWindows(ByVal hWndParent As IntPtr, ByVal lpEnumFunc As EnumCallBackDelegate, ByVal lParam As Integer) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
    <DllImport("user32.dll", EntryPoint:="GetWindowTextW")> _
    Private Shared Function GetWindowTextW(ByVal hWnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpString As System.Text.StringBuilder, ByVal nMaxCount As Integer) As Integer
    End Function
    Private Const SW_RESTORE As Integer = &H9
    Private ChildHandles As New List(Of IntPtr)
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    'Check if Excel has "My Excel File.xls" opened
    If Not IsExcelFileOpen("My Excel File.xls") Then
    MessageBox.Show("Excel does not have this file opened.")
    Else
    MessageBox.Show("Ecell has this file opened.")
    End If
    End Sub
    Private Function IsExcelFileOpen(ByVal filename As String) As Boolean
    ChildHandles.Clear()
    For Each p As Process In Process.GetProcessesByName("EXCEL")
    EnumChildWindows(p.MainWindowHandle, AddressOf EnumChildWindowProc, 0)
    For Each h As IntPtr In ChildHandles
    Dim sb As New System.Text.StringBuilder(256)
    GetWindowTextW(h, sb, 256)
    If sb.ToString.ToLower.Contains(filename.ToLower) Then
    If IsIconic(p.MainWindowHandle) Then
    ShowWindow(p.MainWindowHandle, SW_RESTORE)
    Else
    SetForegroundWindow(p.MainWindowHandle)
    End If
    Return True
    End If
    Next
    Next
    Return False
    End Function
    Private Function EnumChildWindowProc(ByVal hwnd As IntPtr, ByVal lParam As IntPtr) As Integer
    ChildHandles.Add(hwnd)
    Return 1
    End Function
    End Class
    If you say it can`t be done then i`ll try it

Maybe you are looking for

  • How to get internet mail into my server - any advice?

    To clear the pipeline and reduce the amount of configuration, I decided to get rid of my private router and plug my server directly into the modem, thus using the server as the gateway/router for other computers in my home. Hopefully this will elimin

  • Last modified by for a user/group object

    Hi All, Is there any way to find out who has last modified the User/Group object in the portal. I can see the last account unlocked by for the user object. But is there any attribute to find out who has last modified the assigned groups/users for the

  • Problems with interest-based ads

    I use Firefox 9.0.1 and BT Yahoo mail. The ads in BT Yahoo are totally inappropriate for me and are driving me mad, but when I try to change them using Yahoo's interest-based ad chioces they say my browser does not support interest-based ad chioces.

  • Storing custom metadata values at document level

    Hi, I want to create a metadata to store values at document level but looks like all custom metadata values are associated with document revision level. for example i want to store Parent document id value as part of the document because if store thi

  • Chrome Back Is It Metal or Plastic?

    The Chrome looking back on the iPod, is it actually metal or plastic that just looks like metal. It feels like metal, it looks like metal, but I just don't know for sure. Anyway?