RE: $$Excel-Macros$$ Re: dbf conversions

2013-01-07 Thread Asa Rossoff
Excel 2007+ can import DBF files, but not save to them. Excel 2003 and prior allow saving as Dbase (DBF) files. A few alternsatives for saving/exporting to DBase DBF files: .Excel 2003 and prior versions .LibreOffice https://www.libreoffice.org (open source office suite)

RE: $$Excel-Macros$$ How to creat circle on cells

2012-12-17 Thread Asa Rossoff
Hi Pankaj, If you want circles around the cells with values less than 30, there are two methods that come to mind. (1)Use a data validation rule that specifies that values = 30 are the only valid values (you can disable all warnings in the data validation rule so it will allow entry of

RE: $$Excel-Macros$$ Re: Dynamic calendar quiz : There is a prize for the winner.

2012-12-15 Thread Asa Rossoff
Very nice calendars. I like how Deba Ranjan's has a month offset feature (Seems to be a hidden feature) by changing the value in G4, for a calendar that begins on any month of the year. Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Paul

RE: $$Excel-Macros$$ How to make Outline work in Protection

2012-12-05 Thread Asa Rossoff
Hi Zeeshan, You can enable outlining on protected sheets by use of some simple VBA code. There is a protection option available only via VBA called UserInterfaceOnly. It's purpose is to allow other VBA code to maipulate protected sheets freely, but have the sheets otherwise stay fully

RE: Fwd: $$Excel-Macros$$ Paul Schreiner - Most Helpful Member November'12

2012-12-05 Thread Asa Rossoff
Congratulations Paul! I really appreciate your generosity, expertise, and communication skills. I'm happy to see you honored for your contributions. You have an EXCELLENT point about the challenges so many here rise above beyond just the technical. I have great respect for the group as a

RE: $$Excel-Macros$$ How to make Outline work in Protection

2012-12-05 Thread Asa Rossoff
of protection is to hide Formula's. regards, Zeeshan On Thu, Dec 6, 2012 at 9:33 AM, Asa Rossoff a...@lovetour.info wrote: Hi Zeeshan, You can enable outlining on protected sheets by use of some simple VBA code. There is a protection option available only via VBA called UserInterfaceOnly. It's

RE: $$Excel-Macros$$ Scraping data from image

2012-11-30 Thread Asa Rossoff
Hi Hanumant Shinde, Yes, as others have mentioned, you can use OCR (Optical Character Recognition) software. In fact, Microsoft Office comes with OCR capability built-in. Another alteernative is Adobe Acrobat, if you have that. Most scanners and printer/scanners also come with OCR software.

RE: $$Excel-Macros$$ Scraping data from image

2012-11-30 Thread Asa Rossoff
P.S., Hanumant, here is a link with detailed instructions for using OneNote for OCR: http://www.howtogeek.com/howto/14595/ocr-anything-with-onenote-2007-and-2010 / Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Asa Rossoff Sent: Friday, November

RE: $$Excel-Macros$$ VBA macro quiz #1

2012-11-12 Thread Asa Rossoff
I like the questions. Very good introductory questions on a variety of VBA topics. For question #8, I suspect the question intended could be better phrased Which of these is a datatype most specifically for storing decimal integers in a variable? (several of the datatypes listed store decimal

RE: $$Excel-Macros$$ VBA : Class does not support automation error.

2012-11-09 Thread Asa Rossoff
Hi Amol, I haven't use the Office Web Components, and we don't know much about your code or file, but the error is usually caused by a references/library problem, such as: .You used early binding but the reference to the OWC library was broken. .The OWC library is not installed

RE: $$Excel-Macros$$ Macro for convert to Million

2012-10-28 Thread Asa Rossoff
Hi Aamir, How did the add-in I designed for you last time workout? Does it need a modification? Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Aamir Shahzad Sent: Thursday, October 04, 2012 10:45 PM To: excel-macros@googlegroups.com Subject:

RE: $$Excel-Macros$$ Re: Help need to get multiple values by vlookup

2012-10-25 Thread Asa Rossoff
Hi Aamir, Not sure exactly what you're after (haven't seen your workbook), but perhaps this is helpful: { =TRANSPOSE(INDEX(TRANSPOSE(ColumnsOfTableYouWantReturned),,MATCH(WhatValueTo Lookup,LookupRange,0))) } If your values to return are all numbers, you can use this instead: {

RE: $$Excel-Macros$$ Re: Request for support for a looping macro

2012-10-20 Thread Asa Rossoff
PM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Re: Request for support for a looping macro I wonder if it would speed it up if you set calculation to xlmanual? Regards David Grugeon On 21 October 2012 03:23, Asa Rossoff a...@lovetour.info wrote: Hi Diamond Dave, I

RE: $$Excel-Macros$$ VBA Code Related Question

2012-10-18 Thread Asa Rossoff
not change when I change value data in Data sheet,there is any mistek by me Pls tell me Regards Amar On Thu, Oct 18, 2012 at 8:30 AM, Asa Rossoff a...@lovetour.info wrote: Hi Amar, In your attached file, there is no VBA code attached to the worksheet itself, thus there is nothing to copy

RE: $$Excel-Macros$$ VBA Code Related Question

2012-10-18 Thread Asa Rossoff
) So I will try it to export only certain chart.There are any option in excel 2003 for sparklines,piechart,barchart in single cell then I will not try to export chart from other file Regards Amar On Thu, Oct 18, 2012 at 12:23 PM, Asa Rossoff a...@lovetour.info wrote: Hi Amar, I examined your file

