$$Excel-Macros$$ Re: vba excel understanding objects : worksheet

2010-09-24 Thread r
> Since you have experience with C, let's transpose your VBA question > into a C question: i'm sorry but I have not experience in c regards r -- -- Some important links for excel users: 1. Follow us on TWITTER for t

Re: $$Excel-Macros$$ Column Data in Rows Table

2010-09-24 Thread Jaideep Panchal
Hi Group, Pls help me on this, it will make my life easy... - Original Message - From: Dave Bonallack To: excel-macros@googlegroups.com Sent: Monday, September 20, 2010 4:15 PM Subject: RE: $$Excel-Macros$$ Column Data in Rows Table Hi, Sorry, but someone else will have

$$Excel-Macros$$ Excel Training

2010-09-24 Thread Shreedar Pandurangaiah
Dear Group, Please let me know, if any of you are interested in training a group of folks on Microsoft Excel in Bangalore. They are looking for 30 hours of training.. Thank You, Shreedar -- -- Some important links f

$$Excel-Macros$$ How do I copy some cells(including formatting) and save as image file using VBA?

2010-09-24 Thread LunaMoon
How do I copy some cells(including formatting) and save as image file using VBA? Ultimately, I want to do that via COM or ActiveX server. Yet I think VBA is the starting point. So lets start from VBA. How to do that in VBA? I know how to open and close the Excel sheet. But what's the command i

$$Excel-Macros$$ Excel chart plotting, depending on weightage

2010-09-24 Thread startingexcel
Excel chart plotting, depending on weightage Hi experts, Need help in ideas and plotting a graph to show a weightage of temperatures hit in 4 zones. I cannot relate this to x axis, i want to represent all in one chart so that i present a viewer, the number of times a particular temperatures are hi

$$Excel-Macros$$ Re: vba excel understanding objects : worksheet

2010-09-24 Thread Stuart Redmann
On 23 Sep., cyber 1000s wrote: > Hi cyberspace, > > I have some c programming background... > Is it possible to increment a worksheet object (worksheets collection) > in a loop such as below ? > > Public Sub CopyShNamesFromWkbToWkb2() > > Dim i As Integer > Dim wkb As Object > Set wkb = Wor

$$Excel-Macros$$ Like our page on facebook .... discussexcel.com

2010-09-24 Thread Ayush
Dear members, You have been doing excellent job in keeping this group alive and my sincere thanks for same.I am glad to share that our page "discussexcel.com" is launched on facebook. You may follow the below link to like this page. http://www.facebook.com/pages/discussexcelcom/160307843985936 T

$$Excel-Macros$$ Open and use Outlook email attachments

2010-09-24 Thread Neil
Hi There, I receive a report via email every morning and would like to have an excel macro that can open the email, extract the report data and use it in the spreadsheet i want to update. Is this possible? I've searched and search and can't find anything about how this might work. Any thoughts w

$$Excel-Macros$$ Re: How to copy ThisWorkbook events code into another "thisworkbook module" on another workbook

