MSGROUPS.NET | Post Question | About | Groups | Contact | Register | Login



microsoft public excel misc (9093)

microsoft public outlook general (7339)

microsoft public excel programming (6569)

microsoft public word docmanagement (5607)

microsoft public excel worksheet functions (5040)

microsoft public access (4768)

microsoft public windowsxp general (3874)

microsoft public windows vista mail (2957)

microsoft public windows vista general (2783)

microsoft public windows live mail desktop (2699)

microsoft public office misc (2268)

microsoft public access queries (2122)

microsoft public powerpoint (2030)

microsoft public greatplains (1998)

microsoft public windows server sbs (1972)

microsoft public dotnet languages csharp (1964)

microsoft public access formscoding (1932)

microsoft public mac office entourage (1868)

microsoft public sqlserver programming (1861)

microsoft public access forms (1798)

microsoft public internetexplorer general (1706)

microsoft public mac office word (1699)

microsoft public access modulesdaovba (1691)

microsoft public outlook calendaring (1436)

microsoft public dotnet framework aspnet (1375)

microsoft public project server (1356)

microsoft public windowsupdate (1353)

microsoft public sqlserver server (1332)

microsoft public project (1285)

microsoft public excel (1277)

microsoft public access reports (1249)

microsoft public windowsxp help and support (1204)

microsoft public exchange admin (1185)

microsoft public windowsmedia player (1165)

microsoft public mac office excel (1160)

microsoft public windows server general (1100)

microsoft public dataprotectionmanager (1096)

microsoft public outlook (1035)

microsoft public word vba general (1029)

microsoft public vb general discussion (1001)

microsoft public outlook contacts (953)

microsoft public windows server active directory (930)

microsoft public development device drivers (911)

microsoft public dotnet languages vb (843)

microsoft public outlook installation (820)

microsoft public word newusers (808)

microsoft public word pagelayout (783)

microsoft public windowsce platbuilder (757)

microsoft public excel charting (733)

microsoft public publisher (728)

microsoft public excel newusers (711)

microsoft public windows powershell (697)

microsoft public pos (658)

microsoft public vc mfc (651)

microsoft public access gettingstarted (630)

microsoft public word application errors (629)

microsoft public sharepoint general (604)

microsoft public office setup (584)

microsoft public onenote (556)

microsoft public sqlserver reportingsvcs (550)

microsoft public outlookexpress general (539)

microsoft public frontpage client (532)

microsoft public access tablesdbdesign (529)

microsoft public scripting vbscript (528)

microsoft public windows 64bit general (512)

microsoft public outlook program vba (502)

microsoft public windows live messenger (434)

microsoft public windowsxp hardware (416)

microsoft public money (397)

microsoft public windowsxp basics (367)

microsoft public dotnet general (316)

microsoft public windows mediacenter (300)

microsoft public windows inetexplorer ie6 outlookexpress (276)

microsoft public mac office (272)

microsoft public win98 gen discussion (243)

microsoft public sharepoint setup and administration (225)

microsoft public windows vista hardware devices (183)

microsoft public windows vista music pictures video (178)

microsoft public nntp test (163)

microsoft public windows vista performance maintenance (148)

microsoft public dotnet framework (148)

microsoft public visio (128)

microsoft public access 3rdpartyusrgrp (68)

microsoft public access conversion (64)

microsoft public dotnet xml (58)

microsoft public pt windowsxp (38)

microsoft public access developers toolkitode (34)

microsoft public windows live photogallery (32)

microsoft public dotnet faqs (19)

microsoft public dotnet framework aspnet datagridcontrol (16)


microsoft.public.excel.programming Post New
Items(6545) /131 Next >> Last >|
Subject Posted Replies From
Re: How to do this with macro?

