Стельмашук Н., Б-39
Отчет по лабораторной работе № 3
Тема: Создание макросов в т.р. Word.
Задание:
Создание макроса для оформления шаблона документа blank.dot
Cервис - макрос – начать запись – изменение имени на МакроWA – вставка – объект Word Art- завершить макрос. Сервис – настройка – команды – добавляем макрос на панель инструментов – выделяем макрос – «изменить выделенный объект» - «текст только в меню» - «выбрать значок для кнопки».
Selection.InlineShapes.AddPicture FileName:= _
"D:TEMPPROFAll UsersDocumentsMy PicturesSample PicturesWater lilies.jpg" _
, LinkToFile:=False, SaveWithDocument:=True
Создали макрос аналогично макросу МакроWA, который вставлял бы рисунок, Присвоили имя макросу МакроРис.
Selection.InlineShapes.AddPicture FileName:= _
"D:TEMPPROFAll UsersDocumentsMy PicturesSample PicturesSunset.jpg" _
, LinkToFile:=False, SaveWithDocument:=True
На основе двух созданных макросов создали один, используя редактор VBA и сохранили под именем МакроWAR: сервис - макрос – макросы – выбираем макрос МакроWA – «изменить» - копируем текст макрома Макро Рис и вставляем после текста макроса МакроWA. Для вызова создали кнопку: Сервис – настройка – команды – добавляем макрос на панель инструментов – выделяем макрос – «изменить выделенный объект» - «текст только в меню» - «выбрать значок для кнопки».
Selection.InlineShapes.AddPicture FileName:= _
"D:TEMPPROFAll UsersDocumentsMy PicturesSample PicturesWater lilies.jpg" _
, LinkToFile:=False, SaveWithDocument:=True
Selection.InlineShapes.AddPicture FileName:= _
"D:TEMPPROFAll UsersDocumentsMy PicturesSample PicturesSunset.jpg" _
, LinkToFile:=False, SaveWithDocument:=True
Создали макрос, который: добавляет страницу в текст ( вставка – разрыв – «начать новую страницу») и необходимо, чтобы ориентация этой страницы была альбомная ( файл – параметры страницы – ориентация альбомная). Присвоили имя макросу МакроПС.
Selection.InsertBreak Type:=wdPageBreak
With ActiveDocument.Styles(wdStyleNormal).Font
If .NameFarEast = .NameAscii Then
.NameAscii = ""
End If
.NameFarEast = ""
End With
With ActiveDocument.PageSetup
.LineNumbering.Active = False
.Orientation = wdOrientLandscape
.TopMargin = CentimetersToPoints(3)
.BottomMargin = CentimetersToPoints(1.5)
.LeftMargin = CentimetersToPoints(2)
.RightMargin = CentimetersToPoints(2)
.Gutter = CentimetersToPoints(0)
.HeaderDistance = CentimetersToPoints(1.25)
.FooterDistance = CentimetersToPoints(1.25)
.PageWidth = CentimetersToPoints(29.7)
.PageHeight = CentimetersToPoints(21)
.FirstPageTray = wdPrinterDefaultBin
.OtherPagesTray = wdPrinterDefaultBin
.SectionStart = wdSectionNewPage
.OddAndEvenPagesHeaderFooter = False
.DifferentFirstPageHeaderFooter = False
.VerticalAlignment = wdAlignVerticalTop
.SuppressEndnotes = False
.MirrorMargins = False
.TwoPagesOnOne = False
.BookFoldPrinting = False
.BookFoldRevPrinting = False
.BookFoldPrintingSheets = 1
.GutterPos = wdGutterPosLeft
End With
Другие работы по теме:
Learning foreign languages in Russian schools
Автор: Разное Learning foreign languages in Russian schools There’re many schools in Russia which curriculum has English. And it’s justified. There is no program, rusified or non-rusified, which is free from English words, no programming language, except JARRS, which has no functions or operators, came from English, but there are so many books, devices’ user instructions that have no word which is not an English word.
Макросы в C++
Как было замечено, почти каждый макрос проявляет свой изъян или в языке, или в программе. Если вы хотите использовать макросы, прочитайте, пожалуйста, вначале очень внимательно руководство по вашей реализации C препроцессора.
Анализ макросов в Microsoft Office Word 2007
Изучение понятия, видов и методов создания стандартных макросов Microsoft Office Word - набора инструкций, которые сообщают программе, какие действия следует выполнить, чтобы достичь определенной цели. Функции макрорекордера. Редактирование макросов.
Решение задач с помощью задания формул и создания макросов
Суммирование элементов столбцов заданной матрицы и получение результатов в одномерных массивах с помощью задания формулы и создания макросов. Нормирование вектора и нахождение его длины, объявление массива, указание его размерности, вывод формы.
Управление подключением макросов в приложениях Office
Приложения Office (начиная с 2000) имеют три уровня безопасности для управления загрузкой макросов, а также возможность использования цифровой подписи. С помощью этих механизмов можно более гибко управлять режимами загрузки.
Создание макросов
Запись макроса При записи макроса все необходимые действия записываются программой записи макроса. Перемещение по ленте не включается в записанные шаги.
Drugs Essay Research Paper DrugsDrugs What do
Drugs Essay, Research Paper Drugs Drugs. What do we know about drugs? What do we imagine when we say this word? White powder or a young person, wiping out any possibility for his future to grow, killing him slowly. Drugs came in our life and destroyed any relations between parents and children. I say “any” because this is the word, defining exactly what happens when a child starts taking drugs.
Jefferson Essay Research Paper I feel that
Jefferson Essay, Research Paper I feel that I would be considered a Jeffertonian because I think the common man should run the federal government, like Jefferson thought. I think the federal government
The Adventures Of Huckelbery Finn Essay Research
Paper Is This a Racist Novel? Mark Twain wrote ?The Adventures of Huckleberry Finn? in the 1800?s. During this time slavery was socially acceptable. Even in the church it was taught that there was nothing wrong with slavery. Black people were often referred to as ?niggers?. Huck, even though he was a friend of Jim, didn?t even think twice about calling a black person a nigger.
Words Essay Research Paper What is a
Words Essay, Research Paper What is a word? A word is defined as a speech sound, or series of them, serving to communicate meaning. People have been taught that certain words have certain meanings, some good, some bad and some both. A word is not responsible for the meaning it is intended to have, and therefore, no word is a bad word.
Americanisn Essay Research Paper What Kind of
Americanisn Essay, Research Paper What Kind of an American Am I? What kind of an American am I? To summarize it up into one word, I’m a proud American. To explain the characteristics that the word proud means to me, I took each letter in the word and made a new word. The new words represent the kind of American I am.
Should Huck Finn Be Read In Schools
? Essay, Research Paper THE CONTROVERSY: SHOULD HUCK FINN BE TAUGHT IN SCHOOLS? The reading of the book, Huckleberry Finn in high schools is a big controversy that has been going on for years. Many people believe that it should not be required to read in schools while some believe that it should be read in schools.
Change Essay Research Paper Change as changing
Change Essay, Research Paper Change as changing times and techology…………….. People often use these terms without realizing that word CHANGE has neither a denotation nor a connotation of advancement,improvement or progress; a change can take place at any direction: forward, backward, up and downward!
Honesty Essay Research Paper Honesty is the
Honesty Essay, Research Paper Honesty is the telling of the truth. It is being there when you say you will be there. It is putting up with the bullshit, without questions, even when you believe it is wrong. The only thing you have in this life is your word, and without that, you have nothing. Everyday my honesty is questioned, without merit, without an explanation.
Emmas Dilemma Essay Research Paper EmmasDilemma In
Emma?s Dilemma Essay, Research Paper Emma?s Dilemma In my investigation I am going to investigate the number of different arrangements of letters in a word. e.g. Tim Is one arrangementMit Is another First I am going to investigate how many different
Nihilism Essay Research Paper The word Nihilism
Nihilism Essay, Research Paper The word Nihilism comes from the Latin root for nothing , with more ancient connections withthe word for trifle . Nihilism is the general phenomenon of human values having no power, inthat questions about meaning fail to yield answers that are trustworthy or in the truth, but rather avoid of senseless silence.
Swearing Essay Essay Research Paper Cussing using
Swearing Essay Essay, Research Paper Cussing, using profane language, making obscene gestures, whatever its called it is swearing. Swearing has become a common expressions this day in age and used
Iago And Honesty In Othello Essay Research
Paper Iago and Honesty in Othello Aleeza Gerstein April 21, 1999 Iago uses the word honest in act three of Othello in three primary ways. The first way he uses it is to mean honourable, about Cassio. He uses this meaning of the word to force Othello to doubt Cassio s honesty, and question his hounorablility. The second way is to mean faithful, both about Desdemona and Cassio.
My Hero Essay Research Paper We hear
My Hero Essay, Research Paper We hear the word hero all of the time. The news media throws the term around as if it is an everyday word. What exactly is a hero? Who, or what, can be classified as a heroic? The correct definition of the word hero is: One invested with heroic qualities in the opinions of others. That is a fine definition for books and intellectual minds.
Success Essay Research Paper SuccessWhen we define
Success Essay, Research Paper Success When we define at the word success, there are many meaning to it depending on how you look at it. But when we narrow it down, we can defined it as accomplishing a certain goal.
Ethnic Groups And Minorities Essay Research Paper
Ethnic Groups and Minorities The word minority is a word that is mentioned a lot in our society today. The media use it frequently, and they are using it when they are referring to the blacks, Latinos, and Jews in our society. They are labeled into groups like ethnic groups or minorities. The word minority means something small.
The Word Night In Macbeth Essay Research
Paper Macbeth Essay Audience: A teacher In the play Macbeth by William Shakespeare, several words recur in the book that portray different ideas, such as night . The usage in Act 2 describes strange things and even murders, while in Act five, usage changes to small talk, such as Good Night etc. Yet another example of this occurs in Act 3, where night usage differs from the previous occurrence.
Gay Definition Essay Essay Research Paper GayThe
Gay (Definition Essay) Essay, Research Paper The word gay originated from the Old High German word gahi, which means ?rapid and impetuous.? In the twelfth century, the word gahi gave rise to the Middle French word gai, meaning ?merry and happily excited.? The English word gay was borrowed from the Middle French word gai in the fourteenth century.
An Entymology Of The Word Fuck Essay
, Research Paper Fuck! Is that offensive to you? Why is the word ?*censored*? such a taboo word in the English language as opposed to its definition of ?copulation?? It would seem to make sense that if a word is offensive it?s meaning would be twice that. Strangely, sex is not an offensive word at all, and is used frequently in formal conversations and writings.
Project 2 Cases 2 Essay Research Paper
Project 2 Cases 2 There are several features in Microsoft Word 2000 that makes document making simple. With features like Automatic Spell Checking, that places a red wavy line under the word that is misspelled automatically. Auto Correct, which automatically corrects commonly, made mistakes that are predetermined in Word.
Chicken Or Egg Essay Research Paper Which
Chicken Or Egg Essay, Research Paper Which came first, Chicken? Or Egg? The answer is that this is the wrong question. The trouble here is the word ‘First’s. A human life contains many firsts, so the word comes easily to our lips. For example, a creationist could ask how the metamorphosis of a butterfly occurred for the ‘First time’.
Chaucer Reaction Paper Essay Research Paper I
Chaucer Reaction Paper Essay, Research Paper I’m really not sure how a lot of things I took away from Cheryl Brown’s Lecture related to the Canterbury Tales, but they are worthy of reaction nonetheless. I wonder really if we are limited in the English Language with a word like “love” that can mean so many different things.
Parent Essay Research Paper What does the
Parent Essay, Research Paper What does the word parent mean to you? The definition of this word is, one who begets, gives birth to, or nurtures and raises a child; a father or a mother. Yet, one interprets this word difrently depending on what life has had to offer us.
Love Is A Beautiful Thing Then Your
Friends Stab You Essay, Research Paper The word love has thousands of meaning but in the end it can mean only one thing. Now over the years the word love had totally lost it’s meaning, but that’s not important to this essay. We are looking back at a time when love was a word that you didn’t throw around. When love still had meaning.
Civics Essay Research Paper Civics is the
Civics Essay, Research Paper Civics is the study of citizenship and government. The word comes from the Latin word CIVIS, meaning “citizen.” In ancient Rome, where the word was first used, only wealthy landowners were allowed to be citizens. As such, they enjoyed special privileges that the common people did not share.
What Does The Word Parent Mean To
You? Essay, Research Paper What does the word parent mean to you? The definition of this word is, one who begets, gives birth to, or nurtures and raises a child; a father or a mother.
Microsot Word 2000 Essay Research Paper Name
Microsot Word 2000 Essay, Research Paper Name and Type: -Microsot Word 2000 -Word Processor Producer/Maker: -Microsoft Corporation -The creator of the popular Windows operating system founded by Bill Gates.