2010-09-24 Thread r
try: Sub Test() Dim oVBP As VBProject Dim oVBP2 As VBProject Dim oComp As VBComponent Dim oComp2 As VBComponent Dim s As String Set oVBP = ThisWorkbook.VBProject Set oVBP2 = Workbooks("Cartel3").VBProject Set oComp = oVBP.VBComponents.Item("Thisworkbook") Set oComp2 = oVBP2.VBComponents.Item("Th

Re: $$Excel-Macros$$ Help Required Making Data into Muliple sheets

2010-09-24 Thread Venkatesan c
Dear Siti, Thanks a lot Best Regards, Venkat On Fri, Sep 24, 2010 at 3:47 PM, siti Vi wrote: > Sub splittabel() > ' siti Vi / jakarta, 24 sept 2010 > Dim RefTbl As Range > Dim DesTbl As Range > Dim sNames As String, ArrNames > Dim r As Long, n As Long, i As Long, c As Integer > > Set RefTbl

Re: $$Excel-Macros$$ Change Data in transpose form

2010-09-24 Thread siti Vi
try this code Sub dosomething() '* siti Vi / jakarta, sept 24, 2010* Dim refTbl As Range Dim DesTbl As Range Dim r As Long, i As Long, c As Long Set refTbl = Cells(1, 1).CurrentRegion Set DesTbl = refTbl(1, 1).Offset(0, refTbl.Columns.Count + 3) For r = 2 To refTbl.Rows.Count

Re: $$Excel-Macros$$ vba excel understanding objects : worksheet

2010-09-24 Thread r
Alternatively you can also use a Collection with the advantage of using also the key in item, more to index: Sub test2() Dim wb As Workbook Dim ws As Worksheet Dim colWs As New Collection Set wb = ThisWorkbook For Each ws In wb.Worksheets colWs.Add ws, ws.Name Next Set ws = colWs.Item(wb.W

Re: $$Excel-Macros$$ vba excel understanding objects : worksheet

2010-09-24 Thread r
is not possible. Worksheets is a set of dependent objects of workbook. use the Properity WorkShets is the only way to return this set. viceversa you could use a array of worksheet Sub test() Dim wb As Workbook Dim ws As Worksheet Dim wss() As Worksheet Dim l As Long Set wb = ThisWorkbook For Eac

Re: $$Excel-Macros$$ Drop down list

2010-09-24 Thread NOORAIN ANSARI
Dear Kalyan, Please see attachment... Thanks, Noorain Ansari On Thu, Sep 23, 2010 at 3:08 PM, Kal xcel wrote: > Dear expert, > > I am facing a problem to create dependent dropdown list. > > Please check the attached file & help. > > Thanks in advance > > Kalyan > > -- > > -

$$Excel-Macros$$ Delete all defined workbokk names

2010-09-24 Thread Jitendra Kumar Verma
Hi All, I have 3+ defined names in workbook and want to delete it. I have written code below, Dim nm as name For each nm in activeworkbook.names Nm.delete Next But it takes too much time to delete. Is there any other way to faster delete the all defined names from workboo

Re: $$Excel-Macros$$ vba excel understanding objects : worksheet

2010-09-24 Thread Lotta
Hi, I think the easiest way to loop though worksheets is: Ex. Dim ws as worksheet ... i = i+1 For Each ws In wbk2.Worksheets wbk.Sheets(3).Cells(i, 4) = ws.name i = i+1 Next ws But in your example you need to use the item property of the worksheets collection to access the sheet via an

Re: $$Excel-Macros$$ vba excel understanding objects : worksheet

2010-09-24 Thread Lotta
HI, The easiest way to loop worksheets would be: Dim ws as worksheet Dim wbk as workbook Dim wbk as workbook 'assign your workbooks to files for each ws in wbk.worksheets next ws On 24 Sep, 00:55, cyber 1000s wrote: > Hi, > > I'm looking for a more general answer about objects in vba like : > >

$$Excel-Macros$$ Re: Open a protected excel file via a DOS command

2010-09-24 Thread Lotta
Hi, I do that, but not using a msdos command. I have an excel workbook, containg the password (encrypted) that will call the workbook/ workbooks that I want to run through the windows schdule event.Ex. Th workbook has one or more updates of other excel workbooks to run - an update function is call

Re: $$Excel-Macros$$ Drop down list

2010-09-24 Thread ALAM
Hi! FIND OUT DRPODOWN LINS AFTAB On Thu, Sep 23, 2010 at 3:08 PM, Kal xcel wrote: > Dear expert, > > I am facing a problem to create dependent dropdown list. > > Please check the attached file & help. > > Thanks in advance > > Kalyan > > -- > > --

Re: $$Excel-Macros$$ lookup function comparing 3 columns

2010-09-24 Thread Srinivasan Ethirajalu
please find the excel with result of 3 column comparision: i have checked for isblank formula & assigned with weightage as 1,2,4 for col a,b,c On Fri, Sep 24, 2010 at 10:40 AM, Srinivasan Ethirajalu < srinivasan.ethiraj...@gmail.com> wrote: > Please clarify: > Below are all possibilities: > > *