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

Need to Save current sheet to one of two files depending on data ( Q or I)

Hi there, I have some code below that converts the current sheet to a PDF then uses data from B16, H8 and H10 to save as its filename, then it saves it to a certain file. What I would like it to do is...

View Article


[SOLVED] Strange Decimal Values? Rounding Error?

So I'm having this strange problem. In the picture you should see a small table 3x4 in size. Each value in column 1 is multiplied by 2. Column 2 is multiplied by 5, column 3 is multiplied by 10 and...

View Article


[SOLVED] VBA Alphabetization and Removing spaces

Hi guys, I've been working on a data cleaning project for about a week now. I have a long code that cleans most of the data in the table, but to speed things up I'm looking for some code that removes...

View Article

copy loop depending on cooresponding cell

I have a 2 worksheets called Original BOM and Item Order. The "Original BOM" worksheet is already populated by data. There are 7 columns with relevent data. For this question the other columns...

View Article

[SOLVED] Is it possible to a macro go row by row and hide (or delete) and...

The title says it all, can throw together a sample sheet if needed but its basically a sheet that I get from my acct program that always has excess lines, and the lines I need always have a code in...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] Remove spaces and replace with comma.

HI I have a csv file which seems a little cracy, and i would like a way to be able to work with it. I need to remove the spaces and and properly also the special caracters and replace them with a...

View Article

Importing multiple tab delimited text files

Hello, I have 134 tab delimited text files that I need to import and I'd really rather not do them one at a time. Pretty sure I need to automate via VBA/Macro, but no clue where to start. Help!

View Article

Defining a sheet from a combobox to determine which sheet the info is added to

i was currently using Private Sub cmbAdd_Click() 'next empty cell in column A Set c = Range("a65536").End(xlUp).Offset(1, 0) Application.ScreenUpdating = False 'speed up, hide task 'write userform...

View Article


Cannot copy data from one workbook to another

Hi all I'm trying to copy data from one workbook to another, row by row, but I can't find the best way to copy the data and paste it across. This is my code: Code: Option Explicit Sub...

View Article


[SOLVED] Macro to check through a column and separate numbers from characters

Guys i need help with a macro. I have an excel table with sample info like this: Code:         17/08/2013        D1        Sunderland        Fulham         17/08/2013        D1        West Bromwich...

View Article

Image may be NSFW.
Clik here to view.

Problem in Integer Value

Hi All, I have some list of numbers which is generated by application while creating a Emp Id's and when i am trying to convert that value in Number/General format the last digit is replacing with...

View Article

Macro to remove extra blank rows

Is it possible to create a macro to format my data like the attached worksheet? In the attached worksheet, I have two tabs, one named, “Export Data”, and the other named “Formatted”. I would like to...

View Article

Excel Template Auto Number through registry

Hello! I've got a little code problem, and seeing as I'm not completely familiar with VBA, I need a little help. I'm trying to get a proposal template to autonumber. Found a great code that I thought...

View Article


Cells links

Hello everyone, I am now practicing on excel and get some issues. The following issue is widely in programming format. Could anyone teach me in macro or filter ways (without any programming)? This my...

View Article

Move rows with duplicate values in column J to next worksheet

Hello all, I'm looking to move all rows with duplicate values in column J to the next worksheet, entitled "Duplicates". Specifically, if two rows have 12345 in column J, I'd like both rows to be moved....

View Article


Image may be NSFW.
Clik here to view.

Copy wkrsheet and add/del rows where necessary

I need to have a copy of the "near" exact same worksheet over and over for each month. The problem is that not all months have the same number of days and I need to have the new worksheet reflect the...

View Article

Using VBA to Select Dropdown Item

Howdy all! Well, I've been able to do some pretty awesome things with VBA (self taught...well, Google taught anyway), but I might have just come across something it can't do. I hope I am wrong, though....

View Article


Image may be NSFW.
Clik here to view.

Copy Paste the Missing Values in a Specified Cells and Insert the Rows into a...

Hi All, I am new to this forum and this is my first question. I am facing a unique problem in ledger listing, While ledger listing, some of the account codes are missing, i have listed in the q r...

View Article

Image may be NSFW.
Clik here to view.

Program was working fine, now im getting an error with "entire column.autofit"

this code keeps crashing on the line where I autofit the column. it was working fine before.. Code: Private Sub AddEquipBTN_Click() Sheets("READ ONLY").Unprotect "123steel" If Len(addEquipmentTB.Value)...

View Article

VBA for shapes

A spreadsheet has a selection of five countries on a map (shape on the spreadsheet.) On selection of a shape, data is calculated from inputs worksheet onto output worksheet. I have a couple of queries...

View Article
Browsing all 50049 articles
Browse latest View live