RE: $$Excel-Macros$$ VBA Code Related Question

2012-10-17 Thread Asa Rossoff
Hi Amar, In your attached file, there is no VBA code attached to the worksheet itself, thus there is nothing to copy or move. The VBA code in your file (of which there is a lot) is in various other objects: several standard modules, perhaps 15 or 20 class modules, several userforms, and the

RE: $$Excel-Macros$$ How to repair corrupted Excel file

2012-10-08 Thread Asa Rossoff
Some things you can try: 1. Try opening you file in Office Web Apps. http://skydrive.live.com/ 2. Install open-source LibreOffice and try opening your file in that. http://www.libreoffice.org/ 3. Try opening your spreadsheet using a database connection (See below) 4. Try

RE: $$Excel-Macros$$ Rajan Verma - Most Helpful Member September 2012

2012-10-03 Thread Asa Rossoff
I'm happy to see you recognized and honored for your continued great contribution Rajan. Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Ayush Jain Sent: Tuesday, October 02, 2012 8:34 AM To: excel-macros Subject: $$Excel-Macros$$ Rajan Verma - Most

RE: $$Excel-Macros$$ Query - Circle Invalid...

2012-09-13 Thread Asa Rossoff
There is a Data Validation option to Circle Invalid DAta -- data that does not match the data validation rule for its cell. Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Excel Vba Sent: Thursday, September 13, 2012 8:46 AM To:

RE: $$Excel-Macros$$ Solution for Index array formula

2012-09-10 Thread Asa Rossoff
Hi Amar, For the best response to your questions, please explain your question in your email message. In your follow-up message today, which had neither the question nor the attachment, it was impossible to tell what you needed help with without checking the list archives! Here is a

RE: $$Excel-Macros$$ Re: treeview

2012-09-10 Thread Asa Rossoff
Hi James, Microsoft gives warnings about running 64-Bit office, and notifies users in advance that there will be compatibility issues. With 3rd party components, those issues are pretty much unavoidable, but its true Microsoft could have updated their own various components to 64-bit versions

RE: $$Excel-Macros$$ Re: treeview

2012-09-10 Thread Asa Rossoff
-macros@googlegroups.com] On Behalf Of Asa Rossoff Sent: Monday, September 10, 2012 12:53 AM To: excel-macros@googlegroups.com Subject: RE: $$Excel-Macros$$ Re: treeview Hi James, Microsoft gives warnings about running 64-Bit office, and notifies users in advance that there will be compatibility

RE: $$Excel-Macros$$ Need help - To divide the string into three parts

2012-09-10 Thread Asa Rossoff
Hi Mangesh, I've read your other replies, and as to why you haven't received a formula method -- most people don't want to take the trouble on a volunteer basis to provide a more complex or difficult solution to a given problem when simple solutions exist. Also in business, the simplest solution

RE: $$Excel-Macros$$ detecting loggedin user

2012-09-10 Thread Asa Rossoff
Hi Midhun, I like Paul's thorough response. I thought I'd mention that there is a simpler / easier-to-remember way of detecting the logged-in user's name from a macro: Function ReturnUserName() As String UserName = Environ(USERNAME) End Function It is slightly less secure, since

RE: $$Excel-Macros$$ I want to Learn Array Formulas

2012-09-09 Thread Asa Rossoff
I don't know the book, but here it is. Rajan had a small typo in the author's name, perhaps that was the difficulty: http://www.amazon.com/Microsoft-Functions-Formulas-Edition-Computer/dp/19364 20015/ref=pd_bxgy_b_text_y/185-8930763-6171505 Or the downloadable Kindle Edition:

RE: $$Excel-Macros$$ Re:

2012-09-09 Thread Asa Rossoff
To Harshad: In Excel 2010 you can use the DisplayFormat object, which indicates the range (cell) format properties as actually displayed, including conditional format and table style effects. Bob Phillips and Chip Pearson have both published functinos that can evaluate the color of a cell

