How to search multiple values and delete rows
Simpo_Macros_Trial.docx Hi, I am amateur VBA developer. Trying to learn certain new things to be able to avoid repetitive monotonous tasks using excel functiuons I am trying to develop a Macro whick...
View ArticleFile size gets incresed after running the macro
Hi, I have a macro which does the below work. 1. Pulls data using web query from website. 2. Copies data from sheet 1 to sheet 2 using autofilter. i.e. I am filtering the sheet 1, selecting only data...
View ArticleCopy and paste column to current week column
Hi guys, I'm trying to create an VBA macro where i can push a button each week and it'll copy a single column and then paste the values of that column into the corresponding week, then clear all the...
View ArticleRead Chinese Characters From VBA
Hi, I have an excel file in which I have some rows with chinese characters. I have to create a word document from VBA. Everything is fine but when I am writing chinese characters it is showing me "?"...
View ArticleCode to find duplicate colors and keep only 1 entry
Assume I have a data in Column A (Rows 1:500) where I have given certain colors to different entries in column A. However, when I run the code, I want entries with similar colors to get deleted except...
View ArticlePrinting Selected Pages from Multiple Worksheets into One Print Job
Hey All, I'm hoping someone can point me in the right direction of what to do. My situation is that I have 3 worksheets broken up with appropriate page breaks and need to print into one job in the...
View Articlesubscripts out of range
Hi there, I have the code written, but when I run it I get "subscriptso ut of range" problem. Code: Option Explicit Sub keepLast() Dim lastrows1 As Long Dim lastrows2 As Long Dim b As Boolean Dim c As...
View ArticleIdentifying Column Number from Reference
Hi, I'm not very good at this and am having real trouble. Been messing around with some Find functions & googling for help. My problem is very simple I believe (but this is not my forte!) I have...
View ArticleOpen all workbooks in a folder and extract data
Hi. I have a piece of code that I want to perform on every workbook in a given folder. I want to be able to open each workbooks in the order that they are found in the folder, so open one - get the...
View ArticleCopying in sequential rows without overwriting
Hi I'm new to macros so have two probably very simple questions! The first is to do with macros and buttons. I have a simple macro to copy data from one sheet to another which works perfectly when ran...
View Articlelistindex=0 when first item selected in a multiselect listbox on a userform?
Hello, I have a multiselect list box that I only want code to run on if at least one option is highlighted. The below works for every scenario except if only the very top option listed in the listbox...
View ArticleAutofill code error
I have code that autofills B9:B if there is corresponding data in column A. It works fine when there is more than one row of data in the file. However it fails if column A only has one cell populated...
View ArticleResources for Using VBA to Manipulate Silverlight Elements like HTML Elements
Hello, I am trying to use VBA for Excel to automate a process that navigates through several webpages in Internet Explorer to upload a file. I am able to work with HTML document elements to get through...
View ArticleHiding columns based on cell value (ListBox)
I have been digging through the forums and can't find what I am looking for. I have a very large spreadsheet (Columns A:AK right now...still growing) and I would like to hide columns based on my...
View ArticleCopying Text from an Inserted Text Box
I'm a VBA newbie, so please bear with me. I would like to have non-Excel users working with my "Form" to select and enter text in an inserted text box (not the user control text box). When they click...
View ArticleHighlighting all duplicates except the last instance
Hi All, I have a problem and this is beyond my ability. I have a sheet of data that is never sorted or filtered, and I need to only use the last instance of any duplicate, what id like to do is...
View ArticleCombining multiple workbooks with the specifice name in one workBook on baisi...
Hi Guys...!! Hope you all are well.. This forum site is more helpful site for me to fix up the issue's i have and had.. So Thanks to the Admin. Here is my issue. I just want to combine multiple...
View ArticleFind duplicates, concatenate into different column, sum and delete duplicates
I have 3 columns, second column have duplicate value, third column have numbers. If duplicated found on second column, I need to concatenate the third column into the first duplicate found across...
View ArticleIndex/Match Returning #Value in Cell
From my last post no one was able to help so I have kept at it and came up with a new formula. I am getting the error in the Cell of #Value. Can someone look at my formula and maybe tell me what my...
View ArticleRenaming a sheet and keep cell formatting
Hey, I was wondering if there is a way to rename a sheet after a cell while keeping the formatting? My format isn't anything to do with the date, it's more of a "XXX"-00-00 style, so far I have my...
View Article