oops. to find the last number in b and subtract a1 =INDEX(B:B,MATCH(9999999,B:B))-A1 -- Don Guillett Microsoft MVP Excel SalesAid Software dguillett@gmail.com "Don Guillett" <dguillett@gmail.com> wrote in message news:... > Try this withOUT needing "xx" > =MAX(B:B)-A1 > > To sum col B > =SUM(B2:OFFSET(B2,COUNTA($B:$B),0)) > > -- > Don Guillett > Microsoft MVP Excel > SalesAid Software > dguillett@gmail.com > "Arto K" <arto.koivisto@noadd.fi.inv> wrote in message > news:uz9Pn.17155$if1.13173@uutiset.elisa.fi... >>I have several cells in one column, what include numbe

6/7/2010 9:25:50 PM 0 "Don Guillett" <dguill...@gmail.com>
Excel/Cellphone

Hi, I would like to know if it's possible to program Excel to send Text msg to Cell Phones.

6/7/2010 8:59:45 PM 0 Charles <harm.char...@gmail.com>
Floating text

Hi everyone, I'd like to have some question+answer showing up on top of all my applications() to make me read it and memorize it. I know that I can hide Excel, but how can I hide the form but the text on the form to be visible? There is anyway to do it in VBA?

6/7/2010 8:33:18 PM 1 =?Utf-8?B?RGFuIFRhYmxh?= <DanTa...@discussions.microsoft.com>
Deleting Duplicate Rows

Hi, I checked out the archives for close to an hour, but I couldn't figure out how to change the codes given there to suit my needs. I have a large set of data, from about A1 to X441. In column X, there are a lot of exact duplicates, and I need to delete the rows where those duplicates are (but still leaving the first instance of the duplicate). For example: John Smith Oxford St. John Johnson Oxford St. John Johnson Rubble St. John Smith Oxford St. All of those have things in common, but I only want to delete the final row (and the whole row, not just the cell), because it

6/7/2010 8:06:22 PM 11 =?Utf-8?B?SmJt?= <...@discussions.microsoft.com>
Macro if criteria

Hi, i have two macros. (macro 1 and macro 2) I need macro 1 to run if in A1 is "JOHN", in B1 is "MARY" and if C1 is empty ; and macro 2 to run if in A1 is "JIM", in B1 is "CRIS" and in C1 is "BOB". Can this be done? Thanks!

6/7/2010 7:47:33 PM 2 =?Utf-8?B?cHVpdWx1aXB1aQ==?= <puiului...@discussions.microsoft.com>
External Data from SQL Server

I have a worksheet that is importing data from SQL Server. MS Query is configured to execute a stored procedure. Sometimes when I refresh the query with new parameters I lose formatting and formulas. It is as if Excel is inserting extra columns. the cells with the formulas are moved to the right and lose their reference. In MS Query and SMSS everything looks fine, but when the data is brought into Excel it goes bonkers. I should point out that some of the data is fine, then others are not. Any suggestions on what to look for? Thanks

6/7/2010 7:41:16 PM 1 =?Utf-8?B?Smlt?= <...@discussions.microsoft.com>
Code not working in a PROTECTED Worksheet

