Re: cant save .xla addin(placed in shared folder) says its read only
Hi pprasad,
Nice to meet you in ozgrid.
Right click your file, click properties.
If 'Read Only' is checked, uncheck it.
Regards, junho
Re: cant save .xla addin(placed in shared folder) says its read only
Hi pprasad,
Nice to meet you in ozgrid.
Right click your file, click properties.
If 'Read Only' is checked, uncheck it.
Regards, junho
Re: Deleting menu bar in Excel 2007 using VBA
Hi
For me this works.
Dim ctrl
'For i = 1 To 152
'Cells(i, j + 1) = i
'Cells(i, j + 2) = CommandBars(i).Name
'For Each ctrl In CommandBars(i).Controls
'j = j + 1
'Cells(i, j + 2) = ctrl.Caption
'Next
'j = 0
'Next
'''''for me 'play' is within CommandBars(1)
'For Each ctrl In CommandBars(1).Controls
'Debug.Print j; ctrl.ID; ctrl.Caption
'Next
'''''for me >>>>>>id:=1 PLAY
Application.CommandBars("Worksheet Menu Bar").FindControl(ID:=1).Delete
Display More
Regards, junho
Re: Cross checking 2 tables
Hi Minja,
Try this function.
=IF(COUNTIF($B$2:$B$1114,A2)>0,VLOOKUP(A2,$B$2:$B$1114,1,0),"")
Regards, junho
Re: Deleting menu bar in Excel 2007 using VBA
Hi pangolin,
I don't know but I use Andy's addin.
http://www.andypope.info/vba/ribboneditor.htm
Regards, junho
Re: Cross checking 2 tables
Hi Minja,
Nice to meet you in ozgrid.
Use countif function,advanced filter,autofilter,copy values.
Would you have a look attatched?
Regards, junho
Re: Auto Add repeated items
Hi Peds,
Nice to meet you in Ozgrid.
Subtotal followed by sort will work for you.
Regards, junho
Re: Help with Macro to create pivot table
Hi sloeart,
Nice to meet you.
You can use dynamic named range, then convert pivot range to this.
Regards, junho
Re: macro to change series color in a pivot chart based on its value
Hi sudarshan.kmr,
Nice to meet you.
Dim varSrsValue
Dim cnt As Integer
Dim EmntSrsValue
varSrsValue=ActiveChart.SeriesCollection(1).Values
For Each EmntSrsValue In varSrsValue
cnt = cnt + 1
With ActiveChart.SeriesCollection(1).Points(Cnt)
Select Case EmntSrsValue
Case Is > 60
.Interior.Color = vbGreen
Case Is > 50
.Interior.Color = vbYellow
Case Is < 50
.Interior.Color = vbRed
Case Else
End Select
End With
Next
Display More
http://www.cellmatrix.net/inde…olor_chart_bars_version_1
Regards, junho
Re: Unique word count from free text
Hi stevewhat,
I can't duplicate 'type mismatch error',sorry.
Attatched I've tested.
Regards, junho
Re: Unique word count from free text
Hi stevewhat,
Nice to meet you.
Add sheets "TextData" which has free data then.
Option Explicit
Sub CntTxt()
Dim dic As Object
Dim varRange
Dim objSheet As Worksheet
Dim rCell As Range
Dim i As Long, j As Long
Set objSheet = Worksheets("Tag Cloud Visualization")
Set rCell = objSheet.Range("B6:C6")
Set dic = CreateObject("scripting.dictionary")
varRange = Sheets("TextData").UsedRange
For i = 1 To UBound(varRange, 1)
For j = 1 To UBound(varRange, 2)
If Not IsEmpty(varRange(i, j)) Then dic(varRange(i, j)) = dic(varRange(i, j)) + 1
Next
Next
With Application
rCell(1).Resize(dic.Count) = .Transpose(dic.keys)
rCell(2).Resize(dic.Count) = .Transpose(dic.items)
'rCell(2).Offset(dic.Count) = .Sum(rCell(2).Resize(dic.Count))
End With
'rCell(2).Offset(dic.Count).Copy
'rCell(2).Resize(dic.Count).PasteSpecial Paste:=xlPasteValues, Operation:=xlDivide, _
' SkipBlanks:=False, Transpose:=False
'rCell(2).Offset(dic.Count).ClearContents
End Sub
Display More
Regards, junho
Re: Updating values on summary page dynamically
Hi eaoodaca,
Nice to meet you.
You can use indirect(address(row(targetCell),column(targetCell),,,sheetname_cell)).
Regards, junho
Re: Displaying text with a Mousover event for an embedded chart
Hi Neji,
Your welcome, thank you.
Regards, junho
Re: Displaying text with a Mousover event for an embedded chart
Hi Neji,
Nice to meet you.
You can use 'sheet5' or 'sheets("cars")'.
I added shapes 'rectangle' to each chart and some lines and names.First select chart then click button.
Regards and happy new year, junho
Re: Checking worksheet names and renaming if duplicate found
Hi VBAno0b,
Nice to meet you.
Dim ws As Worksheet
Dim chk As Boolean
Dim cnt As Integer
For Each ws In ThisWorkbook.Worksheets
If InStr(ws.Name, "Imported") > 0 Then
chk = True
cnt = cnt + 1
End If
Next
If chk Then
Sheets.Add.Name = "Imported" & cnt
Else
Sheets.Add.Name = "Imported"
End If
Display More
There is Smart Indent belowpage.
http://www.oaltd.co.uk/Indenter/IndentFrm.htm
Regards, junho
Re: excel and Imagemagick
Hi jumppack,
Nice to meet you.
This page have com object.
http://newtonexcelbach.wordpre…17/imagemagick-and-excel/
Regards, junho
Re: Getting stock information using macros
Hi Roberto Heng,
I misunderstood your needs.
Each fund have its shortcut, if right click fund you interest you can copy shortcut for that fund.
So if you query for fund involving historic date, you can use shortcut.
For example
AIA Greater China Balanced Fund : http://www.aia.com.sg/FundPric…AIA&FundCode=Q0JG#ResQ0JG
AIA Global Balanced Fund : http://www.aia.com.sg/FundPric…AIA&FundCode=QkFG#ResQkFG
AIA Japan Equity Fund : http://www.aia.com.sg/FundPric…AIA&FundCode=SkVG#ResSkVG
Sub Macro1()
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://www.aia.com.sg/FundPrices_New.aspx?Area=AIA&FundCode=Q0JG#ResQ0JG" _
, Destination:=Range("A1"))
.Name = "FundPrices_New.aspx?Area=AIA&FundCode=Q0JG#ResQ0JG"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = "14" '<--------------------each fund have different tables also shortcut is differ
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With
End Sub
Display More
Regards, junho
Re: Getting stock information using macros
Hi Roberto Heng,
Sorry for lated reply.
Would you have a look at attached?
I tested MSN quote.
If you can't adjust to your needs, post back, please.
Regards, junho