Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Browsing all 50103 articles
Browse latest View live

Putting a Named Range into a Formula

I am running into an issue with my code to put ranges into a formula. The formula can be seen below, where both "nm" and "slack_lambda" are ranges, slack_lambda was named earlier in the code, and nm is...

View Article


Attach code to checkbox to copy NamedRange to another sheet

Good day all, I have a continuing problem with a programme which, sadly due to my excel ignorance, is becoming a nightmare. If anybody has a code which can be attached to a "checkbox" & will copy a...

View Article


Macro activated from multiple sheets causing mixed results

I have a macro which is being activated from multiple places and am trying to find a way to limit the way that it works, as it is causing unexpected results The macro in question is a date stamp- it...

View Article

Image may be NSFW.
Clik here to view.

Date format problem in macro output file

Hello, I have a macro code which is working fine..but i have problem with the date format in column2 of output file. I want the date format to be yyyymmdd.. can anyone help me? I have attached the...

View Article

I can't get rid of Microsoft Visual Basic 400

I have four worksheets in my workbook with essentially the same macro formulas. However for sheets three and four the shortcuts to run macros isn't working and I am getting a dialogue box that reads...

View Article


Image may be NSFW.
Clik here to view.

non-empty cells

I - amateur self-tutoring vba-noob - got this far; ran out of steam. Just want to find non-empty cells in "F", then copy those "F, G, H, I" cells up 3 rows. I don't mean 'copy': I mean I want the...

View Article

Image may be NSFW.
Clik here to view.

Code for numerous checkboxes to copy named ranges incrementally

Hi all, With the assistance of some serious Excel legends the above code almost works, the user can now go to "Start" then "Installation" & then check any box in "building delivery" or "footings"...

View Article

Batch Hyperlinks To Invoices In Other Folder

Hi All I have just today subscribed to the forum, I am very rusty on Excel having not used it for quite sometime I did an intermediate course in Excel XP and gained a certificate but that is not...

View Article


Find Cell containing Value

Hey Guys I am after a little bit of help with the code i am currently using, if anybody can suggest some ideas? So this code will search for a cell value given, then copy the entire row to another...

View Article


Create a new column based on count of two other columns

I am new to VBA scripting but what I want to create a new column that takes the values of two columns for example: Age Frequency 6 1 7 2 8 5 9 4 And create a third column that shows the values of age...

View Article

Opening a word(2003) template from excel 2003

Hello guys, I have written some codes in VBA Excel 2003, the codes in Excel opens a .doc Word file from a .dot file. Then the data from Excel is transferred to the .doc Word file. The problem is: when...

View Article

Excel hangs while doing [Selection.Insert Shift:=xlDown]

Hi, I am adding one row at a time to a table using the following code: 'Copy new empty row with format and flag Application.CutCopyMode = False Rows(iTemplateRow & ":" & iTemplateRow).Select...

View Article

filename suggestion for tab to CSV export

I'm trying to copy a single sheet named "AuditFile" to a new CSV file. I'm almost there but I would like to have the new CSV suggest a filename that I specify in a cell named "auditFile". I've looked...

View Article


Error handling

Hi I am running a macro through a column to change the value to K or M depending on the cells value. Now I want an error handling if the conditions are not true. I want a msgbox to say that "Cell A3...

View Article

Adding in multiple ranges to a code

Hi, Im sturggling finding a way to copy the code a9:g greatest row aswell as copying the cell B2. Heres my code so far Code: Sub Move_to_master()     Dim wb As Workbook     Dim TheFile As String...

View Article


Hello All,

Hello Leith Ross, I saw your answer to quickric02 as below, but could view the code. Please can you help me with it? i have a similar case am trying to fix. Welcome to the Forum! I made some changes to...

View Article

Opening a Powerpoint file from Excel

Hello Leith Ross, I saw your answer to quickric02 as below, but could not view the code. Please can you help me with it? i have a similar case am trying to fix. Welcome to the Forum! I made some...

View Article


Import Tab Seperated Text File Into Excel Using Macro

Hi All, I'm new to macros,I need some help to import tab seperated text file to excel. Tried using workbooks.opentext but failed doing ,think it accepts onlt txt files. Any help here is highly...

View Article

problem with converting numbers to TEXT format and applying comma style

Hi all, I have a column "U" with numbers. I had to change the format of cells from NUMBER to TEXT (because the next step is moving the data to Word) and apply comma style. I managed to change the...

View Article

Image may be NSFW.
Clik here to view.

Remove duplicates and consolidate data in duplicated fields.

Hi All. Hope today is going well :) I am trying to learn VBA but only starting. I have a excel vba task to complete ( A sample file is attached) Data in spreadsheet is shown "BEFORE" as in raw file and...

View Article
Browsing all 50103 articles
Browse latest View live