$$Excel-Macros$$ Help for a small Macro

2009-05-20 Thread DOLLAR CHANDE
Dear Group, I have a Workbook where I want a macro such that if i click any unlocked cell in any sheet or a particular sheet, all the contents of the said cell should be copied and be ready to paste wherever i want. Hope i will b able to get the macro as nobody on this group is left unanswered.

$$Excel-Macros$$ Re: want a macro code

2009-05-20 Thread Deepak Rawat
Hi thanks for revert but i dont want to use vlookup. I want macro code for entering name n nos. for example: if i put Delhi in City field then name and phone nos of ADM and GM of Delhi should automatically come in theri fields. Same as i put Mumbai . Regards Deepak Rawat On Wed, May 20,

$$Excel-Macros$$ Re: Chart Formatting in Excel 2007

2009-05-20 Thread Satish Mandava
On Thu, May 21, 2009 at 2:41 AM, Dave wrote: > > Hi all, new to the group and fairly new to VBA programming. Here is > my question: > > I'm writing a Macro to automate chart formatting tasks in Excel 2007. > I noticed that the macro recorder does not record all of my steps and > I can't figure o

$$Excel-Macros$$ Need VBA Script to Open URLs from a list in Excel

2009-05-20 Thread Lexster
Hi. I have a list of URL links in a 2003 spreadsheet, tab name="Sheet 1", first cell reference ="B2". I have about 20 links and I am constantly adding to the list. Could someone please help me with a VBA script that will automatically go down the list and open up each url link? It would stop ru

$$Excel-Macros$$ Help in Excel - How can we work in shared file while running the macro?

2009-05-20 Thread ankur kochar
Hi, I required a urgent help, I had an excel file which i want to work in shared, but in that file I am using macro with VB codes, I want help how to run the macro while working in shared file using by more than 1 person at the same time. Please find the attached file for your reference. Any hel

$$Excel-Macros$$ rows property in VBA for excel Macro

2009-05-20 Thread tuigje7
How can I change the code below so that VBA deletes any rows in the current region where th value of the first cell is blank? For Each rw In Worksheets(1).Cells(1, 1).CurrentRegion.Rows this = rw.Cells(1, 1).Value If this = last Then rw.Delete last = this Next thanks for your feedbac

$$Excel-Macros$$ Chart Formatting in Excel 2007

2009-05-20 Thread Dave
Hi all, new to the group and fairly new to VBA programming. Here is my question: I'm writing a Macro to automate chart formatting tasks in Excel 2007. I noticed that the macro recorder does not record all of my steps and I can't figure out which commands to use from the object browser so hopeful

$$Excel-Macros$$ SQL en funcion

2009-05-20 Thread Erikito1981
I have a problem with this code shows me the following "It has been defined by user-defined type" I am new to this programming in VB Excel GRACIAS Function empleado(num As Integer) As String Dim Cnn As ADODB.Connection Dim Archivo As ADODB.Recordset Dim Sql, Sqlc, busca As String Set Cnn = N

$$Excel-Macros$$ Re: want a macro code

2009-05-20 Thread HP Reddy
Hi Deepak, You can use the VLOOKUP formula. Check the sheet2 in the attached file. Revert for clarifications. Regards hpreddy On Wed, May 20, 2009 at 10:40 AM, Deepak Rawat wrote: > Hi all! i have attached a file, there is 5 fields in the file > my requirement is, as i put city name in city

$$Excel-Macros$$ Re: Macro Help - Print worksheet loop as one print job

2009-05-20 Thread Dustin
Akhilesh, Thank you for your response. Though that line is helpful, it is not what I need. Maybe this simple example will help clarify: Sub test() For i = 0 To 10 Range("A1").Select ActiveCell.FormulaR1C1 = i ActiveWindow.SelectedSheets.PrintOut Copies:=1 Next End Sub The way that this is curr

$$Excel-Macros$$ Re: more than 3 rules in condtional formatting

2009-05-20 Thread Balla
thanks for link, but i want a way out without using macros On May 20, 6:48 pm, Norman May wrote: > Try the link below: > > http://www.mrexcel.com/archive/Formatting/12054.html > > Norman > > On Tue, May 19, 2009 at 1:50 PM, Balla wrote: > > > Hi, > > > M using excel 2003, and say i need to have

$$Excel-Macros$$ Re: passwordupprotect file