RE: $$Excel-Macros$$ Noorain Ansari - Most Helpful Member August 2012

2012-09-06 Thread Asa Rossoff
Congratulations Noorain. You are a real asset. Agreed that the certificate is a great idea. Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of NOORAIN ANSARI Sent: Wednesday, September 05, 2012 6:55 AM To: excel-macros@googlegroups.com Subject:

RE: $$Excel-Macros$$ Change Column Size

2012-09-03 Thread Asa Rossoff
Additionally, although it is quite possible to detect when one of the data-val. cells has been selected, perform a task, then when another cell's been selected, reverse the original task (mburkett -- you'll need to track some data between events to do that), your code then has to figure out how

RE: $$Excel-Macros$$ Baler Software

2012-08-28 Thread Asa Rossoff
Please don't ban me (I won't do it again) indicates foreknowledge and intent! -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like

RE: $$Excel-Macros$$ Noorain Ansari - Most Helpful Member July 2012

2012-08-03 Thread Asa Rossoff
Congratulations Noorain! From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Ayush Jain Sent: Friday, August 03, 2012 10:40 AM To: excel-macros Subject: $$Excel-Macros$$ Noorain Ansari - Most Helpful Member July 2012 Dear members, Noorain Ansari has

RE: $$Excel-Macros$$ Failure of code when trying to break a section out into a seperate routine

2012-07-15 Thread Asa Rossoff
Hi Anil, Try using the same data types in the calling routine ( PowerReturnOutput ? ) and the called routine ( EnterPN ). PNArray() and OutputRng have values in the immediate window. When you say they have values, do you mean they have the expected values? Did you check the elements of the

RE: $$Excel-Macros$$ macro with multiple rows

2012-07-14 Thread Asa Rossoff
Hi Pawel, Here is a short answer to what I think you want. It is a generic solution to the key issue of copying formulas (and only formulas) down to the next row. Dim LastRowRange As Range ... Set LastRowRange = ... ' Determine last row's range here With

RE: $$Excel-Macros$$ Error Cleaning

2012-07-13 Thread Asa Rossoff
Hi SG, Please provide also a sample of the result you want. If your spreadsheet has rows that do NOT have errors, include some of those in your sample as well. If there are additional columns from the ones you included in the file you already sent, please include them. :) Asa From:

RE: $$Excel-Macros$$ Rajan Verma - Most helpful Member(June​'12)

2012-07-04 Thread Asa Rossoff
Extraorinary contribution, Rajan. Cheers. From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Ayush Jain Sent: Wednesday, July 04, 2012 9:17 AM To: excel-macros Subject: $$Excel-Macros$$ Rajan Verma - Most helpful Member(June​'12) Hello Everyone,

RE: $$Excel-Macros$$ range formatting

2012-07-03 Thread Asa Rossoff
Hi Pawel, You can accomplish this simply by using conditional formatting. You can either: 1. Use a default format and a conditional format. a. Format D5:J22 with one of the two formats. This would be your default format regarldess on the value in C2. b. Use a conditional

RE: $$Excel-Macros$$ MVP Award....Congratulations Ashish Koul and Dilip Pandey !!

2012-07-02 Thread Asa Rossoff
Congratulations Ashish and Dilip! From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Ayush Jain Sent: Sunday, July 01, 2012 9:25 AM To: excel-macros Cc: Dilip Pandey; ashish koul Subject: $$Excel-Macros$$ MVP AwardCongratulations Ashish Koul and

RE: $$Excel-Macros$$ MVP Award....Congratulations Ashish Koul and Dilip Pandey !!

2012-07-02 Thread Asa Rossoff
Sorry to hear that. Your work is still valued by many, Don. Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of dguillett1 Sent: Sunday, July 01, 2012 10:04 AM To: excel-macros Cc: Dilip Pandey; ashish koul Subject: Re: $$Excel-Macros$$ MVP

RE: $$Excel-Macros$$ What do you recommend?? If Formulas, Tables with macros, vlookups?

2012-07-02 Thread Asa Rossoff
and then using lookups, let´s see if I can succeed. 2012/6/29 Asa Rossoff a...@lovetour.info Hi Jorge, Looks like this can be handled using lookup formulas. One good way to perform lookups is to have a number representing each of your criteria each alone in their own cell, preferably all

RE: $$Excel-Macros$$ For Each loop

2012-06-30 Thread Asa Rossoff
Hi Richard, Here's my approach: Sub prototype() Const ColumnlarCriteria As String = X3:X10005 Dim LockRange As Range Dim LockRow() As Variant Dim Row As Long With Sheet1 .Protect userinterfaceonly:=True Set LockRange = .Range(Y3:AX1000) LockRow() =

RE: $$Excel-Macros$$ For Each loop

2012-06-30 Thread Asa Rossoff
You also might want to consider using a worksheet.change event to modify the locked status on a given row range when and only when values in column X are changed. From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Asa Rossoff Sent: Saturday, June 30, 2012 6

RE: $$Excel-Macros$$ Can I get the day of the week (e.g. Friday) from the date already encoded in a string?

2012-06-30 Thread Asa Rossoff
Hi H, .Text = bad :) If you mean that the date is on the worksheet as text insead of as a date(dateserial). if the date matches the system local settings (i.e. date is in m/d/y format, your computer is set to m/d/y format) you can just use any of the methods I listed in my last post without any

RE: $$Excel-Macros$$ Can I get the day of the week (e.g. Friday) from the date already encoded in a string?

2012-06-30 Thread Asa Rossoff
p.s. oops, so sorry, though you had posted a new quesiton :) not sure how I got to reading old posts. From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Asa Rossoff Sent: Saturday, June 30, 2012 7:36 PM To: excel-macros@googlegroups.com Subject: RE

