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

[SOLVED] Store values in Excel Sheets from Database using macro code

I have a code which connects to the Oracle Database, in that code i am executing a sql which will fetch data from a table. I would like to store the values from all the columns in Sheet2. Kindly help...

View Article


Finding the last instances of text in a column, and......

I have a list of names, starting at the bottom of the column and working upwards, I want to find the last three references to a particular name, and having identified the last three I want to take a...

View Article


Code takes 10 sec to run in excel 2010 but only 1 sec in older versions, why

When the user deletes an entry in cell B2 etc it takes 10 second to finish filtering (and show all) when running this in Excel 2010 but it is much faster in Excel 2003. What is different? How do I fix...

View Article

VBA to sort various dates into values

Basically, i have a column full of dates. I need the macro to go through the column and then tally the number of dates for "1day over due" "7days over due" "14 days overdue" which is in a table over to...

View Article

Hide Columns based on level of access e.g. if "Read Only" Hide G:G

Good day all once again, I have a workbook that allows the user certain levels of access, if a user is unknown or defined as "Read only Access" then I need to hide hyperlinks in columns G:G, I am...

View Article


Image may be NSFW.
Clik here to view.

Based on selection results are populated

Dear All, I have been trying this but i could not solve it. In the excel sheet that i have attached, there is sheet 1- which contains the details and sheet 2 - which will populate the result based on...

View Article

automaticlly add data to row

Hello, I have a macro that add rows depends on if condition. I want to add data to that rows in that macro. the data that I want to add comes from formolas. Examples: Code:...

View Article

Image may be NSFW.
Clik here to view.

Type mismatch in a loop code

Hello, I have a code that makes the sum of column F and column G if column B are values contained in list "aircrafts", and if the date in column A is equal to today-90 days. I put a counter "i", So the...

View Article


copy paste with formatting bypassing clipboard

hi i started to use this method of copy paste Code: Selection.Copy Destination:=Workbooks(SupplierKPIFile).Sheets("By State By Dept").Range("A4") rather than Code: Selection.Copy...

View Article


Image may be NSFW.
Clik here to view.

automatically change all cell values based on updated entry

I need help: How to do this: If I change any value on column C, then it will automatically change all cell value on column C with the updated value based on same criteria on column B like I have column...

View Article

[SOLVED] VBA Code for Copy Range

I keep forgetting how to do this. I usually use the newbie way of copying and pasting, but I know there's a more succinct way to do this. Newbie way: Code: Range("A1").copy Range("A2").select...

View Article

Creating the IP ranges from the IP and the subnet mask

I have a situation where I have thousands of Ip Addresses and the subnet Mask.I want to get the IP range in another field in excel 2010 based on the two fields. Example: INPUT INPUT DESIRED OUTPUT...

View Article

Automatically put line break after certain number of Character in a line in...

I will thank you in advance for providing any valuable solution or advise regarding this issue. I have to some regular reports which has huge number of records - the problem is with text fields which...

View Article


Double Click Event to change and limit other cells

DoubleClickEvent.xlsxHello all I've attached a file to help demonstrate what i'm tryng to achieve, and as usual any help is gratefully received and appreciated. In the attached file are 10 options...

View Article

Macro to copy textbox data to a duplicate textbox in another worksheet

I have a workbook with two macro enabled worksheets, Sheet1Quotation, Sheet2Acceptance, Sheet2 is a straight copy of Sheet1 i just renamed it as Acceptance, so both are identical apart from the footers...

View Article


Run a looping Filter Macro on Multiple selected sheets

Hello, I am a total new guy to all the VBA scripting, so please forgive any ignorance... but I want to learn!! I have a filter macro that loops through 20 different criteria. It pastes the results of...

View Article

Use Userform Textbox to find worksheet cell value and offset.

Help. New to VBA in excel. I am trying to figure out the code to: Search a worksheet column "Log Primary Search Key" for a value located in "Listbox1" In Userform3. Once the value in Listbox1 is found...

View Article


Can I change the color of labels in a 3D pie chart to match cell colors?

Hi, I have been building a budget template that has 2 graphs generated by macros. The macro allows the pie segments to be colored based on cell colors... this works beautifully, but I want to push it a...

View Article

Image may be NSFW.
Clik here to view.

Macro not running through each checkbox selection

Please see attached file. If I select a location, then pick October and November, for a particular year, it only runs the code for October. I want it to repeat the code identified as Step 3, 4, and 5...

View Article

Need Macro help to exclude one worksheet

Hey guys; I have the following macro that pulls data from all worksheets and pastes into a master worksheet. It works great, however I have one worksheet that I do not want this macro to copy from. How...

View Article
Browsing all 50057 articles
Browse latest View live