arisley28
05-30-2013, 08:58 AM
After programming with VBA in Excel for the last 10+ years, and now trying to translate my skills to Word, I can say I have a newfound respect for anyone who can use VBA with Word. So far, anything I have tried to do has been like herding cats.
With that bit out of the way, here is the problem I am facing: I have taken on a new project where I have to work out the kinks of a system-generated report built in Word. Not sure which version it was built for initially, but the current version we use is 2007, which may or may not be part of the problem. I will admit I am a novice with Word, and my Excel VBA skills have helped me very little here so far. (Trying to record a macro in Word is so much harder it is making my head spin.)
There are two main tasks that I am charged with. The immediate task is to build a macro to find and fix footers with image size and/or placement issues. Issues can range from the appearance of the image to its position relative to another image - both in terms of white space and overlapping -to images covering text. This doesn't happen every time, but when it does, it takes our sales staff hours to fix the footers themselve, or the admins/support staff/anyone else but them to whom they delegate the task. I realize that there are a laundry list of issues that I may have to be able to address, but I will start with two simple (I hope) tasks to ask for help with:
1.) How can I determine the position (both absolute position in the footer and relative to another) of 2-3 images in footers?
2.) How can I resize images in the footer if they overlap?
The long-term task I am charged with is to become a content area expert for this process and document with zero background information, and no one else left knows anything about this process. All of the folks who built the report template or the application that uses it are long gone and didn't document anything. I am going to have to reverse engineer some of the updates to this template, and I would like to find out what I am working with, which brings me to my next request - Is there anyone who has built a procedure that can show me exactly what is in a single page of a document and where? This would be an exhaustive list of text, headers, footers, comments, formats, images, objects, tables, and literally anything else present.
If anyone is willing to help, either within this thread or by PM, I would appreciate it. If I need to break this thread up, I can do that. I also know that I don't know what specifics to ask or even where to start and am feeling a little overwhelmed at this point, so I would appreciate any help anyone can provide.
With that bit out of the way, here is the problem I am facing: I have taken on a new project where I have to work out the kinks of a system-generated report built in Word. Not sure which version it was built for initially, but the current version we use is 2007, which may or may not be part of the problem. I will admit I am a novice with Word, and my Excel VBA skills have helped me very little here so far. (Trying to record a macro in Word is so much harder it is making my head spin.)
There are two main tasks that I am charged with. The immediate task is to build a macro to find and fix footers with image size and/or placement issues. Issues can range from the appearance of the image to its position relative to another image - both in terms of white space and overlapping -to images covering text. This doesn't happen every time, but when it does, it takes our sales staff hours to fix the footers themselve, or the admins/support staff/anyone else but them to whom they delegate the task. I realize that there are a laundry list of issues that I may have to be able to address, but I will start with two simple (I hope) tasks to ask for help with:
1.) How can I determine the position (both absolute position in the footer and relative to another) of 2-3 images in footers?
2.) How can I resize images in the footer if they overlap?
The long-term task I am charged with is to become a content area expert for this process and document with zero background information, and no one else left knows anything about this process. All of the folks who built the report template or the application that uses it are long gone and didn't document anything. I am going to have to reverse engineer some of the updates to this template, and I would like to find out what I am working with, which brings me to my next request - Is there anyone who has built a procedure that can show me exactly what is in a single page of a document and where? This would be an exhaustive list of text, headers, footers, comments, formats, images, objects, tables, and literally anything else present.
If anyone is willing to help, either within this thread or by PM, I would appreciate it. If I need to break this thread up, I can do that. I also know that I don't know what specifics to ask or even where to start and am feeling a little overwhelmed at this point, so I would appreciate any help anyone can provide.