RE: $$Excel-Macros$$ Re: Can I get the day of the week (e.g. Friday) from the date already encoded in a string?

2012-06-29 Thread Asa Rossoff
seemed to work but I admit I did not check to see if the correct day was returned. Tomorrow I will do that and try out your format function version (which I think someone else posted earlier but I had not tried it yet). On Wed, Jun 27, 2012 at 9:35 PM, Asa Rossoff a...@lovetour.info wrote: Hi

RE: $$Excel-Macros$$ What do you recommend?? If Formulas, Tables with macros, vlookups?

2012-06-29 Thread Asa Rossoff
Hi Jorge, Looks like this can be handled using lookup formulas. One good way to perform lookups is to have a number representing each of your criteria each alone in their own cell, preferably all in the same table for all transporters. You can use pivot tables to generate the cross

RE: $$Excel-Macros$$ Copy JPG images from Word into Excel

2012-06-29 Thread Asa Rossoff
Hi Paul, I have not automated Word much.. so these are just some thoughts: Have you already tried these ideas? 1) export from Word as MHT (images will be emebedded with the html file to reduce file clutter), then open the file in Excel. 2) Open the document in Word, Select All,

RE: $$Excel-Macros$$ Saving Photos from webpage

2012-06-20 Thread Asa Rossoff
Hi Kiran, I can help you off-list to meet your need exactly, for a reasonable fee. But first I will offer you some free advice and hints: 1. The product search results in a URL like http://www.jabong.com/catalog/?q=WR138MA56HVN+

RE: $$Excel-Macros$$ Find Narrow Cells Appying Auto fit to only that cell

2012-06-16 Thread Asa Rossoff
Prashant: My guess is that your request is for a macro that will only Auto-Increase column widths -- never decrease them, which would unneccesarily change the look of the spreadsheet. Excel does not have a method of specifically identifying cells (or columns) where text has overflowed, but I

RE: $$Excel-Macros$$ Find Narrow Cells Appying Auto fit to only that cell

2012-06-16 Thread Asa Rossoff
@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Asa Rossoff Sent: Saturday, June 16, 2012 6:43 PM To: excel-macros@googlegroups.com Subject: RE: $$Excel-Macros$$ Find Narrow Cells Appying Auto fit to only that cell Prashant: My guess is that your request is for a macro

RE: $$Excel-Macros$$ Translating

2012-06-15 Thread Asa Rossoff
Good day Kiran, To manually translate, you can go to the Research task pane select Translation select language pair search for a word or phrase. .A quick way to get there is to ALT-Click a cell with text you want to translate to bring up the Research pane with that text pre-entered

RE: $$Excel-Macros$$ Updating multiple excel workbooks

2012-06-10 Thread Asa Rossoff
Hi Shoodie, Do you still need help with this? There are several ways to find the files you need to edit, depending on your target Excel versions, platforms (mac/windows), and security settings on the target operating system. Perhaps the most cumbersome of the available methods is the Dir

RE: $$Excel-Macros$$ Text Cleaning

2012-06-05 Thread Asa Rossoff
= NewText End Function By the way, welcome to the group! Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Asa Rossoff Sent: Monday, June 04, 2012 8:38 AM To: excel-macros@googlegroups.com Subject: RE: $$Excel-Macros$$ Text Cleaning Hi Sonal

RE: $$Excel-Macros$$ Date format calculation

2012-06-04 Thread Asa Rossoff
Hi Deba, For the Login Time column, the reason SUM is not working properly is that many of the login times are being interpreted as text instead of as [h]:mm:ss entries. 1) For the login time column with a custom format: [h]:mm:ss or the corresponding preset Time format: 37:30:55 2)