I have the code below in a worksheet on a file in SharePoint. The worksheet is Protected so only unprotected Cells are selectable. The problem I am having is that when the sheet is protected I get an error on: Me.Rows("5:169").EntireRow.Hidden = False and I know it is because on the protection because when I remove the protection from the sheet, the macro works fine. Is there a way around this problem? Private Sub cmdCPA_Click() Application.ScreenUpdating = False Me.Rows("5:169").EntireRow.Hidden = False ActiveWindow.ScrollRow = 4 ActiveSheet.Range("20:169

6/7/2010 7:33:18 PM 2 =?Utf-8?B?QXlv?= <...@discussions.microsoft.com>
VBA Code to select and format range

Hi All, I want to select a range of cells and format the range of cells based on a "offset" feature... The last couple lines in my code are: ActiveCell.Offset(1, 0).Select ActiveCell.FormulaR1C1 = "=SUM(R[-4]C:R[-1]C)" Where the active cell reference is a moving target depending on the amount of data in the worksheet. How do I now say - select this cell, plus other cells in this range of cells and format them with a border, and a color? I can't get the syntax right. I I record the macro, it only gives me this: range("I32:L37").Select -which is not what I

6/7/2010 7:11:04 PM 2 =?Utf-8?B?QmVhbiBDb3VudGVy?= <BeanCoun...@discussions.microsoft.com>
Save data before printing

Hello all, An acquiantence is programming in Excel 2003 and has a sheet where theuser enters receipt data. When he is done, he clicks a boton to copythe data from the sheet to another in tabular form withinthe same workbook. What he needs to do is to implement a lock so that the user can't print out the receipt until after he has clicked the boton. His button click event code is the following: Private Sub CommandButton1_Click() Application.ScreenUpdating = False 'Copy data to BD2 sheet Sheets("BD2").Unprotect With Sheets("BD2").Range("A1000").End(xlUp) ..Offset(1, 0) = She

6/7/2010 6:43:44 PM 1 "Saga" <antiS...@nowhere.com>
Can use VSTO to reduce the size of a file?

I have a really large spreadsheet that is saved in a sharepoint location but takes about five minutes to load. Would it make any difference if I recreate the file using VSTO? Thanks in advance

6/7/2010 6:06:13 PM 0 =?Utf-8?B?THVpc0U=?= <legonza...@yahoo.com>
Change event does not fire

Hello! I have a worksheet with checkboxes. Each checkbox is linked to a cell. When checkboxes are checked/unchecked the cell changes, but the Change event for the sheet does NOT fire! Is that how it is supposed to be??? I wanted to use this method instead of Checkbox Click event, because I have lots of checkboxes. Also it seem to work before, but not anymore. Am I confusing something? Please help! Thanks a lot in advance. P.S: Alternativly I can have another cell with formula linked to the checkbox cell. This way Calculation event works. But it's not best practice :)

6/7/2010 6:06:11 PM 3 =?Utf-8?B?TGVuYQ==?= <L...@discussions.microsoft.com>
Trouble with dynamic named range

In an Excel 2010 workbook I created a dynamic named range from the Formula tab using the Define Name utility. The formula I entered is: =OFFSET(Price Groups!$AP$2,0,0,COUNTA(Price Groups!$AP:$AP)-1,1) I want the range to include all non-empty cells in the AP column starting with the second row. When I check the named range using the Name Manager it shows the formula: =OFFSET(Price Groups!$AP$2,0,0,COUNTA(Price Groups!$AP$1:$AP$65536)-1,1) I'm not sure why Excel converts my formula, but I've tried several time to change it back to my formula and each time I get the same re

6/7/2010 5:34:35 PM 2 =?Utf-8?B?S2VuIFdhcnRoZW4=?= <KenWart...@discussions.microsoft.com>
Sort Routine Macro for Excel Worksheet

I have an excel that requires a sort routine. I tried using the start/stop recording. The code is shown below, however, I need this routine to work when you don't know how many rows are in the data. My method has the filename hardcoded too. I don't know if that matters. This one subroutine of many. Can someone show me how to make this routine more dynamic. It will always sort by the same Column but it needs to work with all different Ranges of data (this example is hardcoded to sort data from row 2 through row 613. Sub SortCategoryAssistance() Cells.Select Act

6/7/2010 5:31:30 PM 1 "JCO" <some...@somewhere.com>
Drop Down with hidden values

I need some assistance please. I have a spread sheet that I have drop down information on. When the user selects the word from the drop down list, I would like for the word to have a numerical value to it that the user does not see, but accumulates at the end of the column. Such as: Hamburger = 25 hotdog = 10 coke = 10 etc. Sub Total = 45 Any ideas? -- woodse

6/7/2010 5:29:29 PM 1 =?Utf-8?B?d29vZHNl?= <woo...@discussions.microsoft.com>
When this NG migrates to forums, please consider ...

Many of the questions in this NG fit into the following template: My [boss/teacher] gave me this problem that would be really easy to solve if I had a clue about VBA programming but I don't. Would someone please send me a solution? This makes it difficult for people working at a higher level to cope with this NG. Also, since from my point of view it is much harder to monitor posts in the MS forum format (I know there's supposed to be some translator to NG format), my suggestion is to split this NG into excel.programming.beginner and excel.programming.advanced forums. I m

6/7/2010 5:22:06 PM 0 "Henry Markov" <...@nowhere.net>
Worksheet Cell Reference

I have a reference to a cell in another worksheet, same workbook. When the value in the referenced cell is blank it returns a "0" value. However, I want the returned value to simply leave as a blank cell. Any advice? David

6/7/2010 5:17:00 PM 1 =?Utf-8?B?RGF2aWRT?= <Dav...@discussions.microsoft.com>
Solver

Hi Group, I am having a hard time programming Solver. This is the code I have so far: Sub SolveNew() Worksheets(ActiveSheet.Name).Activate SolverReset SolverOptions precision:=0.001 SolverOk SetCell:="$C$48", MaxMinVal:=3, ValueOf:="100000", ByChange:= _ "$C$32,$C$34,$C$36,$C$38,$C$40,$C$42,$C$44" SolverAdd CellRef:="$C$33", Relation:=2, FormulaText:="$C$35" SolverAdd CellRef:="$C$35", Relation:=2, FormulaText:="$C$37" SolverAdd CellRef:="$C$37", Relation:=2, FormulaText:="$C$39" SolverAdd CellRef:="$C$41", Relation:=2, FormulaText:="$C$43" SolverAdd CellR

6/7/2010 5:16:56 PM 0 =?Utf-8?B?RGF2aWQ=?= <Da...@discussions.microsoft.com>
Need largest number

I have a file in Excel 2003. In 1 column I have a numeric field. In the next column I have a 2 digit apha field. In the third column I have another numeric field. For each row I need a formula in the 4th column. All columns can have duplicate numbers/characters. What I need to do is find the largest number if column 3 for the unique combination of columns 1 and 2. Example: Col A Col B Col C Col D (to be reult is shown - need formula) 12345 AA 1 5 12345 AA 1 5 12345 AA 2 5 98765 BA

6/7/2010 5:03:28 PM 6 =?Utf-8?B?TmFkaW5l?= <Nad...@discussions.microsoft.com>
How to do this with macro?

I have several cells in one column, what include numbers (example B2-B4). After few empty cells, I have a cell (example B7), what include formula B4-A1. A1 B1 1 2 3 4 5 6 xx =B4-A1 Sometimes I add new numbers after cell B4 (example B5, B6 etc..) and sometimes I have to add new lines between last used cell, what include numbers and cells, what include the formula (example B7). When I add example three new line before B7, formula moves in cell B10. On the A7 is value xx. If B7 moves B10, also A7 moves A10. After changes example look like this:

6/7/2010 4:59:05 PM 2 "Arto K" <arto.koivi...@noadd.fi.inv>
Multipage, controls-collection and events (XL2003, VBA)

Dear Group, I have a Userform with a Multipage control, which is dynamically filled with textboxes and comboboxes using Controls.Add like this: Set aTextBox = aUserForm.aMultiPage.Pages(strCurrentRegister).Controls.Add("Forms.TextBox.1", "txt" & strText, True) Set aComboBox = aUserForm.aMultiPage.Pages(strCurrentRegister).Controls.Add("Forms.ComboBox.1", "txt" & strText, True) This is working fine, but what I miss is any way to assign eventhandlers. Is there any way to do this? If not, I could use existing controls, which I would create in a sufficient quantity. Here

6/7/2010 4:06:05 PM 0 "Holger Gerths" <hol...@gerths.de>
Compare two columns using loop.

Hi, Could you please help my create a loop which will compare each value in column A one by one with whole column B whether it contain value in column B and if yes the it picks up value from column C and put it to column D. Please see example. Please note the search must be able to find value which is included in string of the text like Peter must be finding in PeterIsGood. Example: A B C D Peter PeterIsGood T1 T1 Martin Test T2 N/A John Cool T3 N/A Oscar PeterIsGood T4 T1 Tom Tomknowall T5 T5

6/7/2010 4:03:50 PM 1 =?Utf-8?B?UGV0ZXIgR2FzcGFyaWs=?= <PeterGaspa...@discussions.microsoft.com>
Selecting certain Rows and Copying cells in those rows to new work

I need to look at all the rows in the current worksheet find all the ones with a 'Y' in column"A" for all the ones with 'Y' in Col "A", copy cols 'A' to 'S' to the worksheet (Next) I would really appreciate the help :) thanks Jinx123

