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

Image may be NSFW.
Clik here to view.

[SOLVED] If AUD selected then no exchange rate required

Hi to all Seeking code which - if AUD is selected in a Col then not need for exchange rate. The attached worksheet explains what I am seeking assistance with Again thanks for your help Attached Files...

View Article


[SOLVED] Importing multiple .csv files into one Excel file.

I would like to import multiple .csv files from a folder into one excel document. each of the .csv files will have the same headings. How can i accomplish this.

View Article


[SOLVED] Selecting a Printer from a Macro

Hi, I have a macro that (amongst other things) prints the required sheet. My problem is that in my workplace, we have about 8 networked and local printers and depending on my current physical location...

View Article

Importing multiple .csv files into one Excel file.

I would like to import multiple .csv files from a folder into one excel document. each of the .csv files will have the same headings. How can i accomplish this.

View Article

Variable in VB Macro

Hello: I have following statement in VB Macro: ThisWorkbook.Worksheets("Inventory13").Range("F41").Resize(RowsCnt, ColsCnt) = SrcRng.Value I wonder if it is possible to make .Range("F41") as varaible....

View Article


Setting up a date stamp button in Mac Excel 2004

Hi everyone, Forgive me if I am posting in the wrong part of the forum, this is my first post and I am fairly new to excel. I was hoping I might be able to set up a table that had a number of buttons...

View Article

[SOLVED] Delete all non-custom styles

Looking to delete all non-custom styles from a workbook. I cannot find via msdn or other how to point to the parent category. If you expand the Styles on the Ribbon, "Custom" goes at the top, then...

View Article

Image may be NSFW.
Clik here to view.

Change item name in one column based on contents of another coulumn

I have a spreadsheet that has 23 columns (I have attached a form called "Report Layout") and many rows, but, I only need to reference the four columns called: Medium, Media Group, Media Description and...

View Article


Change row color when the value in the column changes

Hello Everyone, New here and I am so pleased I found your forum. So here is what I am trying to do: I want to be able to change the whole row color everytime the alue in column one changes. example P/N...

View Article


Select Range Question

I am sure I doing something simple to make this error out but I just can't see it. I followed examples but no joy? See the comment in the code for the question; thanks. Code: Sub MySelection() Dim...

View Article

[SOLVED] Calculating Log Average

I am trying to shorten the following formula but can't work out how to do it. =10*LOG((10^(B4/10)+10^(C4/10)+10^(D4/10)+10^(E4/10)+10^(F4/10)+10^(G4/10)+10^(H4/10)+10^(I4/10))/8) As can be seen there...

View Article

find how many times a word appears in a string at certain positions within...

Hi everyone, I have strings that are concatenated with ~ characters. an example of the format of the sorts of strings im working with is here: (total rows,workbook name,worksheet name,column, top row,...

View Article

Paste special error

I'm having problems with pasting values. The error message I get is "PasteSpecial method of Range class failed." The line that is causing the error the first first PasteSpecial line. Code:...

View Article


Running VB Macro from C/C++ exe

Hi My OBJECTIVE is: How do I run a macro from C program ? Preferably, I would not like to use C# or .NET. my application is rather simple; and also, I am not not a C# or .NET developer. I have seen...

View Article

Best practice for dealing with multiple workbooks in excel vba

Hi Guys, I am looking for a little help, I am currently working on an excel 2010 project using VBA which is spiralling out of control. I have spent quite a while cleaning the code up but I am still...

View Article


New To Excel: Help In Appending 3 Working Files Into One File and Lookup to a...

Hi Guys, So I'm new to excel macros and I need a macro to open a file. The filepath doesn't change but the filename does and it depends on the run time and run batch. For example in this filename the...

View Article

When using Autofilter with SumIf, can not get it to sum only visible cells.

Hello there, I'm new with macro's and this forum has help me and teach me a lot. But now I'm unable to find a solution to the following issue. For the below case I'm getting Run Type Error 13 and if...

View Article


Macro: Open file but the filename changes

how can i execute a code that has a static filepath but the filename changes with a random number in the middle depending on batch run?

View Article

delete the rest of the row if found more than two spaces

hello I'm looking for a vba to delete the rest of row if found more that two spaces example UV4003K 0.01% 31750 kg/hr 3,175 kg/hr 52.91666667 --> UV4003K 0.01% 31750 kg/hr 3,175 kg/hr the same for...

View Article

Copy and paste the value of an array formula

this is my array formula: Code: =INDEX($X:$X,MAX((IF($X$7:$X$12=0,"",ROW($L$7:$L$12))))) i want to copy and paste the value of this formula within a macro which then inserts it into a table. The table...

View Article
Browsing all 50103 articles
Browse latest View live