A macro in computer science is a rule or pattern that specifies how a certain input sequence should be mapped to a certain output sequence according to defined rules and procedures. **Consider using [tag:vba] tag instead of this one if the question concerns a Microsoft Office product. This helps ...

learn more… | top users | synonyms (1)

1
vote
1answer
25 views

Word macro to change page color

I am attempting to create a Word macro (Microsoft Word Professional 10) to change the page background color. I began by recording the keystrokes - this is the recorded macro: --- Sub WritingLayout() ...
1
vote
1answer
34 views

Assistance with Excel macros

My company uses Excel to track inspections and maintenance of portable fire extinguishers and I'm trying to add some functionality to it but don't have the first clue about how to do it. I'll do my ...
0
votes
1answer
20 views

Copy Full worksheet including multiple defined range names using macro or VBA

I've been trying to build a workbook for my company to use to track sales. The problem I'm running into is that I want each user to have their own workbook saved on their local computer for their ...
0
votes
0answers
24 views

Email Macro Assistance [on hold]

I am not experienced in writing VBA Macros & need assistance to create the following Macro. What I am working with is 25 rows of data in Excel where I need a macro written. The request is that the ...
0
votes
0answers
15 views

Plug-in command in Notepad++ Macro

I'd like to create a Notepad++ Macro executing the following commands: 1) Plugins -> Compare -> Compare. 2) View -> Word Wrap. Is that possible? Is there another workaround for the ...
2
votes
0answers
18 views

Outlook macro to remove text and insert signature