6/7/2010 4:02:42 PM 0 =?Utf-8?B?SmlueDEyMw==?= <Jinx...@discussions.microsoft.com>
Macro to run based on criteria

Hi, i need a macro to run based on a criteria in A1. In A1 i have a dropdown list with sheets name. If i select in A1 the sheet John, and then i run the macro, i need the macro to copy some cells from the sheet John. If i select in A1 the sheet Mary, then the macro to copy from sheet Mary. Can this be done? Thanks!

6/7/2010 3:48:46 PM 2 =?Utf-8?B?cHVpdWx1aXB1aQ==?= <puiului...@discussions.microsoft.com>
Fill Down to Last Value

I have 2 spreadsheets (Sheet 1 and Sheet 2). Sheet 1 has one header row and sheet 2 has 2 header rows. I am using the following to count the number of rows in Sheet 1 and copy a formula to every row in Sheet 2 based on the count from Sheet 1. With Worksheets("Sheet1") lStop = .Cells(.Rows.Count, "A").End(xlUp).Row End With Worksheets("Sheet2").Range("3:" & lStop + 1).FillDown The formula is perfect except when I only have one entry in Sheet 1. In this case the formula copies the second header row in Sheet 2 instead of the formula in the 3rd row. Any ideas

6/7/2010 3:11:36 PM 2 =?Utf-8?B?TG9zdEluTlk=?= <LostI...@discussions.microsoft.com>
Sharing Macros