RE: $$Excel-Macros$$ Text Cleaning

2012-06-04 Thread Asa Rossoff
Hi Sonal, Another function for you: Function CleanText(Text As String) As String Dim NewText As String, Character As String * 1, Position As Long For Position = 1 To Len(Text) Character = Mid(Text, Position, 1) If Character Like [A-z] Or Character Like # Then

RE: $$Excel-Macros$$ Text Cleaning

2012-06-04 Thread Asa Rossoff
@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Asa Rossoff Sent: Monday, June 04, 2012 8:38 AM To: excel-macros@googlegroups.com Subject: RE: $$Excel-Macros$$ Text Cleaning Hi Sonal, Another function for you: Function CleanText(Text As String) As String Dim NewText As String

RE: $$Excel-Macros$$ Lookup and return 2nd occurrance

2012-06-03 Thread Asa Rossoff
On Fri, Jun 1, 2012 at 1:06 AM, Asa Rossoff a...@lovetour.info wrote: Hi Hilary, Mind sharing your solution with the group? What came to mind for me was an array solution that uses small/row to identify the second smallest row number for the matching name, and index to retrieve the reference

RE: $$Excel-Macros$$ Rajan Verma - Most helpful Member(May'12)

2012-06-03 Thread Asa Rossoff
Congratulations Rajan! Outstanding work. Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Ayush Jain Sent: Sunday, June 03, 2012 10:43 AM To: excel-macros Subject: $$Excel-Macros$$ Rajan Verma - Most helpful Member(May'12) Hello Everyone,

RE: $$Excel-Macros$$ Lookup and return 2nd occurrance

2012-06-03 Thread Asa Rossoff
occurance which I think might be useful going forward. Thanks again Sent from my BlackBerryR smartphone from Airtel Ghana _ From: Asa Rossoff a...@lovetour.info Sender: excel-macros@googlegroups.com Date: Sun, 3 Jun 2012 02:42:58 -0700 To: excel-macros@googlegroups.com ReplyTo: excel-macros

RE: $$Excel-Macros$$ Creating links to workbooks in folder using VBA

2012-06-03 Thread Asa Rossoff
Hello Hugo, Please post your current macro and we can most easily give you your desired update to it. Asa -Original Message- From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of hugo.ph...@gmail.com Sent: Sunday, June 03, 2012 2:24 AM To:

RE: $$Excel-Macros$$ Require Business related PPT presentation template.....

2012-06-02 Thread Asa Rossoff
Hi Indrajit, You could try searching @ Office.com; for example: http://office.microsoft.com/en-us/templates/results.aspx?qu=business http://office.microsoft.com/en-us/templates/results.aspx?qu=businessex=1a v=zpp ex=1av=zpp Asa From: excel-macros@googlegroups.com

Free Ebooks (RE: $$Excel-Macros$$ MACRO)

2012-06-01 Thread Asa Rossoff
I haven't said anything in the past, thinking it may just be a culture difference -- But now I will offer my opinion: I too am against sharing pirated material. I have seen apparently pirated ebooks posted, linked to, or offered on this list many times. I have also seen copy-paste responses

RE: $$Excel-Macros$$ Lookup and return 2nd occurrance

2012-05-31 Thread Asa Rossoff
Hi Hilary, Mind sharing your solution with the group? What came to mind for me was an array solution that uses small/row to identify the second smallest row number for the matching name, and index to retrieve the reference to the cell. Here's a formula using that approach: {

RE: $$Excel-Macros$$ can we round figer any amount.

2012-05-30 Thread Asa Rossoff
Hi Anil, To get the exact results you indicated (10% of rounding up to next 100,000), you can use any one of these formulas: =ROUNDUP(A2,-5)/10 =ROUNDUP(A2/10,-4) =(INT(A2/10)+(A2/10INT(A2/10)))*1 The ROUNDUP formulas will work with positive or negative numbers, but if

RE: $$Excel-Macros$$ How to collect only numeric value from a particular cell

2012-05-29 Thread Asa Rossoff
Lakshman ( Deba ) - Rajan posted an excellent formula for extracting all the numbers already. Make sure to enter his formula with ctrl-shift-enter (it's an array formula). It is for Excel 2007+ only because it uses the IFERROR function. Here is a version modified slightly to work in

RE: $$Excel-Macros$$ SOAP and VBA

2012-05-25 Thread Asa Rossoff
Hi Rocky, For Office XP and 2003 there was something called the Web Services Toolkit that provided a a library for this purpose. This is an unsupported method, and may always have been unsupported. The supported method is to use .NET Ofiice Interop and code your solution in Visual Studio.

RE: $$Excel-Macros$$ Convert amount to Million

2012-05-19 Thread Asa Rossoff
Hi Aamir, How about this: Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False MacroMillion Target Application.EnableEvents = True End Sub Private Sub MacroMillion(ByRef Target As Range) Const M As Double = 100 Const

RE: $$Excel-Macros$$ Row to repeat at the bottom of each page

2012-05-19 Thread Asa Rossoff
page Hi Asa Yes I did the same, I copied the content in paint saved as a bmp file and attached in the footer and its working fine thanks Siraj From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Asa Rossoff Sent: Friday, May 18, 2012 12:19 PM

RE: $$Excel-Macros$$ Row to repeat at the bottom of each page

2012-05-18 Thread Asa Rossoff
(BTG) Sent: Thursday, May 17, 2012 9:34 PM To: excel-macros@googlegroups.com Subject: RE: $$Excel-Macros$$ Row to repeat at the bottom of each page Hi Asa Rossoff Thank You for your advice, actually the problem is it is an small box with border are there which I want to repeat at bottom

RE: $$Excel-Macros$$ Row to repeat at the bottom of each page

2012-05-17 Thread Asa Rossoff
Hi Siraj, I do not think so. Not automatically. You would have to have the rows repeated on your worksheet at appropraite places, or use a macro to temporarily insert those rows, print the sheet, and then remove them again. The most common solution, I think, is to use the page footer

RE: $$Excel-Macros$$ Link Check Box many times

2012-05-16 Thread Asa Rossoff
Hi Hilary, You could use a character with a check box, and a Worksheet.Click event to place and remove the checks. You can use the Windows Character Map utility (charmap.exe) to browse your fonts. Unicode includes a Ballot Box character (☐), Ballot Box with Check (☑) and Ballot Box with X

RE: $$Excel-Macros$$ Formula for discount of third item bought by a customer

2012-05-15 Thread Asa Rossoff
From: Asa Rossoff [mailto:a...@lovetour.info] Sent: Tuesday, May 15, 2012 3:19 AM To: 'excel-macros@googlegroups.com' Subject: RE: $$Excel-Macros$$ Formula for discount of third item bought by a customer Hi Robinson, To my way of looking at it, the problem is rather complicated

RE: $$Excel-Macros$$ Need help-- Related to UDF

2012-05-14 Thread Asa Rossoff
Function Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Asa Rossoff Sent: Monday, May 14, 2012 12:41 PM To: excel-macros@googlegroups.com Subject: RE: $$Excel-Macros$$ Need help-- Related to UDF Hello Amol, Sounds like you are asking for something

RE: $$Excel-Macros$$ Re: Printing sheets in colour using VBA in ecel

2012-05-14 Thread Asa Rossoff
Sunny, when you say manually print in color how do you do that? Do you click on Printer Settings or Page Setup to select that option? Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Sunny Kapoor Sent: Monday, May 14, 2012 12:55 PM To:

RE: $$Excel-Macros$$ Re: Printing sheets in colour using VBA in ecel

2012-05-14 Thread Asa Rossoff
: Printing sheets in colour using VBA in ecel yes. Just like that. But , the macro doesn't print in colour. Sunny On Mon, May 14, 2012 at 10:00 PM, Asa Rossoff a...@lovetour.info wrote: Sunny, when you say manually print in color how do you do that? Do you click on Printer Settings or Page

RE: $$Excel-Macros$$ query

2012-05-12 Thread Asa Rossoff
Hi Aamir, You can use =SUMPRODUCT(SUBTOTAL(9,OFFSET($I$10,ROW($I$11:$I$100)-ROW($I$10),)),--($A2=$ H$11:$H$100)) in C2 and copy down. It will work for a filtered list like SUMIF. change the SUBTOTAL type from 9 to 109 to have it ignore rows that are manually hidden as well. Best not to

RE: $$Excel-Macros$$ amend in macro

2012-05-12 Thread Asa Rossoff
Sub Sheet1Multiplecopy() Dim s1 as worksheet, n as long, c as long c = worksheets.count set s1=worksheets(1) For n = msgbox(How many sheets do you want to add?) to 1 step -1 s1.Copy After:=s1 ActiveSheet.Name = n Next s1.select End Sub From:

RE: $$Excel-Macros$$ amend in macro

2012-05-12 Thread Asa Rossoff
OOps, typos -- Sub Sheet1Multiplecopy() Dim s1 as worksheet, n as long set s1=worksheets(1) For n = msgbox(How many sheets do you want to add?) to 1 step -1 s1.Copy After:=s1 ActiveSheet.Name = n Next s1.select End Sub From: Asa Rossoff [mailto:a

RE: $$Excel-Macros$$ Interview Questions with Answers (Excel+VBA+Access+SQL Server)

2012-05-11 Thread Asa Rossoff
Thank you Noorain for sharing those. I just started reading through 50 Excel VBA Oral Questions. and the Q As seem good, but not all the answers are complete and thorough, and some could be misleading. For example: Ques 06. Difference between ActiveX and Form Controls. Solution: i) Forms

RE: $$Excel-Macros$$ Defining Same Name For ranges available in multiple tabs

2012-05-11 Thread Asa Rossoff
Hi Shekhar, You can use: =SUMIF(sheet1!WBS,A1,sheet1!COST)+SUMIF(sheet2!WBS,A1,sheet2!COST)+SUMIF(she et3!WBS,A1,sheet3!COST) Or, if the ranges are identical on each sheet, you can use 3-D references with certain functions (but not with SUMIF) to refer to basically a union of the identical

RE: $$Excel-Macros$$ Defining Same Name For ranges available in multiple tabs

2012-05-11 Thread Asa Rossoff
-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Asa Rossoff Sent: Friday, May 11, 2012 8:18 PM To: excel-macros@googlegroups.com Subject: RE: $$Excel-Macros$$ Defining Same Name For ranges available in multiple tabs Hi Shekhar, You can use: =SUMIF(sheet1!WBS,A1,sheet1

RE: $$Excel-Macros$$ Re: Defining Same Name For ranges available in multiple tabs

2012-05-11 Thread Asa Rossoff
Nice solution, Haseeb. Works for me in Excel 2010. This method worked with named ranges. If you use the same range name on each worksheet, you can use: =SUMPRODUCT(SUMIF(INDIRECT('$D$1:$D$10'!WBS),A1,INDIRECT('$D$1:$D$1 0'!COST))) Asa From: excel-macros@googlegroups.com

RE: $$Excel-Macros$$ Count sum color cell, cells have conditional formatting

2012-05-10 Thread Asa Rossoff
@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of ChilExcel Sent: Thursday, May 10, 2012 12:54 PM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Count sum color cell, cells have conditional formatting Hi Asa Rossoff I'm working on a solution, with the help

RE: $$Excel-Macros$$ Count sum color cell, cells have conditional formatting

2012-05-10 Thread Asa Rossoff
Rossoff Chilexcel 2012/5/10 Asa Rossoff a...@lovetour.info: Excellent.  I hope I didn't give the impression I was unwilling to help more.  I am happy to.  But if you need more help, I prefer a specific question than just giving a complete solution... so you can gain the most experience

RE: $$Excel-Macros$$ Fwd: Need help on data

2012-05-09 Thread Asa Rossoff
Hello Bé Trần, I believe that is what Lokesh meant (sheet1 = data entry form; sheet2 = database record storage) -- but I am replying just to provide the suggestion that you type your replies at the top of messages -- I often have difficulty finding your comments, since they are buried down

RE: $$Excel-Macros$$ Replacement of Lookup function

2012-05-09 Thread Asa Rossoff
Hi Shekhar, Well, the prupose of the formula is, in the end, to lookup a text value based on an input value. This is best accomplished with a lookup function. ANY of the lookup functions could be used - LOOKUP, HLOOKUP, VLOOKUP, CHOOSE, INDEX, etc. Here is a version that utilizes

RE: $$Excel-Macros$$ Table data fit the page size..(auto)

2012-05-08 Thread Asa Rossoff
I see you already have it fit to page when printed - Do you mean you want to have the table forced into the shape of the page to completely fill the page? If so, I think you will need a macro, and it could be a bit tricky. You currently have a macro adjusting the margins in the

RE: $$Excel-Macros$$ Date Problem

2012-05-08 Thread Asa Rossoff
hilary, Instead of TEXT(MONTH(TODAY()),mmm), I think you were aiming for TEXT(TODAY(),mmm). You could also use =TODAY() with a cell format of mmm to have it displayed as Jan/Feb/etc. but still hold a dateserial as the underlying value of the cell. Asa From:

RE: $$Excel-Macros$$ Digest for excel-macros@googlegroups.com - 2 Messages in 2 Topics

2012-05-08 Thread Asa Rossoff
the page size..(auto) Asa Rossoff a...@lovetour.info May 08 01:36PM -0700 I see you already have it fit to page when printed - Do you mean you want to have the table forced into the shape of the page to completely fill the page? If so, I think you will need a macro, and it could

RE: $$Excel-Macros$$ Fwd: Need help on data

2012-05-08 Thread Asa Rossoff
Hello Lokesh, You may want to try Debra Dalgleish and Dave Petersen's method detailed here: http://contextures.com/exceldataentryupdateform.html Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Lokesh Loki Sent: Tuesday, May 08, 2012 7:30 AM To:

RE: $$Excel-Macros$$ Count sum color cell, cells have conditional formatting

2012-05-08 Thread Asa Rossoff
@googlegroups.com Subject: Re: $$Excel-Macros$$ Count sum color cell, cells have conditional formatting Thx Asa Rossoff ,all this I know, also the links Please Rajan you help !!! ... Chilexcel 2012/5/7 Asa Rossoff a...@lovetour.info: Chil, Also see Bob Phillip's method @ http

RE: $$Excel-Macros$$ My First Excel Program

2012-05-07 Thread Asa Rossoff
Hi Hilary, looks good! My first question: You're a 14 year old single mom?! And an Excel whiz to boot. Please update on how it is coming along, and I will try to help with some of your remaining troubles! Asa From: excel-macros@googlegroups.com

RE: $$Excel-Macros$$ Count sum color cell, cells have conditional formatting

2012-05-07 Thread Asa Rossoff
Excel has no function to determine conditional formats of cells -- you have to evaluate the same formulas used to color the cells again yourself to determine what color/format the cell will have received. The simplest solution is probably to use VBA to evaluate the CFs, see

RE: $$Excel-Macros$$ How to make using excel to print the Bank deposit slips

2012-05-03 Thread Asa Rossoff
Hi V.Kiran, If you need to use an exact copy of the bank's form, it may be a bit tricky in Excel. Whether to use Excel at all, and what approach to take if you do, depends on the reason you are trying to undertake this. For example, if you want to use an exact copy of the bank's form, and

RE: $$Excel-Macros$$ Automatic insert of row at each change in particular data

2012-05-03 Thread Asa Rossoff
Hi Vaibhav, You got some other good responses. Here are versions that should be faster for large ranges, since it does not have to loop through every cell in column A. It has an important limitation, though: It will only work correctly if there are at least two of every unique value in

RE: $$Excel-Macros$$ Hiding Work Sheets

2012-05-02 Thread Asa Rossoff
Hi Ashish, Workbook protection. http://spreadsheetpage.com/index.php/tip/spreadsheet_protection_faq1/ Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Ashish Pradhan Sent: Wednesday, May 02, 2012 12:20 AM To: Excel Macros Subject: $$Excel-Macros$$

RE: $$Excel-Macros$$ Rajan verma : Most Helpful Member- Apr'2012

2012-05-02 Thread Asa Rossoff
Congratulations Rajan, you're very generous with your time and expertise! Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Ayush Jain Sent: Wednesday, May 02, 2012 9:01 AM To: excel-macros Subject: $$Excel-Macros$$ Rajan verma : Most Helpful Member-

RE: $$Excel-Macros$$ NAND memory flash-drive, writing from Excel to a text file

2012-05-02 Thread Asa Rossoff
Hi Pascal, I'm glad you found the problem (specifying the whole path with Getfile) With late binding you don't need to set a library reference. If you don't set a library reference, the constants aren't defined. You can easily verify the values of the constants in the immediate window like

RE: $$Excel-Macros$$ Fixing the problem

2012-05-01 Thread Asa Rossoff
Hi Dhanesh, =SUMIFS(F3:R3,F2:R2,=B3,F2:R2,=C3) will total the periods whose date (as specified in row 2 -- appears to be month-ending date) falls between the specified dates in B3 and C3. =COUNTIFS(F2:R2,=B3,F2:R2,=C3) will count the number of periods that actually appear in the table and

RE: $$Excel-Macros$$ NAND memory flash-drive, writing from Excel to a text file

2012-05-01 Thread Asa Rossoff
Hi Pascal, Actually, my feeling is that your code is leaving a file handle open unneccesarily and you are having a file sharing/locking violation on FAT32 volumes -- since you only need to have one file handle open at a time, your code should be correctable (unless VBSCRIPT has some strange bug).

RE: $$Excel-Macros$$ NAND memory flash-drive, writing from Excel to a text file

2012-05-01 Thread Asa Rossoff
@googlegroups.com] On Behalf Of Asa Rossoff Sent: Tuesday, May 01, 2012 7:42 PM To: excel-macros@googlegroups.com Subject: RE: $$Excel-Macros$$ NAND memory flash-drive, writing from Excel to a text file Hi Pascal, Actually, my feeling is that your code is leaving a file handle open unneccesarily and you

RE: $$Excel-Macros$$ Re: Hi friends, I want to know

2012-04-30 Thread Asa Rossoff
If you don't want to open the other workbook and you don't want to usa VBA, I don't know how to COPY a worksheet from one workbook to another, but you can link to desired values. For example, in cell A1 of your destination sheet/workbook, type: =[OtherWorkbookName.XLS]Sheet1!A1 To rerieve

  1   2   3   4   >