Word 2013 VBA to format a picture with tight text wrapping

I use a recorded macro to occasionally insert a small picture repeatedly at random places. Here is the code I use: 
Sub Sidewinder()
' Sidewinder Macro
Selection.InlineShapes.AddPicture FileName:= _
"C:\Users\Korndorb\Pictures\Sidewinder (573x409) (204x146).jpg", _
LinkToFile:=False, SaveWithDocument:=True
Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdExtend
Selection.Collapse
End Sub
I have not been able to have the macro select the picture and specify the word wrap format as "tight". The "selection.moveleft ..." was my recorded attempt at selecting the picture. That selected the picture, but the recorded attempt
to click on the little format icon and then select "tight" did not work because as soon as I click the format icon, the picture is de-selected. I would appreciate any help (Paul?)
Thanks - Bob K.
korndorb

Thank you very much, Paul. I wish it were easier to use help or other resources to handle simple questions like this in working with VBA. Or is there an easy help system that I've overlooked? I try the F1 key on error messages and that does lead me to a
solution, but not very often. And I never have comprehended or even seen a good presentation on this "object - properties - method, etc" structure. Perhaps if i had a better understanding of that then finding answers on my own would be easier. Any suggestions?
Anyway your solution totally worked, and thanks once again.
Regards, Bob K.
korndorb