(Note: I've never messed with VBA before; sorry for probably terrible code!) I'm trying to make a macro that first removes paragraphs containing specific terms (hardcoded into the macro), then sets ...
1
vote
0answers
19 views

How to use Excel 2010 VBA to set series line color, marker fill, and marker line color

I am trying to write an Excel 2010 VBA subroutine to format charts according to a predefined (i.e., defined by me) standard. The particular attributes that I want to be able to set are merely the ...
0
votes
0answers
11 views

Macro stopped working and now have a password

I use 2013 Excel at work. We have a workbook with a Macro. The Macro is unresponsive and the workbook now has a password. No one chose a password. It did this without our knowledge. This ...
0
votes
0answers
4 views

Quicksilver - Keyboard macro to select all text to right of cursor

At one point, I had this set up on another machine, but I don't have that mac anymore. I would like a global override to have cmd+shift+right arrow select all text to the right of the cursor on the ...
-2
votes
0answers
13 views

macro to collect data from number of sheets to main page and need to add the sheet name that where the data collected

Please help me..,I need a macro to collect data(Student names) form number of Sheets(Class Name).all student names collected from sheet1, then a new column added with the sheet name (i mean ...
-6
votes
0answers
27 views

Need to figure out where to start with programming and making my own macros [closed]

When I was a Windows user, I liked the program Macro Express because it was able to speed up tasks where I needed to collect data by doing repetitive key strokes, changing windows, etc. Now switching ...
0
votes
0answers
13 views

Getting Razer Blackwidow macro keys on linux

I've read Getting macro keys from a Razer BlackWidow to work on Linux and the python script didn't work for me so I compiled the haskell from source. I changed my product ID in main.hs and everything ...
1
vote
3answers
203 views

Can't click on ActiveX control in Excel 2010 Standard

I have a .xlsm file that has ActiveX control button with a module macro assigned to it. Problem is I can't click the ActiveX button from my Excel 2010 Standard. I tried to repair and reinstall Excel ...
0
votes
0answers
19 views

What is the fastest way in Windows to move the cursor to the URL box of the address bar? [on hold]

In windows, I'm using the URL address box for to-do notes, etc. So I figured a way to reach it via keyboard, which is : Windows-Key + 'B' , then Shift+TAB This is 4 button-presses. I feel that we ...
0
votes
0answers
11 views

When enter key is pressed, find the next instance of searched word

I have recorded the macro for the process of finding word. Whenever I hit enter button it will go to the next occurrence of searched word.How can I do it programatically using macros. When I click ...
1
vote
1answer
15 views

How to highlight multiple searched words in a document?

I have a file which has words to be searched in it. I want to highlight those words in active document. For example: style.docx: school Agro commercial abovementioned some words physics Active ...
0
votes
1answer
30 views

ESC key on laptop keyboard not working - use a macro instead

I spilled beer on my laptop and now the esc key on my laptop’s keyboard does not work. I have Windows 8 installed on the laptop. Is it possible to define a macro to simulate the esc key? I am ...
0
votes
0answers
6 views

How to edit Sublime Text 2 Macros

How can I edit Sublime Text 2 Macros? What program to use to open the file (example - MyMacro.sublime-macro)? Also, how can I delay the keyboard typing in playing the macro? I hit record macro, then ...
0
votes
0answers
11 views

Why LibreOffice control is not updated?

I have created a few simple macros that create a dialog and read one of the controls text. The ReadWrite Macro is attached to a button. It reads a text from textfield and prints it. However when I ...
-1
votes
0answers
15 views

Excel how to freeze a range

I have used a macro that copy a cell and paste it under the cell. So i have data in A5 and my macro moves data in A5 into A6 then it moves data A5:A6 into A6:A7 etc. Then i have for instance another ...
0
votes
0answers
26 views

Macro to increment date from a start date to finish date

I'm a beginner in macros. I have start_date value in cell B4 and end_date value in cell C4. I need a macro that can write the dates from a start_date (the saturday just before the start date) to ...
1
vote
0answers
35 views

MS Word 2010 - How do I create a universal macro that will auto-insert a header if none exists?

I'd like to create a macro enabled template that will automatically insert a header into a document if none exists. This is in order to work around a printing issue that cuts off the top of the ...
0
votes
0answers
6 views

TeXstudio select whole line

I like the CTRL+L shortcut in SublimeText and would like to have it in TeXstudio, too. What it does: It selects the whole current line and places the cursor at the beginning of the next line. That ...
1
vote
1answer
22 views

Outlook 2007: Is There an Event That Fires If a Rule Is Being Enabled or Disabled

I have written a bunch of macros that allow me to enable or disable a specific Outlook rule (i.e., delayed sending of messages) via a toolbar button. They also change the button's appearance to show ...
1
vote
1answer
44 views

VBA code to select the first shape in the current active paragraph

In Word 2013, I need a simple VBA code in my macro which selects the first shape that exists in the current active paragraph. Note: the shape that I need the code to select is a custom shape that I ...
1
vote
2answers
60 views

Macro for cleaning all sheets in a workbook (VBA - Excel 2010)

I have a macro file with 5 sheets and I would like to add a VBA command button into the same file to clean all workbook contents with a single click. Does anyone know how to do it by using VBA on ...
-1
votes
0answers
26 views

Macro to update Date in Specific row in excel

I want macro to update current date in cells M10, M15, M18 and M19 Ex: If format of the date is 01-11-2014,then, macro should update cells M10,M15,M18:M19 with 1 ...
0
votes
1answer
24 views

Macro to merge data on to template

I am attempting to basically do a mail merge in Excel. I would like to take employee data from one Excel worksheet and populate fields on an Wxcel template. So far I have written code to open the ...
0
votes
2answers
51 views

how to automatically run an Outlook macro?

i have developed an outlook macro and want this macro to run automatically without any prompt or mail from the user whether the outlook is on or not. Private Declare Sub keybd_event Lib "user32" ...
0
votes
0answers
14 views

file type association error

i keep my doskey macros in a separate file with .macro file extension, and can load them using doskey /macrofile=macros.macro for the specific console session i want to use windows os feature of file ...
0
votes
1answer
43 views

Open a Specific File in a Specific Folder, along with a Specific Sheet

The code below opens up a specific file in a specific folder, but not a specific sheet: Sub test() Dim myfile As String myfile = Cells(1, 1).Value & Cells(1, 2).Value & ...
0
votes
1answer
37 views

excel macro to reset/refresh a table column having dropdown

A newbie to excel macro so kindly bear if my question looks stupid. I have created a table (listobjects ) in worksheet having four columns. The fourth column is incorporated with drop downs through ...
0
votes
1answer
61 views

Copy Active Cell Comment in Excel into a new word file

i do not know much about Macros, is it possible someone could help me out. I have a simple excel file with names of Clients that have a lot of comments on each name. is there a fast way other than ...
1
vote
3answers
53 views

Checking whether a label exists between two other labels in a column

I have a column (call it A) in Excel lists off different items and their properties. Every item has the word "Type" associated with it and so there is a cell with that label in column A so that in ...
0
votes
1answer
22 views

Get buffer with all macros expanded in org-mode

I'm trying to troubleshoot some macro expansions in my org-mode file, how to I get a buffer that is the org-source with all org-mode macros expanded?
0
votes
0answers
10 views

Noweb syntax everywhere in Org Mode

I'd like to be able to use noweb syntax to invoke macros defined as src blocks everywhere in an org-mode file as a replacement for the org-mode macro system. Is there a way to do this? My question is ...
0
votes
1answer
22 views

Track the username and date in one sheet when the user is opened

I have written the below code in the VBA code sheet. Private Sub Workbook_Open() MsgBox ("Welcome to Tracker, " & Application.UserName) End Sub Result is " Welcome to Tracker, Sakaray, Kiran" ...
-1
votes
2answers
36 views

Empty email content with macro

Using the thread Here I have created a macro that will open up a template in a new message window. My signature is still at the bottom though. I want to empty the email content before adding the ...
0
votes
1answer
24 views

Returning non-editable MathType equations to their original size

I have a Word document with about 200 pages and .docx format. There are many MathType formulas in it. After many edit on my file, most of the formulas converted to picture. I did this but it doesn't ...
0
votes
0answers
12 views

Resettting the keyboard's macros

I have accidentally assigned macros to my multimedia keys such as volume up and volume down. I have no clue how to reset the keyboard's default settings. The keyboard was made by AULA which is a ...
1
vote
1answer
39 views

Macro: Insert a new row above a cell containing a different numbers

I have an excel with two columns. Column A contains numbers and column B contains text data. Numbers are continuous like 1 2 3 with several blank cells between them as shown below. For example: 1 ...
1
vote
1answer
33 views

How to export full data from excel as a csv using macro?

I want to export an excel file as a csv using macro, but my code is only exporting the header only. How to export the full data? Here's my code: Sub CSVFile() Dim My_filenumber As Integer Dim ...
1
vote
1answer
69 views

EXCEL - EXTRACTING Data From Multiple Worksheets where the layout is varied

I have a spreadsheet which contains Bill of material data and Labor costs for manufactured parts. The first worksheet contains the master part numbers for the assemblies Each Worksheet represents the ...
0
votes
1answer
34 views

excel copy past repeat macro

At the moment I am working on a research project for my university in excel. Now I have a certain range BF1:DJ293 which has to be copied and past for 238 times to the right. So this range has to be ...
0
votes
4answers
232 views

Combining all combinations of data from three columns in excel

I have a few columns of data that I would like to combine, and get each unique combination. Concatenating across a row or set list is easy enough, but I would rather not have to enter each possible ...
0
votes
1answer
34 views

How Can I Comment a Block of Text in Microsoft Office Visual Basic Editor?

Sometimes when I'm writing a macro in Excel's Visual Basic Editor (VBE), I want to comment out a block of code to test the macro without it. I know I could go to each line and type an apostrophe ('), ...
0
votes
1answer
122 views

How to create a macro in Outlook 2010 to add the the date to the subject line

I am new to the VBA format of writing code and I have been researching how to get the current date to AUTO input into the Subject line of an email when commanded. I need to know how to complete the ...
-1
votes
2answers
38 views

Is there a way i can copy this macro i made but have it change for the next tickbox

I have made this macro to Select cell A3 copy the value and paste it into cell Y3. it then clears cell A3 as that's a dropdown box, by doing this the dropdown option can be now selected in A4. ...
0
votes
1answer
31 views

Macro to create a text file with values from cells and text

Im trying to create a macro in excel that creates a text file which some of the parameters are on excel cells. The output would be for example: The kid is 'cell (1,1)' old. His name is 'cell ...
0
votes
1answer
29 views

Doskey Variable Expansion

I'm thinking the answer to this question is no, but it shouldn't be. From the command prompt normally, the following (as an example): C:\> FOR %I IN (*) DO ECHO %~xI would give me the ...