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

Edit Macro to export filtered data into separate worksheet instead of PDF

Hello, I have a macro below that currently filters excel data and dumps it into a separate PDF. How can I edit this macro to export the data to another spreadsheet rather than into a PDF? Thank you...

View Article


Search and Update a Worksheet

Hi there, I have a userform for co-workers to use as a way of searching an ever growing worksheet, make changes and update the result in question. I have been searching for the site for similar posts...

View Article


Using user inputed information in the file

This should be super simple. I am looking for that will open a "Input Box" where the end user has two options one they enter some text and press enter or they click a button to end. In the case they...

View Article

format multiple textboxes at one time on initialize

I have a total of 648 textboxes on my form. Some of the textboxes allow for char values, some numeric and some monetary. The problem I am running into is with the monetary. I am trying to say on...

View Article

How to carry over freeze panes function into temporary file from VBA

I have a code below that works great for sending different ranges from the same sheet to different email addresses. It creates a temporary file as the attachment in the email. One thing that would be...

View Article


[SOLVED] Delete all slicers in activesheet

I have 30+ sheets with 1 pivot table and 3 slicers in each sheet. In VBA, how do I delete all slicers in an activesheet (not all worksheets, just the activesheet)?

View Article

Move row data to a specific sheet if column contains specific word

hi I have a sheet called 'TimeRecorded' which will contain lots of rows of data. If a row contains 'invoice' in column H, then the data in that row, preferably as far as column H, should be moved to...

View Article

Macro for a Summary of multiple worksheets

Hey Everyone, I am familiar with the basics of Excel, but not with Macros or VBA's. I am trying to create one Excel file for accounting purposes. Within this file I want to create a worksheet for each...

View Article


[SOLVED] disable conversion of number to date when copying from userform to...

I have a worksheet that has a userform with many textboxes. This userform has a button as well that saves the data entered in the textboxes into a different workbook. All goes well except.... the...

View Article


Display server message to user after POST file upload

I'm using VBA to upload the open workbook to app.box URL which is working great! Since I'm pretty new to VBA, I can't figure out how to get the website server to return and display the sucess/failed...

View Article

[SOLVED] Automatic update of a "sum" cell when row inserted not working

Hello, Another in the simple things that are causing me grief series :( SO, I have a series of rows with data (say A1:A5) and in cell A6 I have a "=sum(A1:A5) formula. If I manually insert a new row...

View Article

How can I perform a conditional test based on the sum a row of cells using VBA

Hi There is no doubt an exceedingly simple answer to this question however using VBA script to perform basic mathematical calculations is not something I am familiar with. In the past I have used VBA...

View Article

Setting range in vba based on vlookup criteria

Hi, Consider the following Table; ----- A------------B 1---Blue ----------23 2---Black----------45 3---Grey ---------32 4---Pink ----------60 I set range as follows; Code: Set rngData =...

View Article


Image may be NSFW.
Clik here to view.

Macro to compare colors in cell and type result

Hello sorry for bad english, like u see in attachment i have products in cells wich are painted in different colors. I need to compare two numbers of different product, and write result to column...

View Article

Image may be NSFW.
Clik here to view.

Column cells not updating

The below code evaluate certain conditions so my Range("TPC[CCProduction-S]") can get a value. The code does the work, however, my Range("TPC[CCProduction-S]") sticks to the very first result. Is this...

View Article


User Defined function to extract information from closed file

Hi, Herewith I attached a sample excel file. Structure file which i attached herewith include all the cost center details. normally it is a big file contain more than 1000 cost center details....

View Article

Loop and find specific value or misc value, if misc then not equal to certain...

this is working fine however, if rr = "misc" then the macro should look for all ccode values not equal to "0305", "0385" or "0399", not quite sure how to code that I get the rr value with the code...

View Article


Insert additonal rows into multiple files in a folder based on Master...

Hi all, Basically, I'm looking to standardize the rate cards I have. So the code JBeaucaire supplied helped me out for the task at the time, however, we have now updated the Rate Card and as a result...

View Article

Use VLOOKUP function in macro with Variable Name for Lookup value

Hi Friends, I used VLookup function in macro. Lookup value is a variable name. I don't know how to use variable name inside of VLOOKUP function. Use VLOOKUP function in macro with Variable Name for...

View Article

Range("B" & Rows.Count).End(3)(2).select

what is this Range("B" & Rows.Count).End(3)(2).select please explain?

View Article
Browsing all 50026 articles
Browse latest View live