Similar Messages

  • HT3529 i cant send pictures with my text.

    All of a sudden I can't send pictures with my text??

    http://support.apple.com/kb/ts2755

  • I bought an HTC one 2/28/14.  I had no trouble sending or receiving pictures with my texts.  I had to update my phone 6/5/14 and since that time I cannot send or receive pictures in my texts.  How can I fix that?

    I bought an HTC one 2/28/14.  I had no trouble sending or receiving pictures with my texts.  I had to update my phone 6/5/14 and since that time I cannot send or receive pictures in my texts.  How can I fix that?

    The thing is, before the update, I ALWAYS had my wifi on, and I had my mobile data off.  Worked flawlessly until the update.
    Verizon Wireless Customer Support <[email protected]> wrote:
    Verizon Wireless Customer Support  created the discussion
    "I bought an HTC one 2/28/14.  I had no trouble sending or receiving pictures with my texts.  I had to update my phone 6/5/14 and since that time I cannot send or receive pictures in my texts.  How can I fix that?"
    To view the discussion, visit: https://community.verizonwireless.com/message/1098171#1098171
    >

  • HT6154 Why can I not send a picture with a text on my iPhone or send a msg to two folks that are on my address book?

    Why can I not send a picture with a text on my iPhone or send a msg to two folks that are on my address book?

    No clue.  you didn't tell us what happens when you try...

  • Word 2013 VBA Complie error in hidden module: frmabout

    Cannot seem to find a resolution to this problem.
    Happening on one system and weirdly only one user profile.
    Each time the user of profile one opens or closes MS Word 2013 they receive a dialog box indicating the following.
    VBA : COMPILE ERROR IN HIDDEN MODULE: FRMABOUT
    THIS ERROR COMMONLY OCCURS WHE CODE IS INCOMPATIBLE WITH THE VERSION, PLATFORM, OR ARCHITURE OF THIS APPLICATION. CLICK "HELP" FOR INFORMATION ON HOW TO CORRECT THIS ERROR.
    On the same system user, profile two opens and closes MS Word 2013 without any error. 
    Word 2013 seem usable even with the error it's just annoying to the end user.
    System is not connecting to a domain or external server.
    Any assistance is appreciated.
    Art

    Hi,
    For the error message, the FRMABOUT macro code in that template is not compatible with any recent version of Word. We may try to find the template and rename it.
    The template is typically named FRMABOUT.dotm, although the number may be different depending on which version of the wizard you installed.
    There are three possible locations to find the template:
    %appdata%\Microsoft\Word\STARTUP
    C:\Program Files\Microsoft Office\Office15\STARTUP
    C:\Program Files (x86)\Microsoft Office\Office15\STARTUP
    For the first one, paste the path into the address bar of the file explorer and press Enter, so the %appdata% part gets expanded to the proper place in your user profile.
    The last of the locations will exist only if you're running 32-bit Office on 64-bit Windows.
    Look in each place and rename the file wherever you find it. Then restart Word.
    More reference:
    http://support.microsoft.com/kb/921541/en-us
    Regards,
    George Zhao
    TechNet Community Support

  • Right click with mouse in Word 2013 does not give the list with translate and synonyms etc

    since i upgraded to windows 8.1 right click on words in word 2013 does not open the regular list where you can tap on synonyms and translate. 
    it does work if i touch the screen.
    i moved to mouse mode but it does not help 
    can anyone help...
    i am starting to hate windows 8.1 and word 2013 because of this feature not working

    Hi
    I have tested in my computer and it worked well.
    Normally when we type a wrong spelling, right clicking the word does not give a list with translate and synonyms.
    Check to make sure your spelling is right.
    if the issue persists, Start Word in safe mode to check the issue:Hold "Ctrl" key and click into the program.
    It is also recommended that you do a repair for your Office suites in
    Control panel>Program and features>Office>Change>Repair
    Thanks
    Tylor Wang
    TechNet Community Support

  • I have one contact that i have been texting for months. About 5 hours ago, when I send a text I get an error message that the text couldnt be sent.  However, when I send a picture with a text message, then it goes through to the contact.  Why am I getting

    I have one contact that I've been texting for months,  about 5 hours ago, I started receiving an error that the text was not sent.  However, if I text a picture and then text with the picture the message goes through.  Why am I getting this error?

    You can also try out few things >
    1) check if the ipod constantly appears in mycomputer section .
    - if it does try changing the drive letter of the ipod and try to format the ipod drive(Right click format)
    2) if its not comin up in mycomputer then.. there has to be problem with the USB drivers in your computer
    you can try
    http://docs.info.apple.com/article.html?artnum=304508
    The best way to check whether the ipod is faulty or the computer is creating the problem is,
    connect the ipod to a different computer which has itunes on it(If possible)

  • Exchange Server 2013 - Mailflow - Transport Rules - Forwarding Emails with Specific Text to Another Email Address

    Hi There,
    We are soon to implement Exchange 2013.
    Question: Is it possible to have emails with specific text such as "..SND.." to an other email address specified as well as the original recipient?
    Thanks very much.
    Lisa.

    Hi Amit,
    Thanks for answering my question. I have one more. To enable rules like this do you need to have an Exchange Edge Transport server installed or is this configured from an admin console within Exchange itself?
    Thank you,
    Lisa
    Lisa Stanley

  • Word 2013 VBA Runtime Error 4198

    I havea macro thataddsrows in a table(over 500rows)aftera bit ofinsertionsreturnsthe errorruntime
    error4198.
    my codeis as follows:
    For i = 1 To Wx
            Selection.PasteAppendTable
     Next i....
    Thanks
    Marzio

    Hi,
    I have a document with
    the following table:
    I mustadd at least1000 linesvia VBA,I try todo it withthe
    following code:
    'Sub AutoOpen()
    Sub Macro1()
    ' AutoOpen Macro
    ' Macro created 03/05/2013 by gary and roger
    Dim UsPath$
    Dim Wx As Integer
    UsPath$ = Environ("userprofile")
    Selection.Find.ClearFormatting
    Selection.Find.Replacement.ClearFormatting
    With Selection.Find
    .Text = "[#Tipo]"
    .Replacement.Text = fVal$
    .Forward = True
    .Wrap = wdFindContinue
    .Format = False
    .MatchCase = False
    .MatchWholeWord = False
    .MatchWildcards = False
    .MatchSoundsLike = False
    .MatchAllWordForms = False
    End With
    Selection.Find.Execute
    Selection.MoveRight Unit:=wdCharacter, Count:=5, Extend:=wdExtend
    Selection.Copy
    Wx = 1000
    Selection.MoveDown Unit:=wdLine, Count:=1
    Selection.PasteAppendTable
    For i = 1 To Wx
    Selection.PasteAppendTable
    Next i
    End Sub
    the error is random
    Thanks Marzio

  • WD ABAP: Problem with Header text wrapping in Table Column

    Hi,
    I am unable to achieve Header Text wrapping for the TABLE columns. I have set the property "HeaderTextWrapping" to TRUE for each column and the "Fixed table layout" property has been set to TRUE.
    Is there some property of the table/column I have to set to achieve this? Or does selection of a specific property remove option of HeaderText Wrapping?
    Thanks,
    Adithya

    hi..
    Try increasing the width of column keeping other thing as it is as you have done. And yes check whether cell editor property wrapping is set true.

  • Word 2013 holds onto file after exit

    I regularly download a file via FTP as file yyy.doc on my hard drive. As soon as the transfer completes, I double-click on the file in Windows Explorer to open it in Word 2013. (I've got it configured to prompt me for "Convert File -- from Plain Text"
    during the open.) I then run some VBE macros to format the file, saving it in Word 2013 format but retaining the original .doc extension.
    Every now and then I hit a problem when I X-out of that document while I still have other Word docs open. I don't know if the issue is related to changes I may have made to the doc that I choose to discard on exit. But after what appears to be a clean exit,
    I re-run the FTP, downloading into the same file, yyy.doc. The FTP gets an error because the file is apparently still in use. Today several FTP's in a row failed due to this, then a short time later it worked. Other times I found that if I closed all the other
    Word docs, the FTP would start working successfully, but that may just be a timing thing, and eventually it might have worked even if I didn't close those other documents.
    After getting the error from FTP, if I try to delete file yyy.doc, which still shows up in Windows Explorer, it tells me that the delete can't be performed because the file is still in use by Word.
    I'm guessing this has to do with the "Welcome back" feature. (Incidentally, often it welcomes me back to my document after I have overlaid the previous version completely via FTP. How would that ever work?) Does anybody have any thoughts as to
    why the file remains in use by Word? Any way for me to change the current behavior?
    Rich G

    Hi Rich,
    Thank you for your feedback.
    I noticed that you mentioned "ran my Word 2013 macros to format the file and save it". What if you open and save it directly without running the macro? Just give it a try and see if issue persists.
    So actually the problem will go away after about one minute, I would suggest we try to run
    Process Monitor to track down the issue and see what's causing the delay (accessing the process).
    If you would like us to help analyze the Process Monitor log, you can send the log file to this email account:
    [email protected] and inform us here (the email subject should be the link of this thread).
    Regards,
    Ethan Hua
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Iphone5 cannot send Pictures with Texts?

    Have had my iphone5 for 3 months, have tried to send Pictures with my Texts, but failed. No problem sending pictures with e.mails or Facebook?

    If MMS is turned on in settings, & you can send/receive SMS's, 99.9% of the time, the problem rests with your carrier, not your phone. Contact your carrier & insure that MMS is properly provisioned on your account. If they tell you everything looks OK, have them re-provision MMS on your account.

  • Report (Word type) text wrap options

    Hi all:
    I am using the Report Generation Toolkit  in LabVIEW 8.5 and creating a report in MS Word.  I have the report looking good, but it is really more of a starting point for the user, so I want to make their use of the file in MS Word easier by making a change that I have not been able to make.  I include some graphs using the "Append Control Image" VI, but they are set to "Inline with Text" style text wrapping (a Layout option in MS Word).  I would like them to be "Square" text wrapping.  I have not been able to find anything in the RGT or any ActiveX property that even addresses this feature.  Does anybody know how to do this in LabVIEW?
    bj

    Hi BJ,
    I've looked through the VIs for Report Generation and I think your best option may be to set up a template for your report.  With a template, you can have all of the formatting taken care of beforehand and then simply insert whatever elements you want from LabVIEW.  Hope this helps!
    Stephen Meserve
    National Instruments

  • JTextArea as ListCellRenderer in JPanel with JSplitPane and text wrapping

    Hi.
    I have problem with JTextArea text wrapping. The JTextArea is used as ListCellRenderer in JList and it has set:
    textArea.setLineWrap(true);
    textArea.setWrapStyleWord(true);I can dynamically add new Notes, modify and remove notes on JList. The capacity of the Text is various so the size of cells is various.
    The JList is in JScrollPane configured like this:
    JList notesList = new JList();
    JScrollPane scrollPane = new JScrollPane(
                        JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
                        JScrollPane.HORIZONTAL_SCROLLBAR_NEVER
    scrollPane.setViewportView(notesList);This scrollPane is put on the left component in the JSplitPane.
    When I put one note with any capacity I want, word wrapping works great even if I move the splitter. The size of cells in JList changes as I want. When JList has more width the cells have less height, when JList has less width the cells height grows because of text wrapping.
    Problem
    Sometimes and I don't know when and why the cells size is fixed.
    I put new note to the list, JList lays the cell, calculate the size and disply it. It is good but when I move splitter the size of the cell is the same. It seems that during moving the splitter the JTextArea doesn't calculate their size.
    I would like in every cell in JList to see whole text wrapped. When I make more width by slider I would like to see whole text with less number of rows. When I make less width with the slider I want to see whole text wrapped and more higher cells.
    Can someone help me where to looking for ideas.

    Hi.
    I have problem with JTextArea text wrapping. The JTextArea is used as ListCellRenderer in JList and it has set:
    textArea.setLineWrap(true);
    textArea.setWrapStyleWord(true);I can dynamically add new Notes, modify and remove notes on JList. The capacity of the Text is various so the size of cells is various.
    The JList is in JScrollPane configured like this:
    JList notesList = new JList();
    JScrollPane scrollPane = new JScrollPane(
                        JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
                        JScrollPane.HORIZONTAL_SCROLLBAR_NEVER
    scrollPane.setViewportView(notesList);This scrollPane is put on the left component in the JSplitPane.
    When I put one note with any capacity I want, word wrapping works great even if I move the splitter. The size of cells in JList changes as I want. When JList has more width the cells have less height, when JList has less width the cells height grows because of text wrapping.
    Problem
    Sometimes and I don't know when and why the cells size is fixed.
    I put new note to the list, JList lays the cell, calculate the size and disply it. It is good but when I move splitter the size of the cell is the same. It seems that during moving the splitter the JTextArea doesn't calculate their size.
    I would like in every cell in JList to see whole text wrapped. When I make more width by slider I would like to see whole text with less number of rows. When I make less width with the slider I want to see whole text wrapped and more higher cells.
    Can someone help me where to looking for ideas.

  • Having problem opening my files and pictures with word 2013

    I  can not open my files and pictuers with office word 2013 ,everything goes to adobe and it would not allowed me to convert it to  office word 2013
    You can reach on  [email protected] or [email protected]
    thanks

    Gizmo,
    Select one of these files in the Finder, then press Apple-I to open a Getinfo window for it. Use the "Open With..." pull-down menu to choose Preview as the default application, then click the "Apply to All" button.
    If Preview is already set as the default application, try choosing another one, clicking the "Apply to All" button, then re-do the whole thing using Preview.
    Scott

Maybe you are looking for

  • When opening a new tab, how can you make the cursor automatically go to the address bar?

    In my previous version of firefox, the cursor would go directly to the address bar when I opened a new tab. Thus, I could start typing the web address I wanted to go to immediately. However I upgraded to Firefox 4 today and I now have to manually cli

  • Storing images on external hard drive but using iPhoto

    Hi I am a new apple user so I'm trying to figure out how to use iPhoto. I think it's a great way to organize my photos but I've run into the problem of my hard drive getting to small for my images so I wan't to put all of my images on an external har

  • How to extend wireless with airport express and time capsule

    So, I have a time capsule & because of the thick walls in my apartment, I can barely use my ipad and iphone at night in my bedroom! (my macbookPRO stays at 3 bars however!) I bought an airport express thinking I could plug it closer to or inside my b

  • User Details Data Source

    Hello all, I´m working to configure the user search data source and also user details data source from our GRC AC environment. Bellow my doubt: Can I configure GRC AC to automatically fill the Manager field in the access request screen? Obviously the

  • MaxDB 7.x and its reorganization + SAN cloning/snapshotting

    We are currently in the process of evaluating a new storage solution for all our SAP (= MaxDB) systems. Given the case we'd produce a snapshot from our production system (3,1 TB) and present the results of that to another server to create a test syst