2009-05-20 Thread TAlgo
Still it asks for a password On May 20, 11:05 am, H Upadhyay wrote: > Hi Tariq > > Passwored.xla crack password, but there is some way that we know what is the > password. > > Regards > Harish Upadhyay > > On 5/18/09, tariq wrote: > > > > > hello mahesh, > > > this file password is : AABBBA

$$Excel-Macros$$ Re: passwordupprotect file

2009-05-20 Thread H Upadhyay
Hi Tariq Passwored.xla crack password, but there is some way that we know what is the password. Regards Harish Upadhyay On 5/18/09, tariq wrote: > > > hello mahesh, > > this file password is : AABBBAABBAAP > > AND ANY PASSWARD CRACKING SO MAIL ME ... > > my e_mail : tariq.78...@gmail.com & con

$$Excel-Macros$$ Re: SQL 2005

2009-05-20 Thread Erikito1981
excellent thank you very much On 19 mayo, 12:26, Fabio Lemos wrote: > You have to enclose your parameter in ': see below; > "SELECT user_code FROM ousr WHERE user_code= '" & busca & "'" > > 2009/5/19 Erikito1981 > > > > > > > Hello everyone > > > I have a problem, I have this code which works

$$Excel-Macros$$ Re: Macro or add-in to Highlight Current Row in Color in any spreadsheet I want

2009-05-20 Thread ddadmin2009
There are several ways of doing this, "using a macro in different sheets" - u can assign macro to a shortcut, add as a button to the toolbar etc., Check the below article, it will explain you how to assign macros to shortcut keys, buttons and objects. http://funwithexcel.blogspot.com/2009/05/macro-

$$Excel-Macros$$ Re: more than 3 rules in condtional formatting

2009-05-20 Thread Norman May
Try the link below: http://www.mrexcel.com/archive/Formatting/12054.html Norman On Tue, May 19, 2009 at 1:50 PM, Balla wrote: > > Hi, > > M using excel 2003, and say i need to have this below rule for a cell > if value is "india", background color blue > if value is "aus", background color yel

$$Excel-Macros$$ Re: Macro or add-in to Highlight Current Row in Color in any spreadsheet I want

2009-05-20 Thread Aindril De
Dear OldRider, You can record a blank macro and paste the code there. Or you can go to VB editor and insert a module there. Then you can use the code. for Example: Sub ColorRow() ActiveCell.EntireRow.Interior.Color = RGB(255, 255, 160) ActiveCell.EntireRow.Font.Bold = True ' Check for first exe

$$Excel-Macros$$ Re: Check date if exist break hyperlink

2009-05-20 Thread Sergio Abadesso
please attach the file. 2009/5/19 AYalcin > > Hello Everyone, > > I am very new in macro programming and would appreciate any help I can > get. > > I have a workbook with two sheets. The first sheet has mm/ > labeled hyperlinks eg 03/2008, 04/2008.. 04/2009. When I > press on the h

$$Excel-Macros$$ Re: Fwd: VBA help needed

2009-05-20 Thread Sergio Abadesso
Hello Harmeet, I think I have a solution for your problem. see attached file. Regards, Sergio 2009/5/18 Harmeet Singh > > > -- Forwarded message -- > From: Nihar Turakhia > Date: Mon, May 18, 2009 at 12:47 AM > Subject: VBA help needed > To: harmeet.hew...@gmail.com > > > H

$$Excel-Macros$$ Re: Leading zeros

2009-05-20 Thread Mahesh
Hi John, Use ' before 0 os it will display number as '0985542. Rgds, MB On Tue, May 19, 2009 at 7:21 PM, john wrote: > > I have a basi questions. When I try to enter a number with a leading > zero, it ignores the zero and enters the rest. Where do I go to > correct this so all numbers includin

$$Excel-Macros$$ want a macro code

2009-05-20 Thread Deepak Rawat
Hi all!i have attached a file, there is 5 fields in the file my requirement is, as i put city name in city field, then all the field should fill accordingly like as i put Mumbai, the names n Ph nos come accordingly ie. AMD_NAME=>ANIK BHASIN AND ADM_PH => 9921356982 and the same for GM name as well.

$$Excel-Macros$$ Macro or add-in to Highlight Current Row in Color in any spreadsheet I want

2009-05-20 Thread OldRider
Folks: G'day. I am an absolute novice at VBA and macros. I do get around by adapting solutions provided by more knowledgeable and learned people. So please be understanding. This is the issue I am trying to resolve. I need to highlight the current row I am using and I have the perfect code to use

