I'm trying to reduce the size of a form, so I want to hide and show sections based on input.
It's not efficient to program in all of the items I need to show,
I've already written more than 100 lines for one page and there are
eighteen pages total. The pages contain a mix of Tables, images,
paragraphs, and ActiveX object (textbox, combobox, etc)
.
I was looking around and there was a hidden method that existed for
tables previously. But I tried it and found out that it doesn't work
for Word-2010. Are there any replacements for this?
My thoughts
Right now the only thing I can think of is putting unique IDs all over the file, when I need to replace one with a table I can search for the UID and get its range then insert the table there. CONS: Believe me, it'll take a week at best. This also doesn't deal with images and leaves annoying UID's in plain sight of the user. I think Any other solution is better than this.
I'm hoping there is an object I can put everything in, then hide it.
Is there a way to do this?
Related
I often spend hours bringing pictures into PowerPoint templates one by one and trying to customize the way a presentation whose behavior is very different.
If there were a way to randomly select an image from all of the images on a different slide or excel file or folder and have them appear based on the probable weight assigned to them, it would be a huge time saver.
I've seen various methods of having a random object appear, and some of them don't even require a macro, but importing the images is always very time consuming. If anyone knows of a better/faster way to link a folder with a group of images or something along these lines to an object that is randomized, please help.
Importantly, showing a random image from a batch group without customizing the way each image is brought in is the hard part. Adding weight helps, but it could be done by duplicating important images repeatedly.
Sorry I can't embed images, I have the links instead (... I can only post two links. I have removed the http:// substring from some of the links).
I am looking to take an .csv file (really, any file, as I am generating this myself), and create a Visio (2010) diagram out of it. I have successfully imported the excel sheet to Visio, and can create some rough diagrams, but they are not enough. This is what I'm trying to create. Here are the following tactics I have tried, I prefer the VB method, but whatever works works:
Data Graphics: This is the closest I've gotten to a solution. Basically you create shapes and you can put data in it. Problem is, the style of display available are limited, as we can see here (imgur.com/clTLcxk). After importing the excel sheet, all I had to do was drag and drop to create these shapes. The closest I have gotten is here. However, I really need the outside box (or container, for aesthetic reasons). (Some information here [support.office.com/en-us/article/Enhance-your-data-with-data-graphics-45af64a4-1dcb-4463-9a7e-67709786181c])
VB: I have been using this (msdn.microsoft.com/en-us/library/office/ff959245%28v=office.14%29.aspx). I have ran some of the example code, but I am really lost. I have run some of the example code but the only one I have really gotten to work are useless to me. Also, I don't see any API methods that actually add data to these diagrams!
So how is this done?
I would approach this problem by first defining or finding Visio masters that would the data I'm drawing to the page. In your case it looks like you'd want a master for your Foo items, and one for your Bar items.
So then you'd step through your Bars, then within each Bar you'd have one or more Foos. For each Foo, you would drop that master out, and set the text of the shape to what you want in the blue Foo section (maybe a grouped sub-shape for the Foo master), and then text in the white body.
When stepping through all the Bars, you'd obviously have to drop out a Bar shape and position/size it to contain all the Foos.
I'm writing VBA to process MS Word documents, and I need it to examine the contents of individual pages and generate related header/footer text from that. Is there a way to do this without creating new Sections?
I need the document to flow as it should, unbroken by Sections, but I also need (some of) the header/footer text to be distinct, per page. I know this is unusual due to auto-flowing pagination, etc. But, it really is necessary in this case; pieces of the header/footer must tie directly to each page's contents. That said, it may not be mandatory to have the text actually inside the "proper" header/footer; but, I do need the end result to be to that same effect.
Any tips? Can headers/footers be used for this? (In my research, it appears they may not be able to, although I may be missing something. Any other tips, if not? Perhaps some sort of special field/box?)
Note: Obviously, running this code would be a final step (once the document is in final form) since any editing of the document would re-flow its layout, modifying page contents.
If you don't want to use sections, you can use conditional IF fields like this:
{IF { PAGE } = 2 "Second Page" "Other Page" }
Note that you need to create nested fields for that, e.g. by pressing Ctrl+F9.
I want to make a editable PDF document – but I want to take it a step further.
Is it possible to create some editable fields on the first page where the user can put in personal information (name, age etc.) and have the document fill itself in where "name" is required?
I need this for some employment contracts and it would be alot faster if the user only needs to fill the information in once, print the PDF and sign it. :)
In PDF a single form field may have multiple widgets. By definition all these widgets have the same content.
E.g. have a look at thie sample document aFieldTwice.pdf. You see two fields. As soon as you edit one of them and press enter, the same content occurs in the other one.
This might be what you look for.
I created an RDLC report (based on a stored procedure) that contains lists. I need to display data from one of those lists in the report footer across every page. However this data only shows in a list on the first page, so that is the only page on which it shows in the footer also. I’ve researched this but haven’t found much information. Does anyone have a solution for this?
Something you can try, don't know for sure if it will work. Create a formula that returns the data you want to display, then put the formula field on a text area in the footer.
I ended up placing a textbox in the second page area, setting the text color to white and sending it to the back. If I hid the textbox (or table - I tried that too), the footer object could not reference it. So, setting the text color to white and placing it behind another object worked. It seems like this is a kludgy way to do a simple report operation but is apparently necessary.