Macro to update data on specific sheets
All, I've built several macros into my program, but hit a wall on the last problem. This document is a log book that invoices my customers. On the Invoice sheet i input the customer name and any...
View ArticleSearched For Data Does Not Exist
Hi, I am using this code Code: Selection.Find(What:="Customer", After:=ActiveCell, LookIn:=xlValues, _ LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _...
View ArticleAdding dates
Hi All I would like to write a VBA CODE to add years for a particular date. For example if the start date is 01/07/2013 in A1 and if there is 2("YEARS") in B2. It should give the value 30/06/2015. The...
View ArticleDeclaring a variable to trigger copy row from sheet to sheet.
Hi all. I have a spreadsheet and have so far managed to build some code which upon the workbook open event, copies rows "hourly" from sheet "Master" to sheet "Backup". Below is a snippet of what I've...
View ArticleHow to Select the value of cell(i.e name of the sheets) given by user and copy
Hi, My problem is I have a workbook which has 10-12 sheets, so i want send only those sheets whose value(i.e name of the sheets) are given by the user in a column say E as an attachment of mail. I have...
View Article[SOLVED] code from office dev center for excel 2010 regarding "ReadOnly...
http://msdn.microsoft.com/en-us/libr...ffice.14).aspx Code: 'Declaration ReadOnly Property MultiUserEditing As Boolean Get 'Usage Dim instance As _Workbook Dim value As Boolean value =...
View ArticleMailmerge
I have created userforms for data entry into my worksheets and would like the data entry users to be able to click a button on the userforms which will allow them to create a mail merge, ideally...
View ArticleCan I have a popup msg if the mergecell has more than 100 letters
Hello All, I looking for the code how to popup msgbox "xCell has more than 100 letters" in the mergecell. Please take a look at sample in attached. Regards, tt3 Attached Files LenMsgBox.xlsx (12.6 KB)
View ArticleNeed to Copy the Pivot table Data in the same/different Sheet using VBA
Dear Forum, I would need to make several Pivot Tables and also several Charts/Graphs from a particular Database and this is quite Time-Consuming so for saving the trouble of doing redundant things I am...
View Article[SOLVED] Selecting a worksheet easily.
(Excel 2003). I have a worksheet "LIST" which contains contiguous stock data of many stocks. I have written a macro that cuts blocks of data out of "LIST" and creates anywhere up to 255 worksheets...
View Articleadjusting variable after each step of calculation,case select statement with...
i need a better code to solve 2 problems , i had solved these problems but with a "long and dirty code" 1)case select statement with multiple expression 2)adjusting variable after each step of...
View ArticleHighlight required information by date
In excel 2003 how do I go about having the program highlight cells that require information that is needed by date. And once it is added un-highlight the cell back to original formatting?
View ArticleCopying cells from one sheet to another then filling down based on previous...
Hi There, Don't suppose you can help me out. I'm trying to find code for the following Example attached The Yellow Cells (which are the green ones just transposed), need to go to column M to column R...
View ArticleInsert rows based on a value in a cell and copy the data down into the new rows
I am trying to find a VBA that can copy and insert rows based upon a value found in each row. I attached an excel workbook containing 2 sheets. The first sheet is the data sheet and the second sheet...
View Articleadd, delete, update and add and subtract stock values..
hi there, i am new to vb i know how to design form and i did however i really tried hard to get the values against "Location" i did in another sheet with the help of formula and it works.. but what i...
View ArticleHelp - Need To Add Borderline Dependant On Result/Duplication
Hi all, I am trying to add several border lines to the bottom of a row from A to AI start from row 12. There is probably a few things you need to know 1. Starting from row 11 each data section is two...
View Articleerror '1004' "application defined or object defined error" when pasting...
When I run the following macro Code: Dim w As Integer For w = 6 To 39 Range("C" & w).Formula = "=IF(LEN($B" & w & ")>=1,"" ""&VLOOKUP(LEFT($B" & w & "), '[Ch Name...
View ArticleVBA/Macro table issue
Hey, I've attached my workbook (a similar one) and have the following issues that I would be grateful if I could get input on. (please note: my Macro/VBA skills av very limited. However, the users this...
View ArticleMacro for sending mail with attachment
Hi Guyz I have to circulate 200+ telephone bills every month. Currently I am processing it manually. Our service provider agreed to provide us the soft copy of Bill. Currently I have one excel file...
View ArticleHide/Show Textboxes
Hello guys, I need to do some calculations, the values are added manually (here for testing I added some values in Sheet4) from printed papers, I tried to hide the unused textboxes (middle line...
View Article