$$Excel-Macros$$ How to Drag & get C,D,E,F post A,B...

2014-05-08 Thread Amit Desai (MERU)
Dear Friends, Please help me with very basic query. When we have 1 in Cell A1 & 2 in Cell A2, when we drag the data further down selecting both cells, we get 3,4,5,6,7 etc However when we do this for cells with A in Cell A1, B in A2, we do not get C,D,E,F...Any logical Reason? Is there any

Re: $$Excel-Macros$$ Update of button colors on form

2014-05-08 Thread Vaibhav Joshi
Hi This will help in case you have multiple Objects.. Sub CB_COLOR_CHANGE() Dim cbutton As MSForms.CommandButton Dim oleObj As OLEObject For Each oleObj In ActiveSheet.OLEObjects If TypeOf oleObj.Object Is MSForms.CommandButton Then Set cbutton = oleObj.Object With cbutton

Re: $$Excel-Macros$$ copying data from Excel into a multiple .xml files

2014-05-08 Thread Vaibhav Joshi
Hi MJ, Can you send a sample excel file with raw data for creating excel. Also if you can plot header to plot in excel file will ease task. Cheers!! On Thu, May 8, 2014 at 8:03 PM, Mohammed Jawed wrote: > I’m new to Excel VB scripting and so have no idea on how to approach the > below problem

$$Excel-Macros$$ copying data from Excel into a multiple .xml files

2014-05-08 Thread Mohammed Jawed
I’m new to Excel VB scripting and so have no idea on how to approach the below problem as I have hundreds to create. I have the below xml template file that I would like to be populated from the data in Excel. All the fields in the xml file that are called “change me” need the information

Re: $$Excel-Macros$$ Excel 2013 Userform Popup menu

2014-05-08 Thread Sam Mathai Chacko
And does the same thing work in Excel 2010 or lesser? On Thu, May 8, 2014 at 10:24 AM, The Frog wrote: > Hi Everyone, > > I am having trouble making a pop-up menu display when working with a > userform in Excel 2013. In the past I have used the CommandBars to create > my popup, but this no longe

Re: $$Excel-Macros$$ Update of button colors on form

2014-05-08 Thread Vaibhav Joshi
Try this::: Sub CB_COLOR_CHANGE() Dim cbutton As MSForms.CommandButton Dim oleObj As OLEObject For Each oleObj In ActiveSheet.OLEObjects If TypeOf oleObj.Object Is MSForms.CommandButton Then Set cbutton = oleObj.Object Exit For End If Next cbutton.BackColor = RGB(255, 0,

Re: $$Excel-Macros$$ A word in a cell to be highlighted with Blue color & Bold

2014-05-08 Thread Pravin Gunjal
Thanks Ravinder Also would like to do it *BOLD*. Pl help. On Thu, May 8, 2014 at 4:32 PM, Ravinder wrote: > Pfa for your solution > > > > *From:* excel-macros@googlegroups.com [mailto: > excel-macros@googlegroups.com] *On Behalf Of *Pravin Gunjal > *Sent:* Thursday, May 08, 2014 4:15 PM > *

$$Excel-Macros$$ A word in a cell to be highlighted with Blue color & Bold

2014-05-08 Thread Pravin Gunjal
Greetings! I am having a data containing a word called "ACTIV". And would like to highlight only this word out of the cell with a *specific color (BLUE) *and *BOLD* (only this word and not other words in the same cell) Could you please help me on this issue. ​ File is attached.​ Regards Pra

$$Excel-Macros$$ Specific word in a cell to be highlighted with Bold & Blue color

2014-05-08 Thread Pravin Gunjal
Greetings! I am having a data containing a word called "ACTIV". And would like to highlight only this word out of the cell with a *specific color (BLUE) *and *BOLD* (only this word and not other words in the same cell) Could you please help me on this issue. Regards Pravin Gunjal. -- Are

Re: $$Excel-Macros$$ Print command VBA code

2014-05-08 Thread amar takale
Dear Vabs brother Simply Awesome !!! Great! Thank you so much for your code, for the effort and time dedicated.I am learning so your answer is much appreciated Regards Amar On Thu, May 8, 2014 at 2:38 PM, Vaibhav Joshi wrote: > See attachment, > > Once clicked on button You will be shown print

$$Excel-Macros$$ Update of button colors on form

2014-05-08 Thread Karsten Vestertjele
I've made a sheet with some buttons on. They need to change color when a sub is active. Like this: *Private Sub ChangeColor()* CommandButton2.BackColor = RGB(255, 0, 0) CommandButton2.Enabled = False Sheet1.Activate *End Sub* But nothing happens.. I can change the color if the code is put in

Re: $$Excel-Macros$$ Print command VBA code

2014-05-08 Thread Vaibhav Joshi
Hi You can set it in one page, however text will get shrinked & not viewable. Will that be ok? Cheers! On Thu, May 8, 2014 at 12:39 PM, amar takale wrote: > Dear Vabs brother > > Can you help me on print command (VBA Code).As per my requirement > there are VBA code in which I change only ra

$$Excel-Macros$$ Print command VBA code

2014-05-08 Thread amar takale
Dear Vabs brother Can you help me on print command (VBA Code).As per my requirement there are VBA code in which I change only range of data table not other things means prefect print VBA code only.I put that code in excel & click print button only. But problem is that when long sentence text in o