Hello, I have created a template to be used within my group on the department share drive and it contains macros. How do I allow the other users to run the template on their computers if the macros on stored in my personal workbook? Thanks, CB

6/7/2010 2:31:44 PM 1 =?Utf-8?B?Y2I=?= <...@discussions.microsoft.com>
another filtering question

I was assisted with the following code, which filters two pieces of data--a case manager ID (###A from column B) and a program code (MA from column C): Sheets("Office").Activate Application.ScreenUpdating = False With Sheets("Office") .Activate .Range("A1").Select .Range("B1:C1000").AutoFilter Field:=1, Criteria1:="115A" .Range("B1:C1000").AutoFilter Field:=2, Criteria1:="MA" .Range("A1:M" & Cells(Rows.Count, "A").End(xlUp).Row).SpecialCells( _ xlCellTypeVisible).Copy Destination:=Worksheets("115A").Range("A3") .AutoFilterMode = False End With

6/7/2010 2:02:24 PM 1 =?Utf-8?B?QnJhZGx5?= <Bra...@discussions.microsoft.com>
macro to insert row and type data

I have a worksheet that contains groups of data for different products for each month, which I update each month. The last row in each group of data contains a cell with the word "END" in it. I would like to use a macro to automatically search for the word END right through the worksheet, insert a row above the row with the word END in it and type the current month in the cell above the word END in the new row, thus putting it below the previous month. I don't have much experience in writing macros. I have been able to record a macro to add the row but I can't use the record

6/7/2010 12:07:23 PM 2 =?Utf-8?B?TE0=?= <...@discussions.microsoft.com>
Copy and paste sheets to new workbook

Hi All What i would like to do is to select 4 sheets and copy them into a new workbook. I would like the sheets to be values and to have the same page layout as the original sheets. The worksheets I'm copying are formula driven, so I have to copy and paste value those sheets first, and then move them to a new workbook, the problem is that I don't know how to undo that "copy and paste value" in my original workbook without closing the file and opening it again, which is a little annoying. The code I have so far is just from the macro recorder: Sub CPVNW() ' ' CPVNW Macro '

6/7/2010 11:57:23 AM 7 Stav19 <pete.rebe...@gmail.com>
Shading cells that contain formulas and conditional formatting at the same time.

Dear Experts: I got cells in one table of a worksheet that contain ... .... formulas as well as conditional formatting (i.e. there are cells that contain both attributes) I would like to fill these cells (containing formulas as well as conditional formatting at the same time) with a certain shadefill (RGB 177, 177, 177) with the aid of a VBA macro. Help is much appreciated. Thank you very much in advance. Regards, Andreas

6/7/2010 11:27:30 AM 1 andreashermle <andreas.her...@gmx.de>
Recalculate a worksheet following an autofilter selection.

Hi I'm trying to work out how to recalculate a worksheet once a filter selection has been made. I think I need to use a worksheet selection change event but I do not know how to detect the filter change. Recalculating the sheet is simply: ActiveSheet.Calculate The filters are in A3:D3. The values to recalculate are SUBTOTALs in E2:H2 Kind Regards Phil

6/7/2010 9:50:59 AM 1 =?Utf-8?B?UGhpbGlwIEogU21pdGg=?= <PhilipJSm...@discussions.microsoft.com>
Passing dates to Sql Server 2005 stored procedure

Hi, I am trying to execute a SQL Stored procedure from Excel using VBA. Apart from 2 string inputs, this proc also accepts two datetime imputs. When these dates are passed via VBA, they are in the format "dd/mm/yyyy. However, the SQL Server does not seem to accept dates passed in this format. Applying different date formats in VBA does not help because eventually when the dates shoot from Excel to SQL Server, they are in the format "dd/mm/yyyy". I don't want to change the regional settings of the machine, since it will only be a temporary solution. This is the part of the co

6/7/2010 9:50:58 AM 3 =?Utf-8?B?UHVybmltYQ==?= <Purn...@discussions.microsoft.com>
MsgBox refer to seperate worksheet

Hi - I need to set up a message box that will read a cell on another worksheet. The button for the msgbox (an where I want it to pop up) is on the Questions worsheet. The code I have is below; Sub Message() Dim txtScore As String txtScore = Worksheet("Calculations").Range("G2").Select MsgBox "Your Score is", vbInformation & txtMaturityScore, "Risk Score" End Sub

6/7/2010 9:42:55 AM 2 =?Utf-8?B?Q2hyaXM=?= <Ch...@discussions.microsoft.com>
Environ("username") in 2007

debug.Print Environ("username") does work on 2003 but not on 2007? I have read other posting with a similar question and it is written ther "problem is solved by changing the environmental variables" - how do you do that or any other suggestion? Many thanks, Dan

6/7/2010 9:09:29 AM 4 =?Utf-8?B?RGFu?= <...@discussions.microsoft.com>
Can I 'toggle' a toolbar button

Still using v.2003, how can I make a button that I put on my toolbar have two states like the 'bold', 'italic' or 'drawing-toolbar' buttons? these buttons appear 'illuminated' or 'depressed' when switched I hope that makes sense M

6/7/2010 9:06:41 AM 1 "Michelle" <mh_londonNOJ...@hotmail.com>
automatically unprotect vba-project

Hi, is it possible to unprotect a password-protected excel-addin by code or does the user needs to enter it allways manually? neither the unprotect method of the coressponding workbook object nor the password-parameter of the "open" function seems to do what I need :-( kind regards

6/7/2010 8:36:43 AM 1 =?Utf-8?B?QmVya2Fu?= <Ber...@discussions.microsoft.com>
Why does saving take SOOO long?

On my colleague's machine an Excel 2003 file takes 4 or 5 seconds to save On mine the same file take between 22 and 25 seconds. Why? My PC has a stonking big powerful dual-core processor (the laptop cost �1000) I have many gigs of free-space My disk is thoroughly defragged My colleague has a very run of the mill business laptop For other things my PC is faster or the same as his What can I do, because this is becoming frustrating. Thanks M

6/7/2010 8:21:03 AM 1 "Michelle" <mh_londonNOJ...@hotmail.com>
Sync parts of two worksheets including formats

I am looking for a way to have a primary and secondary worksheet. I will make changes to the primary and want those mirrored on the secondaary sheet. I want o mirrow all changes, formatting, adding, deleing rows, columns, etc., not just the data. I know how to use the change event to mirror the data but no help for the other things. I also know how to use the Sheets(array(....)).select to link the two but this mirrors the entire sheets and I just want to mirror a section of the sheets say A1:F1000 and the rest is unique to each sheet. Anyone have a solution.

6/7/2010 7:57:01 AM 0 "Steve" <mystuff...@hotmail.com>
Using counter "i" in for loop gives error

Fellow excel programmers, I have the following little program which gives me an error: Sub code() ' ' code Macro ' ' Keyboard Shortcut: Ctrl+o ' For i = 1 To 5 ActiveCell.FormulaR1C1 = &quot;=CODE(MID(R[-1]C1,LEN(R[-1]C1)-(LEN(R[-1]C1)- i),1))&quot; ActiveCell.Offset(0, 1).Range(&quot;A1&quot;).Select Next i End Sub The problem is that when I run this code it gives me a &quot;VALUE&quot; error. The computer claims that the &quot;i&quot; in this part of the code (LEN(R[-1]C1)- i),1)) is what causes the value error. I am just teaching VB to myself s

6/7/2010 7:01:41 AM 4 peter <nospam_iwan...@gmail.com>
Float Menu Excel 2003 vs 2007

Hi All In a [2003] workbook I've got a "help sheet" with various help topics. When activated a float_menu appears from which the user can select a topic from a userform. This works great, however in 2007 the float_menu doesn’t appear. Any suggestions ? As always any help will be much appreciated. This is my code: Regular module: Sub Float_Menu_help() Dim newMenu As CommandBar, newControl, newItem, subMenu Dim c 'remove custom menu if it exists Delete_HelpMenu 'create new menu and display it Set newMenu = CommandBars.Add(Name:="Help_Menu", _ Temporary:=True, _ MenuBar:=F

6/7/2010 5:52:29 AM 1 =?Utf-8?B?SGVubmllIE5ldWhvZmY=?= <HennieNeuh...@discussions.microsoft.com>
How to add a "running count" to cells with matching data

I want to copy column A (below) into Column B and add a running count. As long as column A is the same (repeat letters & numbers) - it keeps adding the next number (1,2,3 . . . up to 99). Example - Cols A & B, Rows 1-15. I have Col A. I need to create Col B: Row ColumnA ColumnB 1 AK-1 AK-1-1 2 AK-1 AK-1-2 3 AK-1 AK-1-3 4 AK-2 AK-2-1 5 AK-2 AK-2-2 6 AK-3 AK-3-1 7 AK-1289 AK-1289-1 8 AK-1289 AK-1289-2 9 CA-1 CA-1-1 10 CA-1 CA-1-2 11 CA-2 CA-2-1 12 CA-2 CA-2-2 13 CA-2 CA-2-3 14 CA-375 CA-375-1 15 CA-375 CA-375-2 .... 24 CA-375 CA-375-11 Column A will always be 2 let

6/7/2010 4:15:36 AM 2 =?Utf-8?B?V0E=?= <...@discussions.microsoft.com>
Conditional max

Trying to find working VBA code for the following problem: a=maxif(column(a), column(b) = 1, column(c) <> empty) value = maxif(range, condition, condition) Arranged in table so that the max value is returned as long as it meets the critia on the same row. Thanks

6/6/2010 11:49:04 PM 0 =?Utf-8?B?U3RlcGhlbiBDaHJpc3RpYW4=?= <StephenChrist...@discussions.microsoft.com>
copying and pasting certain info

I need to transfer (copy and paste) certain information from Column A of one tab (Tab 2= ) to Column O in another tab (Tab 1). The information being transferred is dependent o= n the information in two other columns (one column lists a first name and the other col= umn lists a last name). In Tab 2, column G has last names and Column H has first names and= in Tab 1, Column J has last names and Column K has first names. I need certain ID numbers= (that correspond to certain individuals) listed in Column A of Tab 2 to be copied and p= asted to specific cells in Column O of another tab

6/6/2010 7:09:24 PM 0 "Jeff Lipton"<msmith...@gmail.com>
Functions newsgroup

What happened to the Functions newsgroup? Its gone. Is this the start of the demise of the Microsoft newsgroups? Where would I go to find the forums they talked about in a recent posting? Thanks for your time. Otto

6/6/2010 5:49:30 PM 10 "Otto Moehrbach" <moehrbachoex...@bellsouth.net>
Graph not plotting correctly if source not selected

Here my code: Set Cht_level = Charts.Add With Cht_level .ChartType = xlLine .SetSourceData Source:=cht_src End With if fails. But if I add cht_src.Select before the code, it works brilliantly? Why?

6/6/2010 5:12:40 PM 5 Frank <no.rep...@comcast.net>
How do I set up timer for sheet?

How do I set up timer for sheet?

6/6/2010 11:59:13 AM 3 =?Utf-8?B?cnVoYW4=?= <ru...@discussions.microsoft.com>
timer for sheet

i want to creat sheet with timer.by end of the time ,sheet would be cleaned

6/6/2010 11:26:22 AM 1 =?Utf-8?B?cnVoYW4=?= <ru...@discussions.microsoft.com>
Most Recent Custom View

When I add the 'Custom Views' drop-down to a toolbar, it displays the name of the custom view most recently selected (through the menu) So this information must be stored somewhere... How can I access it in code? I need to know the name of the custom view that has been selected by the user? I've been told it can't be done... but if the toolbar control can read it, the informaion must be somewhere... Any ideas? Thanks M

6/6/2010 10:05:47 AM 1 "Michelle" <mh_londonNOJ...@hotmail.com>
Automatically Saving created FILE

Hi, Just would like to ask help on how to automatically save a created file just by the use of command button. I have below macro code: Sub CSVFILE() Dim sh As Worksheet ActiveSheet.Copy Set sh = ActiveSheet On Error Resume Next sh.Buttons.Delete sh.Rows("1:2").Delete On Error GoTo 0 End Sub I want to "save as" the generated new workbook automatically when I click the command button to create the new wokbook. Is this possible? THANKS!

6/6/2010 4:41:00 AM 1 =?Utf-8?B?bWFjcm9uZXdiaWU=?= <macronew...@discussions.microsoft.com>
Actively select cells/ranges/sheets and Paste Link

Hello: What I am trying to do is select the cells or range on a sheet that I am interested in, then paste link on a different sheet. All the selections should be variable (I mean not be hardcoded). Thanks, pl_hlp

6/6/2010 3:18:14 AM 2 =?Utf-8?B?cGxfaGxw?= <pl...@discussions.microsoft.com>
Selection.Cut Destination:=Columns("B:B")

Selection.Cut Destination:=Columns("B:B") I recenty got a new pc at work with msoffice 2007. A macro that i had previously recorded is no longer working. The error message is as follows: (Followed by the code) A selections including both inside a table and below it cannot be copied and inserted into that table. Select cells outside the table and try inserting the data again. You have attempted to fill data in a way not supportted by the table. code: Sub work_nesi() Columns("F:K").Select Range("K1").Activate Selection.Delete Shift:=xlToLeft Columns("B:B").

6/5/2010 10:03:48 PM 2 "J.W. Aldridge" <jeremy.w.aldri...@gmail.com>

Pages: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131









Newest Articles

Hi,ICopiedSomeTextAndPhotosFromAWebsite+PastedThemInAnEmailFromThi
1 hour 8 mins ago

Recover Format 400GB External Hardive
2 hour 4 mins ago

KEVIN J0HN PANNZKE WON the BATTLE
2 hour 47 mins ago

Cross apply from function not working
3 hour 29 mins ago

Mouse cursor freezes up semi-permanently with whole computer
4 hour 21 mins ago