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

Help with Format if no formula

hello, I have the following code and it works well, but if I apply a conditional format to any of the cells in the range, the code does not work because the conditional format takes over. Is there a...

View Article


Macro to load text file not working.

Hi, I need to load a text file into an excel, but to paste all only in the column A and not having to split them out to other column. Here are the sample files: HELP.xlsm HELP.txt If anyone can tell...

View Article


Copy only rows with data to second sheet (selected columns)

Hi guys, Need help with my topic.....I'll explain further here. - I have Sheet1 and Sheet2. - Sheet1 has columns from A to AI and Sheet2 is pretty much a report on the top part and a reflective of...

View Article

Image may be NSFW.
Clik here to view.

Copy data based on datevalue

Hi I am trying to copy movie title from one sheet to another. SCHEDULE is where I want the titles to show up and the movie should be the upcoming weekend movie. The movie comes from the MOVIES sheet....

View Article

Image may be NSFW.
Clik here to view.

remove duplicate in one sheet by comparing to other

Hi, I want a macro which will remove the total records in "CHILD" sheet by comparing with "MASTER" sheet based on the condition that if the data from columns A, C and D are totally match between two...

View Article


Issue with ActiveSheet.VPageBreaks(1).DragOff

Hi All, I have a problem when i tried to run a macro with the following sentence "ActiveSheet.VPageBreaks(1).DragOff". Attached is the excel file that i'm using; do you know if something is missing? I...

View Article

[SOLVED] AutoFilter - Test to see if any data present

Hello all What is the simplest way of see if after a filter has been applied with a criteria, whether any data is visible using VBA? Thanks James

View Article

Image may be NSFW.
Clik here to view.

Code to move data from an entry table to a historical table by date.

In the attachment you will see an example of what I am trying to accomplish. What I am trying to do is find VBA code that is either specific to this worksheet or in a macro. When the sheet is opened I...

View Article


Sheetoffset - alternatives ?

Hello, I have macro for creating new sheets, with copy method. After creating sheets I use Sheetoffset UDF function to paste formula which displays value from cells in previous sheet. This Sheetoffset...

View Article


Image may be NSFW.
Clik here to view.

Copy from different sheets- data based on selection and paste rows in new sheet

Hi all, I have 6 sheets. Sheet 1 to 5 has data. In column 1 I have date & in column 2 have names on each sheet. Last sheet is called 'Report' I am trying to do the following: On Report sheet I...

View Article

VBA code to copy selected Cells from one sheet to another without changing...

I want the VBA script that copies Values from one sheet to another with same format E.g Copy the Range N21:P35 from Sheet1 to Sheet2 to Range B2:D:36 Copy Range T21:V:35 from Sheet1 to Sheet2 H2:J36...

View Article

copy emails from outlook into a folder

Hello, I am sending e-mails through an Excel Macro. I want the sent e-mail to be taken from Outlook “Sent Items” and copy it to a certain folder on my computer. Could anyone advise? Thanks

View Article

Copying data from multiple workbooks to 1 master workbook

Hi guys Can anyone help with the following query I have? I have around 41 workbooks to represent different football leagues which are all identical in layout. What I was wondering was, is it possible...

View Article


2007 to 2013 locked cells problem

Hi All I had a vareity of macros set up on a couple of Excel 2007 documents - nothing fancy just opening another workbook and then opens a sheet for me to write data into the cells. Upgraded to 2013...

View Article

Image may be NSFW.
Clik here to view.

formula or vba help on vlookup to get latest date from multiple lookup value...

Dear Experts I have 2 set of columns A:B A contains So's No B contains Date's I want get vlookup result latest date through from multiple so's&Date(range A:B)...apply formula in G:G For E.g For...

View Article


Formating semi-structured data in excel with macros

I've been trying to find a vb macro or similar to format a data base of 100k rows I have it in a .txt file so I've put it in excel and thought about a solution. For example I thought about the...

View Article

IF conditions

Hi, I want to write conditions in a column and I was told to use Excel functions but there is a limit to conditions. Here is the problem: There is a column of numbers (A) and I want to put conditions...

View Article


IF conditions

Hi, I want to write conditions in a column and I was told to use Excel functions but there is a limit to conditions using functions. Here is the problem: There is a column of numbers (A) and I want to...

View Article

regular expression for password

Hi, I want to apply regular expression for password a) The first letter cannot be number b) the password should have a combo of numbers letters and one special character c) The password should begin...

View Article

ListIndex - combobox

Hello, I have Combobox on Userform, in which I have listed days of month. At the end of Userform initialize event, my code ends with : Code: CboDatum.ListIndex = 0 This ofcourse sets Listindex back to...

View Article
Browsing all 49946 articles
Browse latest View live