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

Address and contact info from columns to rows

I have a list of people's names with addresses and contact info all in one column and I want to move the data so that each contact's info is on one row. There are about 10,000 names and it looks like...

View Article


printing excel worksheet

Hi I was just wondering whether anyone know's how to get VBA to print a worksheet???? Thanks:):confused:

View Article


Copy Data to New Sheet, Starting in a Specific Row

Hi all, My First post, so forgive me if I dont give the Right information. I am Trying to copy All The Data in Column H of my master Sheet to an Invoice Template that I have Created. This Code: Code:...

View Article

ActiveX control warning

Hi, I've recently inherited a file started by someone who's now left, and I've been tasked with developing and distributing it to a group. However, when I use it I regularly get the following Message:...

View Article

Image may be NSFW.
Clik here to view.

Copy inconsistent data based on recurring cell reference & sequentially paste...

Greetings - I'm new to VBA and have no idea how to begin to solve this issue; I have a report that I have to run monthly that is exported as a data only excel file (.csv isn't available). The...

View Article


Refresh Label in Userform Vba

hi everyone I have a userform with combobox, textbox, CommanButton( to add data in worksheet) and two Labels. One of these is changed with the value of the cell in worksheet. how can I do a label...

View Article

Run macro on filtered cells only

Can anyone help my syntax on this? I want the macro to run only on the cells that are currently being filtered (visible). Code: If activecell.visible = true then activecell.value="I'm Awesome" End if

View Article

Simple VBA for sequential autofill to last row

Hello, First row of spreadsheet has data across to column Z. Column AA contains receipt number F10001. Each day I paste many rows of new data, and I need to give each row of data a receipt number in AA...

View Article


Add sheets from Macro

I've tried searching for this, and copied and pasted code many times, and I am still not getting the desired result. I have a workbook with a sheet named "SiteContact Info". I have a row at the top of...

View Article


Compare values from two or more sheets, leave only non repeated values

Hi every, I'm need to build a macro or maybe using VBA a function to check if numbers are repeated between sheets in a Excel file. I have a first sheet called bl_db with 91543 rows, then in the same...

View Article

Parsing strings from two columns

Hi All, I have a file that needs to delimit the data from two columns. I have an example below: Name Title1 Title2 Bob Book1; Book2 The Notebook; Greenhouse Alex Book1 One Summer Sally Book2; Book3 The...

View Article

Copy Excel Range to Word

Got a question for you guys. I would like to select a range of cells (A1:D120) and copy only the rows in A-D that have a value of 1 in the F column. I would like to paste the table in a Word doc with...

View Article

ExportAsFixedFormat xlTypePDF not giving same results as native PDF export

I have a workbook that I'm using RDBMailPDFOutlook to email certain sheets. If I save as a PDF in Excel, the pages look correct. When I use theExportAsFixedFormat PDF, I get extra pages like the...

View Article


Range2CSV macro; modifying input box

I have a macro that concatenates a selected range of values, separated by commas. Currently, the macro uses an input box that prompts the user to manually type in the output cell, but I want to be able...

View Article

Delete Form Buttons on ClearContent

I'm attempting to clear all the content in my range however, the form buttons remain when I execute: Code: Range("A3:I22").Select     Selection.ClearContents

View Article


Help Creating a Macro

I have a Personnel Table I get every week thats always changing, It has about 18 Columns, I only use about 5 of them. It has about 300+ Employee's Listed. The First Column is The Employee's ID, the...

View Article

[SOLVED] Adding excel formulas using VBA?

I can't figure out the syntax on this one. Any help is appreciated. Basically I am summing two cells values in a third cell. The sheet is destroyed after use or created when needed so I'll always have...

View Article


Clear cell contents based on offset of dropdown selection on another tab.

Ive got this code, which moves the offset of a selection from a cells drop downlist to another tab: Code: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Value Like "Moved to last...

View Article

LINEST with an autopopulating array within VBA

Hi all, essentially I am trying to populate an array within a VBA code and then regress the line using the LINEST function Based on something I saw in one of these forums I tried the following Sub...

View Article

Calendar in a excel sheet cell

Hi All, I want to put a calendar into a cell (A1) of excel sheet so that user can select date from that calendar. while opening the sheet, calendar should activate in cell (A1). Please help me. Jitender

View Article
Browsing all 50049 articles
Browse latest View live