Use VBA and Excel to open Dreamweaver HTML (CS5), find and replace text, save and close

I wish to use VBA and Excel to programmatically open numbered Dreamweaver HTML (CS5) and find and replace text in the code view of these files, save and close them.
I have  5000 associations between Find: x0001 and Replace: y0001 in an Excel sheet.
I have the VBA written but do not know how to open, close and save the code view of the ####.html files. Please ... and thank you...
[email protected]

This is actually the code view of file ####.html that I wish to find and replace programmatically where #### is a four digit number cataloguing each painting.... In 1995 I thought this was clever... maybe not so clever now :>)) Thank you for whatever you can do Rob!
!####.jpg!
h2. "Name####"
Oils on acrylic foundation commercial canvas - . xx X xx (inches) Started
Back of the Painting In Progress </p> </body> </html>
Warmest regards,
Phil the Forecaster, http://philtheforecaster.blogspot.ca/ and http://phils-market.blogspot.ca/

Similar Messages

  • Saving to PDF using VBA in Excel 2007 using security features such as password and print restriction

    Good Afternoon,
    I am wondering if there is a way to implement the security features such as password and print restriction while saving a document to PDF using VBA in Excel 2007. 
    Regards,
    Steve

    Bill,
    Thank you.  I was able to find the security setting section.  The problem I have now, however, is writing the VBA to save to PDF and incorporate the security settings.  I thought if i applied the settings to the Excel document I was working on it would carry over, but this does not seem to be the case.  Any idea's?
    Regards,
    Steve

  • How to use VBA in Excel to convert a pdf file to XML?

    Hello,
        I need to convert pdf to XML format so that it can be imported into Excel workbook and the information can be extracting out and mapped to existing excel cells. What is the easiest way to get it down without introduce any additional tools/software
    other than Microsoft products? Client want to keep their process simple and it will be used for many agents in remote locations. They mentioned that they want to use VBA to do it. I could not find much useful information on this. Thanks a lot!
    Wei

    No Office programs can open a pdf and edit the contents so you will have to get a different app to convert teh pdf into xls format. There are plenty to be found on the web.
    Rod Gill
    The one and only Project VBA Book
    Rod Gill Project Management

  • I am running OS10.6.8 and have a mail box duplication. I use gmail and when I open my mail I have both the Apple Mail and another set of boxes for Gmail. Both get all mail and when I delete from one, it deletes from the other. How can I get rid of the dup

    I am running OS10.6.8 and have a mail box duplication. I use gmail and when I open my mail I have both the Apple Mail and another set of boxes for Gmail. Both get all mail and when I delete from one, it deletes from the other. How can I get rid of the dup

    Hi,
    According to your descriptioin, I don't think this is system problem, it should be Intel driver problem. It would be contact Intel to confirm this issue whether this is their driver problem.
    Roger Lu
    TechNet Community Support

  • When I log in both word and excel automatically open. Is there a way to stop them from opening on startup?

    when I log in both word and excel automatically open. Is there a way to stop them from opening on startup?

    I believe on new mac this is how it works by default.  There is a preference to turn this 'feature' off.
    You should look in you login items under accounts under system preferences.
    Here is how to find out what version of Mac OS you are running:
    Click on the blue apple in the upper left hand of the screen.
    click on this icon
    Click on the first line, "About This Mac"
    Most of these are numbers & that's what we want.
    What version & Processor do you have?

  • HT4898 What happens to my "Dock"?  I use that every time I open my computer(s), along with various mail accounts, and even the Widgets?.

    What happens to my "Dock"?  I use that every time I open my computer(s), along with various mail accounts, and even the Widgets?.  Thanks.

    Using iCloud will not affect your dock or your widgets. If you upgrade to iCloud, your MobileMe mail account will be updated to an iCloud account, but that is all that will happen. What exactly is it that you are worried about.

  • I have a jpg file that I must use as a background in a Dreamweaver project. There is some text embed

    I have a jpg file that I must use as a background in a Dreamweaver project. There is some text embedded in it that I can't edit. I have tried using Illustrator and Photoshop but I lack experience so I'm probably missing something. I'd be glad of some help as this is all that is preventing me from marking it as complete. The file address is lecaff.fr/images/home_banner.jpg Thank you in anticipation.

    Use Photoshop and the Stamp tool (S) to get rid of the lettering.
    Do little areas at a time, constantly changing the sampling point if you want a half decent job.
    Also, don’t use a .jpg format for files with lettering.
    If you must have lettering use .psd, .tif, .png or some other non-lossy format.

  • Hi, i've just bought my first macbook pro, i just installed office mac and when i open the page i cannot see the minimise maximise and close buttons as it's hidden behind the apple menu bar, also when it's at full screen, those buttons do not appear

    hi, i've just bought my first macbook pro, i just installed office mac and when i open the page i cannot see the minimise maximise and close buttons as it's hidden behind the apple menu bar, also when it's at full screen, those buttons do not appear

    Try to edit the size of the page using the sides of the page, or if you are desperate, force quit using command-Q. In full screen put your cursor on the top of the page, and the menu bar will appear. If it doesn't keep "pushing" it up until it does. Hope this helps!

  • Hey when ever i download and install Itunes then i open it says error finding folder please re download and I tried a tons of times and it didn't work. Does anyone know how to fix this?

    Hey when ever i download and install Itunes then i open it says error finding folder please re download and I tried a tons of times and it didnt work. Does anyone know how to fix this?

    Hi Beege140,
    I have an article for you that will help you address this launch issue with iTunes:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • HT4623 I have just updated my i phone 4s with the new ios 6 software and most of my apps have disapeared when i got to the app store and search for an app i cant find i click on it and it says the app is installed. Iff i double click on it it opens. Any i

    I have just updated my i phone 4s with the new ios 6 software and most of my apps have disapeared when i got to the app store and search for an app i cant find i click on it and it says the app is installed. but i cant find it in my apps if i double click on it it opens. Any ideas?
    Thanks Pete

    I have the same problem.  Some of my purchased songs are missing also.

  • Hi, my iphoto had a transparent ? mark on it and wouldn't open so I dragged it onto the desk top and now it has disappeared... I cannot find it anywhere in my finder, it seems to be gone, please help!

    Hi, my iphoto had a transparent ? mark on it and wouldn't open so I dragged it onto the desk top and now it has disappeared... I cannot find it anywhere in my finder, it seems to be gone, please help!

    You have one and possibly two problems.
    First problem you tried to open the iPhoto library with iTunes and appeared to have set iTunes as the default app for iPhoto Libraries. That isn;t going to work.
    To fix that select the iPhoto library in the Finder and do a File->Get Info. In the middle of the Info window you'll see Open With dropbox. Click on that and select iPhoto, then select the Change All button
    This will get iPhoto back as the default app to open iPhoto Libraries.
    Double click the library now and if nothing else is wrong iPhoto will open the library. If it does do as Michael wrote and go to the Applications folder and drag iPhoto to the dock to remake the shortcut.
    However since you started this thread by saying that the iPhoto shortcut in the dock had a question mark on it it is possible that iPhoto is missing from your Applications folder. If it is post back.
    regards

  • In adobe reader app on iPad, I have a PDF document that added notes and comments to.  Once I left the document and returned to it, the notes and comments were gone.  Where are they?  I clicked "save" and "done" buttons after I entered text.

    In adobe reader app on iPad, I have a PDF document that added notes and comments to.  Once I left the document and returned to it, the notes and comments were gone.  Where are they?  I clicked "save" and "done" buttons after I entered text.

    The application auto-saves your input when you close the document.  If you left the document, as you state, the notes/comments should have been saved and should have been visible the next time you opened the document with the Mobile Reader (note that if you are opening the document with another app such as Apple's built in PDF Viewer, things like notes/comments may not be visible).  Also note that if you are doing an Open In... from another app (like Dropbox), the version of the document in Dropbox does not update; only the version of the document in the Mobile Reader is updated.
    Would it be possible to send a video of the problem you are encountering to [email protected] so that we can try to help?

  • Problem with SAP log-in using VBA with Excel Bexanalyzer add-in

    I am trying to login in to SAP using VBA code but the code fails as indicated below .
    In Function GetBEx(Optional iWb As Workbook) As Object
    GetBEx = pAddin.ExcelInterface.WorkbookBExExcelApplication(lName)
    Works properly – I get an object
    However, in the sapBEXgetConnection function it seems that the lBex.ComConnection fails.  The p_connectionObj doesn’t get assigned (p_connectionObj is Nothing)
    Function sapBEXgetConnection(Optional IWhat As Integer) As Variant
        If IWhat = 0 Then
    ' try to get BexApi Connection
            Dim lBEx As Object
            Set lBEx = GetBEx
            On Error Resume Next
            Set p_connectionObj = lBEx.ComConnection  'fails here
            If Err.Number <> 0 Then Set p_connectionObj = Nothing
            On Error GoTo 0
            If p_connectionObj Is Nothing Then If Not prepareConnection Then Exit Function
            Set sapBEXgetConnection = p_connectionObj
        End If
    End Function
    All of this code is part of the Bexanalyzer Excel Add-In
    I’m assuming that I’m missing a patch or some configuration is incorrect but, since I’m not very familiar with SAP I don’t know.  Any help would be greatly appreciated.  Thank you.

    Hello Sebastien,
    Since I don't know what an SSO automatic connection is I can't give you an answer.  Can you explain it?
    Here's what I'm trying to achieve: on demand I'd like to execute VBA code that will use Bexanalyzer.xla functions to log in and then refresh a query that exists in the Excel workbook. Ultimately I'll want to apply parameters / variables to the query when it is refreshed.  I may then automatically execute VBA code to manipulate the resulting data in the workbook.  Basically I want to be able to do all of this without any user input.
    Paul

  • Using VBA from Excel, how to send datas into a SQL server

    Hi,
    How do you use VBA to provide the connection to insert datas into a table within a database.
    What kind of statements do we need. 
    The database, and table are for example already created.
    Thanks

    Hi
    I know this is an old thread but did you come right?

  • I just bought and downloaded LION and now I get a box that says Microsoft Word and Excel cannot open because PowerPC Apps are no longer supported.

    I just bought and downloaded LION and now I get a box that says Microsoft Word and Excel can not open because PowerPC Apps are no longer supported. How can I reactivate Word and Excel.

    You need to upgrade to Office 2008 or newer, or switch to a product such as OpenOffice or iWork.
    (61340)

Maybe you are looking for

  • How to develop and deploy multiple worker roles in single azure cloud services?

    I am Manikandan, From Myeasydocs.com. We have developed our application as web projects.  Now we are going to move to azure cloud services, i have successfully migrated our application in cloud services and it worked fine. I am having difficulties wi

  • Partition of ODS

    hi    can u explain how to partition ODS and steps to do that. regards, manju

  • WD(ABAP) - Oncheck Event by Interactive Form

    Accessing Adobe Lifecycle Designer through Web Dynpro workplace will provide you with a set of fields in a special library called "Web Dynpro", in which I find some interesting element. Most of them are mentioned in the following place: <a href="http

  • Ok quicktime heads....how do you do this and is it possible?

    Ok my band played a show and it was posted on the club website a day later...it was up for a day and then it was taken off. My bass player is a pc man and found the i guess the source code and link to where if I copy this link into my browser....it's

  • Does a Bluetooth Dongle work for Canon LBP6020 printer?

    Hello ! I bought Canon LBP 6020 printer. and I want to know if I can use a bluetooth dongle to print with without using usb port. If yes, what brand works with Canon LBP 6020 printer? thanks in advance.