ms-word

Editing word documents in a web page

你离开我真会死。 提交于 2021-01-27 18:02:27
问题 I realise this question has been asked many times before but a lot of them are old now without an answer. I have a need for users to be able to edit word documents from my web page. Are there any editors, or components, that will allow me to do this? A bit of background, the user will be able to upload a word document to my site and then view/edit it from there. There will be no requirement for the user to download the document again but ideally I'd like to keep the document as a word doc at

VBA in Word: Programmatically add content control with a style

半腔热情 提交于 2021-01-27 16:01:24
问题 When programatically adding a rich text content control to a Word .docm using VBA, is there a way to set a style for the contents? As a comparison, if I create a content control manually using the Word Developer toolbar, I can select "Use a style to format contents" in the properties dialog for the content control. The result I want is the same as if I did it that way, except I need to do it in code. Here's the code I have that adds the content control, it's triggered by a command button

Refresh built-in Ribbon button after Options.DefaultHighlightColorIndex change and avoid exiting “Text Highlight Color”

五迷三道 提交于 2021-01-27 13:27:04
问题 What I'm trying to get working: activate the Text Highlight Color command via a keybinding (not the problem) cycle through 5 of the Default Text Highlight Color s via the same keybinding (or just highlighting the selection, depending on selection.type checked outside the function below) showing the current Color in the corresponding button (built-in ribbon) Where I'm stuck: Sub cycleThroughSomeDefaultHighlightColorIndexOptions() Dim zeNewColor As Long Select Case Options

Find and Replace footer text in Word with an Excel VBA Macro

那年仲夏 提交于 2021-01-27 12:12:23
问题 I'm trying to make a macro in Excel which opens a Word document, find a especify text, which is inside of footer in word doc, and replace it for a text. At the moment, my macro opens the word doc but I couldn't figure out how to get into footer and find those texts. Dim objWord Dim objDoc Set objWord = CreateObject("Word.Application") Set objDoc = objWord.Documents.Open(ThisWorkbook.Path & "/NotaPromissoriaAutomatica.docx") objWord.Visible = True The footer have two texts which have to be

regression models in r output table to word

吃可爱长大的小学妹 提交于 2021-01-27 06:33:49
问题 I have been using sjplot to create a combined table. This creates a HTML table. I would like to make a table that can be exported to word. I have reviewed this post which discusses copy and pasting into word, but this alters the formatting of the columns and lines. Output several regression tables into multiple pages of a Word document in R n1 <- glm(N ~ Age_2 , data = n_data, family = "binomial") g1 <- glm(G ~ Age_2 , data = g1_data, family = "binomial") ga1 <- glm(G_1 ~ Age_2 , data = ga1

regression models in r output table to word

寵の児 提交于 2021-01-27 06:33:01
问题 I have been using sjplot to create a combined table. This creates a HTML table. I would like to make a table that can be exported to word. I have reviewed this post which discusses copy and pasting into word, but this alters the formatting of the columns and lines. Output several regression tables into multiple pages of a Word document in R n1 <- glm(N ~ Age_2 , data = n_data, family = "binomial") g1 <- glm(G ~ Age_2 , data = g1_data, family = "binomial") ga1 <- glm(G_1 ~ Age_2 , data = ga1

regression models in r output table to word

吃可爱长大的小学妹 提交于 2021-01-27 06:32:29
问题 I have been using sjplot to create a combined table. This creates a HTML table. I would like to make a table that can be exported to word. I have reviewed this post which discusses copy and pasting into word, but this alters the formatting of the columns and lines. Output several regression tables into multiple pages of a Word document in R n1 <- glm(N ~ Age_2 , data = n_data, family = "binomial") g1 <- glm(G ~ Age_2 , data = g1_data, family = "binomial") ga1 <- glm(G_1 ~ Age_2 , data = ga1

Store image in Word document to insert later

匆匆过客 提交于 2021-01-25 08:03:57
问题 I am currently building a word-template for a report. In this report are used red separators as part of the design. The separators are basically just images of red, curved lines. Instead of copy and pasting these separators when needing them, is there a way to store the image somewhere in the document, allowing it to be inserted with just the click of a button in the ribbon? My first bet would be to create a macro somehow that would insert the image, however that would require the image to be

Multiple Kable Tables with Images

℡╲_俬逩灬. 提交于 2021-01-24 05:45:36
问题 I'm trying to create multiple tables using kable from a csv file, but the requirement is that I need to also put an image in the table as per the below image. The entire image needs to be in the left column. Is this possible? The dataframe looks like this: df<-data.frame(Amount= c('$25', '$45', '$75'), Rate = c('1%', '1%', '3%'), Location = c('Germany', 'Switzerland', 'England'), ImageName= c('GE.png', 'BE.png', 'CE.png'), Status = c('Sold','Unsold','Sold') ) So far my R code is --- output:

Multiple Kable Tables with Images

牧云@^-^@ 提交于 2021-01-24 05:45:18
问题 I'm trying to create multiple tables using kable from a csv file, but the requirement is that I need to also put an image in the table as per the below image. The entire image needs to be in the left column. Is this possible? The dataframe looks like this: df<-data.frame(Amount= c('$25', '$45', '$75'), Rate = c('1%', '1%', '3%'), Location = c('Germany', 'Switzerland', 'England'), ImageName= c('GE.png', 'BE.png', 'CE.png'), Status = c('Sold','Unsold','Sold') ) So far my R code is --- output: