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

Help w/ Excel Macro that will populate date from 2 sheets into a 3rd sheet,...

I need a little help building a quick and easy macro, and i'm having a tough time (i'm no programmer). Basically it works like this: Sheet 1 is a list of 10,000 rows of data. Sheet 2 is a template...

View Article


Runtime Error 91

In the process of working and reworking my pet project I think I've come across a better way to modularize some of the functions. At least I thought it was better but I cannot get it to work. Here is...

View Article


Changing From Email Address in Excel Macro

Hi All, Here is the code that i am currently using to send emails with file name in column A to Email address in column B and File path in column C. Is there a way I can add from email address to this...

View Article

Image may be NSFW.
Clik here to view.

Return x Amount of Values If Cell Contains.....

Hello, I am trying to create a macro all in Excel of what would usually occur between Excel and Access. Let's say I have 12 variables I can enter into cell A1. Let's say the variables are months (Jan,...

View Article

Merge multiple (and variable) rows and columns by repeating value

Hi all, I've searching a while now and haven't found a solution to the function I am looking for (apols if I've missed an existing thread). Anyway I've got a data source that has a value in column A...

View Article


VBA to hinder users from entering invalid entries when using drop-down lists

hi there! I need to create a drop/down list in one column. I was wondering if it is possible to use VBA in order to not allow users of my files to continue to the next cell on the column when they have...

View Article

Loop between 2 files in a folder

Could anybody help with looping between 2 files in a folder, like a start date and end date? I have a folder with a filenames as dates and I want to loop through a range of days and copy them to...

View Article

[SOLVED] Macro to copy and paste to the next available line.

Craftsman priority by week.xlsmHi, I am trying to copy range B2:C8 and paste in the next available line in column E. Originally I wanted it to skip a line but I just added a period in each cell above...

View Article


web query in Macro - how to embedded in file, not a path to c Drive

Hi, I have a Macro what calls a web query. When I send the excel file to my team members it errors as they don't have the query file I thought it would be embedded in the excel file, but it uses a path...

View Article


How to shorter my macro module ?

Dear all, I have recorded three macro module for retrieve web data & it works very well, this web data contains stock high & low price ,similarly I need to analysis more about 200 stock for my...

View Article

Excel, VBA & SQL

I'm using Excel 2010, which I have quite a bit of experience with, although I haven't used macros yet. I'm also using SQL Server 2008 Express with Advanced Services. I'm still a newbie with SQL, and so...

View Article

How to assign a macro to autorun when a particular list item is chosen?

If you create a List using Data Validation, and you record several macro's to carry out different functions, how could you assign a macro to each of the values of the List choices so that it ran on...

View Article

Excel: Undo history clear after macro events

dear experts i have excel file with macros. noticed that whenever the events fires, undo history gets cleared. by this user is not able to do undo as the button gets disabled i have searched for all...

View Article


Looping code

Hello. How would I write code that loops through a specific column in a sheet until it finds the value 9 and then copy this value into the first row of a specific worksheet titled "name". I need to use...

View Article

Cannot read 1004 error

I have created an Excel file (for distribution) but for some reason when I send to another PC this message appears. Microsoft Visual Basic Run-time error '1004': Cannot access read-only document...

View Article


Image may be NSFW.
Clik here to view.

Highlighting duplicate cells based on values in the new entry being made

Hi all, I have a unique question. How do I automatically highlight duplicate values ( number or text) in sheet data based on the new entry made. e.g. I have sheet1 where I have column A to P. A...

View Article

Macro to make all numbers in 2 columns of 40 sheets the same format?

Hi, I am using this formula to compile data from 40 sheets onto one using the district name and school name as matching criteria. HTML Code: =INDEX('2012 r3 sch'!$M$13:$M$2173,MATCH(1,('Elem FCAT...

View Article


Image may be NSFW.
Clik here to view.

count no of instaces occured in userform combobox

hi i have some code to count the number of times an occurance happens,this is in a sheet,but does not work as should, was wondering if can be done from userform combobox, ie i have an issuing...

View Article

Protect/Unprotect as an event??

It seems like it ought to be simple.... I have one sheet with one (ActiveX) checkbox. I want to disable the checkbox (gray out) when the sheet is (manually, not programmatically) protected, and enable...

View Article

Need to Limit the Number of Dupes a Macro Finds

Okay, I am kind of new to Excel (35 years making music videos, 6 months doing this) but I think I'm headed in the right direction. However, this is driving me nuts. What I need this to do is compare...

View Article
Browsing all 50061 articles
Browse latest View live