Question about IAC using VBA in Excel

How can I execute the "reduce file size" inside "document" menu in acrobat through IAC? I am using vba in EXCEL

You can not.

Similar Messages

  • 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/

  • 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

  • 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?

  • Question about Automator using Spaces.

    I don't think this is the right place for this question, but I figured I am probably going to need to write an applescript to do what I want, so I decided to put it here.
    I have an automation to open some Word documents on my idisk, then open Dictionary, then open Safari with some tabs. But the problem comes in with spaces. I have Word and Dictionary open on Space 1 and Safari open in Space 3. When the automation ends, I end on Space 3 and would like to know how I add a function to set the focus back to Space 1. It's not all that detrimental to the success of my Automation, but I only use Safari for research and would like to focus to end back on word. I have tried switching which apps open first, but I still end up on the 3rd Space.
    My other question is, where can I go for reference to commands in Xcode and AppleScript that deal with Spaces? I love using that function and I have had some ideas about scripts that could help me with them, but I don't even know were I would start with commands.

    There are several solutions to this.
    The first option would be to send the appropriate key command to switch to space 1. If you've left your preferences as the defaults then you can:
    <pre class=command>tell application "System Events" to keystroke "1" using {control down}</pre>
    Which will send a Ctrl-1 and switch to space 1.
    An alternative, which may be even better, is to activate the application you want to be frontmost:
    <pre class=command>tell application "Microsoft Word" to activate</pre>
    This should activate the application and switch to that application's space.

  • Question about forum use regarding an error I am receiving

    I am looking for an answer to the proper process I should follow when running into issues with Azure Storage. As I don't want to annoy folks with tossing questions into this forum regarding errors I'm running into that are more usage related instead
    of technical in scope.
    For instance this morning I was attempting to view some details about a particular Storage item and was greeted with the following screen in the Azure Portal.
    I was able to accomplish what I needed to (downloading some files out of this particular storage account) within the Manage.WindowsAzure.com site without issue. So this seems to be connected to the portal itself and it's interactions with Storage
    (perhaps). I now have access to the above Storage item via the portal site, but for about 15 minutes I continually received the message above. Even after logging out, clearning cache, trying different browsers etc.
    So my question(s) are; Are these forums the proper place to be posting information about issues we run into? If not what is the preferred method for reporting items like those above and getting help with remediating them in a timely manner?
    I'm happy to put them here, just want to make sure there isn't a better place as I'm new to this.

    Hi Darren,
    You can post your issue with Azure Storage in here. Just make sure that you do not give out any PII data.
    Also, the above portal which you are viewing is still in preview. You may use "manage.windowsazure.com" portal to access your resource.
    Regards,
    Manu

  • Question about planning using serialization point in transaction S2L

    Hello colleagues!
    Iu2019ve try to implement the supply of production line (supply area) just in sequence. R/3 received dependent requirements and backflushes of serialization point behind target Supply Area from APO.
    Then I got a few dependent demands with indicator u201CXu201D in u201Crequirement is serializedu201D field in transaction S2L. I started the automatic planning  but replenishment proposal was created to cover all dependent demands. from the selection horizon  (with ind. u201CXu201D and without ). But I need to cover dep. demands only with ind. X in u201Crequirement is serializedu201D field. I looked through SAP help and SPRO but I couldnu2019t find helpful information.
    Please, help me to find solution.
    Thanks.
    Ivan.

    Thanks for the feedback. I followed the link but I guess I just don't understand about the extended file system. Is HFS+ the same as Mac OS extended (Journaled).
    Basically, yes.
    I understand that I guess that case sensitive means just that, but what is the difference between journaled and extended? Does it mena that a log file is only saved for the journaled system?
    When a filesystem is journaled, all changes to it are written to a log.
    Do most people just format as Extended without journaled? I am about to reformat my iMac and install Leopard on there and I was wondering if I should format using the extended or the extended with journal?
    Using the journaling option slightly decreases the amount of space on the drive usable by you and increases the chance of recovering data from the drive if a problem occurred. If you want, you can use the Disk Utility to turn it on and off without erasing the drive again.
    (25598)

  • Qosmio G40-10Z: Question about energy use in sleepmode

    When I turn my new Qosmio G40-10Z in sleeping mode, with full battery (and off the AC power), I can't start the computer next day. I can only start it up after connecting it to AC power. I get a message windows Vista wasn't closed properly and I am asked to start in normal way or safe mode.
    After starting the battery indicates only 2% power. So, what is using power in sleeping mode? Why isn't the sleep mode not transferred to hibernation state when the battery is almost empty?
    (New notebook, only vista and office installed and only television antenna is connected)

    Hello guys
    At first I just want to write a little bit about theory. Microsoft has implemented standby/Hibernation mode to offer PC users comfortable OS usage and make switch ON/OFF time much shorter.
    According to the definition standby mode should be used for short time (launch, meeting and if you must leave the notebook for few hours). Hibernation mode should be used if you leave the notebook over the night or maybe day or two. In standby mode all data will be written in RAM and to keep them notebook needs power. In Hibernation mode all data will be saved on to HDD and notebook can be switched OFF. In hibernation mode the notebook does not need permanent power supply.
    For me it is really strange that you use standby mode with battery and almost 20 hours. With this I do not want to say that described battery issue is normal but for 20 hours it is logic to use hibernation mode.
    Back to battery issue: only 20 hours under standby mode is really to short. I have tested it with my Tecra and after 5 days I was able to switch ON notebook as usual (only battery power supply.
    In your case I see only two explanations:
    1. Somehow notebook can not switch into standby mode properly and stays running (I do not believe this because you can see if something like this happen)
    2. The battery is defective
    What you should do is to contact Authorized service partner in your country. Make a call and explain the situation. Maybe you will get new battery or they should test it using your battery.
    Sorry for this long posting. I wish you luck and hope you will clarify this issue very soon.
    Bye and good luck!

  • Question about Parallels using Bootcamp partition

    I was about to install XP on bootcamp but i would mainly be using parallels to run XP from the bootcamp partition. What i was wondering is that if i was to make any changes to xp like install a software and create a new folder through parallels, would it reflect on the actual bootcamp partition when i load into the actual XP partition using bootcamp? Basically, do the changes made to windows using parallels carry over to the bootcamp partition given you are using the bootcamp partition on parallels?
    Thanks

    Thanks a lot. While i am at it, if i use the bootcamp partition with Parallels, i cannot suspend the VM right?
    Parallels will behave the same, whether it has its own copy of Windows, or is using that on the Boot Camp partition.
    The only difference is backup. If you use Parallels with Windows in a disk image file (Preferably a sparse bundle), Windows can be backed up with Time Machine. If Windows is on its own partition, Time Machine can't handle it.

  • Questions about Military use

    Hey all, my wife is going on her second deployment to Kosovo and this time we were told they have WIFI in their rooms! Awesome! So through the wonders of ebay I bought us both iSight cams for our macs. They work great with iChat.
    I was wondering if there are any issues we should look for? Or maybe a different messenger service we should have as a back up?
    Anyone have any experience with this?
    Thanks in advance!
    -Stephen

    Hi,
    Like CodLBi has said it is going to be about Firewalls or at least which ports the LAN has open and the Connection speed and the Bandwidth share that are going to effect this the most. (Not to mention any "Security" concerns about apps that can send files and Pics)
    If it is the Miltary that control the LAN and Internet link then they might move on the ports (they have in the Gulf).
    As to Bandwidth that will depend on how many other people are using the LAN At them same time and what they are doing on-line.
    I presume it is not the Mac Pro she is taking
    That could run Windows XP with Boot Camp or Paralleles and would be one way round as AIM on a PC moves it's ports around and that may have provided a solution.
    See the links 5-9 on this section of my page 5.
    10:56 AM Friday; June 29, 2007

  • Some questions about the use of the relay

    I connect Relay coil  to the AC power source,but  the switch always act.Is there any suitable relay for ac power ?
    and when I replaced time delay relay in simulation, there was an error.  I don't know how to get the right parameter setting ?
    please help.
    Attachments:
    time_delay relay.png ‏5 KB

    Hi there,
    Thank you for your question. There are two ways to do this, for your origianl circuit you can connect the time delay relay in this way:
    Set the frequency of the source to 1Hz and simulate, then you can see the NC and NO switch back and forth.
    Second method: Instead of using a AC relay, we can use an AC coil which can be found at Electro_Mechanical-->COILS_RELAYS-->ENERGIZING_COIL_AC
    In addition, we can add a normally closed (NC) contact or a normally open(NO) contact spicified for this AC coil(say K1)
    Just type RELAY_CONTACT_NC or RELAY_CONTACT_NO to place the components and then place them under K1.
    Change the Controlling device reference as shown in the picture below,
    Now the AC relay can be constructed in this way.
    For time delay, we can use TIME_DELAY_NC and TIME_DELAY_NO contact
    Hope these two methods help!:-)
    Best,
    Chen_T
    National Instruments

  • Question about design - use patch-panels or switches in racks?

    I'm trying to suggest should I use patch-panels in server 19" racks and use stand-alone telecomm racks for access layer switches
    OR
    should I install 2-3 access layer switches in every server rack?
    First version looks more correct, but than I have to use MUCH MORE cables, organizers etc - all of it eats place in data-center.
    Maybe someone saw some guides for that question?
    Thanks!

    2 or 3 access layer switches in every server rack? Considering typical stand-alone rack switches offer 24 or 48 ports, how many servers per rack or how big are these racks?! Or, were your intended access layer switches only 4 port switches?! (laugh)
    The main disadvantage of rack switches, you either run out of ports or have too many ports. Since server hosts often push bandwidth harder than user hosts, you also have the issue of how much aggregate bandwidth you need to move out of an individual rack. These issues are better addressed by your suggestion of using patch panels from each rack that come to a network switch rack.
    You're correct, all the cables, and their organization, has an expense, but this has to be considered against switch costs. Assuming you intend to use Enterprise switches that offer gig to the servers and perhaps 10 gig uplinks, there's a cost to having extra swiches by deploying to each rack. Also switches per rack would disallow the advantages you might find with a chassis switch in a switch rack. Further, depending on performance to provide, do you want to be limited by uplink bandwidth from each rack, or pay for high bandwidth from each rack that's usually underutilized.
    Besides "looking right", the foregoing is often why there are server rack patch panels, etc.
    One design, that I found interesting, was using the 3750 "stacked" across racks (guess you could do same with newer 2975s).

  • Question about correct use of WM_CONCAT

    Good morning,
    I'm trying to accomplish the following:
    starting with this
         ENAME
         ADAMS
         ALLEN
         BLAKE
    ...and ending with this
         OLD_NAME   NEW_NAME
         ADAMS      AADMS
         ALLEN      AELLN
         BLAKE      ABEKL
    ...basically, alphabetically sorting the characters inside each name. I have an intermediate step that looks promising
    select e.ename oldname, substr(e.ename, iter.pos, 1) newcharpos
      from emp e,
           (select rownum pos from emp) iter
    where iter.pos <= length(e.ename)
    order by e.ename, substr(e.ename, iter.pos, 1);The above yields
    OLDNAME    NEWCHARPOS
    ADAMS      A
    ADAMS      A
    ADAMS      D
    ADAMS      M
    ADAMS      S
    ALLEN      A
    ALLEN      E
    ALLEN      L
    ALLEN      L
    ALLEN      N
    BLAKE      A
    BLAKE      B
    BLAKE      E
    BLAKE      K
    BLAKE      L
    ...the individual characters are in the right sequence, I figured all I had to do was to use WM_CONCAT (and replace the comma it inserts with the empty string) and I'd be done. I figured this would do it: (replace of comma left out for clarity)
    select oldname,
           wm_concat(newcharpos) newname
      from (
            select e.ename oldname, substr(e.ename, iter.pos, 1) newcharpos
              from emp e,
                   (select rownum pos from emp) iter
             where iter.pos <= length(e.ename)
             order by e.ename, substr(e.ename, iter.pos, 1)
      group by oldname;but the sequence of newcharpos gets messed up in the process and, instead of the expected result, I get this:
    OLDNAME    NEWNAME
    ADAMS      A,S,M,D,A
    ALLEN      A,N,L,L,E
    BLAKE      A,L,K,E,B
    ...My question is, how do I structure the last query so the character order stays as calculated in the inner query ?
    Thank you for your help,
    John.

    Or
    SQL> select   oldname,
           wm_concat(newcharpos) keep (dense_rank last order by null)  newname
      from (
            select e.ename oldname, substr(e.ename, iter.pos, 1) newcharpos
              from emp e,
                   (select rownum pos from emp) iter
             where iter.pos <= length(e.ename)
             order by e.ename, substr(e.ename, iter.pos, 1)
      group by oldname
    OLDNAME    NEWNAME                      
    ADAMS      A,A,D,M,S                    
    ALLEN      A,E,L,L,N                    
    BLAKE      A,B,E,K,L                    
    CLARK      A,C,K,L,R                    
    FORD       D,F,O,R                      
    JAMES      A,E,J,M,S                    
    JONES      E,J,N,O,S                    
    KING       G,I,K,N                      
    MARTIN     A,I,M,N,R,T                  
    MILLER     E,I,L,L,M,R                  
    SCOTT      C,O,S,T,T                    
    SMITH      H,I,M,S,T                    
    TURNER     E,N,R,R,T,U                  
    WARD       A,D,R,W                      
    14 rows selected.Or (11gR2)
    SQL> select ename oldname, column_value newname
      from emp,
           xmltable(('string-join(for $i in (' || rtrim(regexp_replace(ename, '(.)', '"\1",'),',') || ') order by $i return $i, "")'))
    OLDNAME    NEWNAME                      
    SMITH      HIMST                        
    ALLEN      AELLN                        
    WARD       ADRW                         
    JONES      EJNOS                        
    MARTIN     AIMNRT                       
    BLAKE      ABEKL                        
    CLARK      ACKLR                        
    SCOTT      COSTT                        
    KING       GIKN                         
    TURNER     ENRRTU                       
    ADAMS      AADMS                        
    JAMES      AEJMS                        
    FORD       DFOR                         
    MILLER     EILLMR                       
    14 rows selected.

Maybe you are looking for

  • Installation Failed

    I'm trying to install Photoshop CS2 onto a 24" iMac (Intel 2.4ghz) running Leopard. I've successfully installed on 4 other identical machines but this one is giving me a hard time. It proceeds through the installation process and gets to 'Installing

  • Need help on IPD file recovery

    Hi i have bb  8520 model( s/w version 4.5). i took baack up in dec 2010 in .ipd format  and  in may 2011 i took another back up in .ipd format.   then  i did a wipe out  of data from my phone (this was required as a IT policy in my new company). when

  • What is that slot for?

    OK at the risk of sounding like a real noob, I'm just gona go ahead & ask... What is that 3rd big slot on the right side of the MBA for? You have the mini-DVI, followed by a USB slot & then there is this unmarked "kinda like for SD" slot. TIA

  • Windows 7 unable to copy files in Aiport Disk

    I was just wondering if there's an existing fix to this problem. I am running a Macbook pro w/c can read and write to an airport extreme 's airport disk however my windows 7 w/c is on my lenovo(dual boot)is unable to copy files. Its XP partition can

  • Question about Windows 8 to 8.1 upgrade

    Satellite P55-A5312 with pre-installed Windows 8 My son had upgraded to Windows 8.1 but I'm not sure it was done correctly so I reset the PC to Windows 8 from the Recovery Partition to start over.  Looking at the upgrade instructions: http://support.