$$Excel-Macros$$ Help with Macros to sum data

2009-05-20 Thread Vandana Vallam
Dear Friends,Can someone help me to run a macro to calculate the sum of a cell across sheets...for Example Sheet 1 B2, Sheet 2 B2 and Sheet 3 B3 have some numbers...now i want to run a macro that will take the sum of cell B2 across the sheets, in Summary sheet B2. Thanks & Regards, Vandana --~--

$$Excel-Macros$$ Re: Fwd: Help required

2009-05-20 Thread amrahs k
Hi Dave and Team, Thanks for the help provided. I have done this successfully with out any issues. once again thank you all for your valuable and swift response as well. Regards, Sharma On Wed, May 13, 2009 at 10:50 PM, Fabio Lemos wrote: > Hi, > It's possible to use Validation, but it need t

$$Excel-Macros$$ Help needed in email writing

2009-05-20 Thread prashant kulkarni
HI all, I have a sheet, from which i have to copy particualr data from the sheet, then paste it in the fixed place in word and save the file as *.pdf. there are hundreds of such cases to be dealt with. Is there any way to have amacro in place to do it in a faster way. In short :- 1) the macro sh

$$Excel-Macros$$ Re: VBA code to search for worksheet with matching date

2009-05-20 Thread Puneet Jain
hello i downloaded the (abletoextract professional) software for converting pdf to word , for which excel group provided me a 16 digit pin also, but now after 30 days i want to use this software , its not working, if any can again provide me that pin no. Thans in advance Puneet jain Power Financ

$$Excel-Macros$$ Re: SQL 2005

2009-05-20 Thread Fabio Lemos
You have to enclose your parameter in ': see below; "SELECT user_code FROM ousr WHERE user_code= '" & busca & "'" 2009/5/19 Erikito1981 > > Hello everyone > > I have a problem, I have this code which works fine me if I use is the > field number but if the data is character sends me an error mess

$$Excel-Macros$$ Re: Help to remove password for attach file

2009-05-20 Thread prashant kulkarni
I too have some files i have saved long back with passward and now forgot the passward. Please suggest the way to unlock the files on my own. Thanks, Prashant On May 19, 1:26 am, prabhakar jain wrote: > find unprtected file > > > > > > On Mon, May 18, 2009 at 4:50 PM, Dilip Pandey wrote: > > H

$$Excel-Macros$$ Disable/hide minimize & restore buttons (Excel 2007)

2009-05-20 Thread skom
Hi! I have to disable or hide minimize and restore buttons in excel system menu. But this code works correctly in excel 2003 but not in excel 2007. Excel 2007 hide only minimize button!

$$Excel-Macros$$ Re: Leading zeros

2009-05-20 Thread Anil Kumar Agarwala
Dear John and all Apart from the many solutions suggesting formatting as text or adding the ' sign, you could custom format the cell, thus retaining the number format and having the leading zeroes at the same time. For example if your numbers are of a fixed length of 6 digits so that "15" is to b

$$Excel-Macros$$ Re: Batch copy sheet data from multiple files

2009-05-20 Thread Atul Kesaria
Is there any code where by all the files saved in a particular folder gets copied to a pre defined excel sheet .rather then writing the below code 75 times with different file names. On Tue, May 19, 2009 at 2:17 PM, ritesh paul wrote: > you have to write the below code 75 times in VBA > > W

$$Excel-Macros$$ Re: VBA code to search for worksheet with matching date

2009-05-20 Thread bala
Hi, Try this code dim dtDate as Date dtDate = Thisworkbook.Names("IDO_Date"").RefersToRange.Value for i = 2 to Sheets.count sheets(i).select if date(Range("B2").value)=dtdate then Exit For end if Next On May 19, 7:44 pm, Doug wrote: > Hello, >  I have a work

$$Excel-Macros$$ more than 3 rules in condtional formatting

2009-05-20 Thread Balla
Hi, M using excel 2003, and say i need to have this below rule for a cell if value is "india", background color blue if value is "aus", background color yellow if value is "sa", background color pink if value is "eng", background color red if value is "sl", background color navyblue m using cond

$$Excel-Macros$$ Run Macro Automatically

2009-05-20 Thread Pravin Jotwani
Hello, I need help in 2 macros. Any suggestions will be greatly appreciated. thanks in advance. 1) Is it possible to run a macro automatically if certain cell value changes? e.g Cell A1 has a value which comes from a formula and 1) Can I schedule a fixed time to run a macro. --~--~-~-