Excel Macro..   Independent houses near kukatpally | Apartments in Pragathi Nagar | AndhraVaani.com | Log Out | Topics | Search
Register | Edit Profile

Bewarse TalkArchives - 2007Bewarse Bewarse BewarseArchive through October 06, 2007 � Excel Macro.. Previous Next

Author Message
Top of pagePrevious messageNext messageBottom of pageLink to this message

Kalki
Bewarse Legend
Username: Kalki

Post Number: 16826
Registered: 04-2005
Posted From: 71.70.173.154

Rating:N/A
Votes: 0(Vote!)

Posted on Sunday, September 30, 2007 - 8:45 am:Edit PostDelete PostView Post/Check IP


Papa ki Papi ki teda telavani edavallara
Top of pagePrevious messageNext messageBottom of pageLink to this message

Babu
Celebrity Bewarse
Username: Babu

Post Number: 13160
Registered: 06-2004
Posted From: 24.214.89.139

Rating:N/A
Votes: 0(Vote!)

Posted on Sunday, September 30, 2007 - 12:28 am:Edit PostDelete PostView Post/Check IP

bobesh fullu party lo unna, mail morning istha

eeloga aa excel macro code unte
bewarse_babu at yahoo dot com ki pampu

naaku thelisthe cheptha
babu garu
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Celebrity Bewarse
Username: Bob

Post Number: 13286
Registered: 03-2005
Posted From: 24.18.27.240

Rating:N/A
Votes: 0(Vote!)

Posted on Saturday, September 29, 2007 - 7:38 pm:Edit PostDelete PostView Post/Check IP

babu moshai ni phone number o paali bapuji4u@gmail.com ki ampuko ninna excel macro rasa mama ekkado chinna mistake undi nitho matladatham anni..
sound cheyaku kantam kostha
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Celebrity Bewarse
Username: Bob

Post Number: 13285
Registered: 03-2005
Posted From: 24.18.27.240

Rating:N/A
Votes: 0(Vote!)

Posted on Saturday, September 29, 2007 - 3:31 pm:Edit PostDelete PostView Post/Check IP

babu moshai
sound cheyaku kantam kostha
Top of pagePrevious messageNext messageBottom of pageLink to this message

Babu
Celebrity Bewarse
Username: Babu

Post Number: 13150
Registered: 06-2004
Posted From: 24.214.89.139

Rating:N/A
Votes: 0(Vote!)

Posted on Saturday, September 29, 2007 - 3:03 am:Edit PostDelete PostView Post/Check IP


babu garu
Top of pagePrevious messageNext messageBottom of pageLink to this message

Risk
Yavvanam Kaatesina Bewarse
Username: Risk

Post Number: 3652
Registered: 05-2007
Posted From: 84.58.54.144

Rating:N/A
Votes: 0(Vote!)

Posted on Saturday, September 29, 2007 - 3:01 am:Edit PostDelete PostView Post/Check IP

naaku time ledhu kaani nenu raseyyagalanu...
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Celebrity Bewarse
Username: Bob

Post Number: 13282
Registered: 03-2005
Posted From: 24.18.27.240

Rating:
Votes: 1(Vote!)

Posted on Friday, September 28, 2007 - 11:34 pm:Edit PostDelete PostView Post/Check IP

thanks pda..
sound cheyaku kantam kostha
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Celebrity Bewarse
Username: Bob

Post Number: 13281
Registered: 03-2005
Posted From: 24.18.27.240

Rating:N/A
Votes: 0(Vote!)

Posted on Friday, September 28, 2007 - 11:23 pm:Edit PostDelete PostView Post/Check IP

naku eda dorikindi same code..
http://www.exceltip.com/st/Compare_two_worksheets_ using_VBA_in_Microsoft_Excel/477.html
sound cheyaku kantam kostha
Top of pagePrevious messageNext messageBottom of pageLink to this message

Pda
Celebrity Bewarse
Username: Pda

Post Number: 15302
Registered: 06-2006
Posted From: 75.161.107.194

Rating:N/A
Votes: 0(Vote!)

Posted on Friday, September 28, 2007 - 10:28 pm:Edit PostDelete PostView Post/Check IP

http://www.erlandsendata.no/english/index.php?d=en vbawscomparews
Life is a game. So fight for survival and see if you're worth it.
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Celebrity Bewarse
Username: Bob

Post Number: 13280
Registered: 03-2005
Posted From: 24.18.27.240

Rating:N/A
Votes: 0(Vote!)

Posted on Friday, September 28, 2007 - 10:25 pm:Edit PostDelete PostView Post/Check IP

Sub CompareWorksheets(ws1 As Worksheet, ws2 As Worksheet)
Dim r As Long, c As Integer
Dim lr1 As Long, lr2 As Long, lc1 As Integer, lc2 As Integer
Dim maxR As Long, maxC As Integer, cf1 As String, cf2 As String
Dim rptWB As Workbook, DiffCount As Long
Application.ScreenUpdating = False
Application.StatusBar = "Creating the report..."
Set rptWB = Workbooks.Add
Application.DisplayAlerts = False
While Worksheets.Count > 1
Worksheets(2).Delete
Wend
Application.DisplayAlerts = True
With ws1.UsedRange
lr1 = .Rows.Count
lc1 = .Columns.Count
End With
With ws2.UsedRange
lr2 = .Rows.Count
lc2 = .Columns.Count
End With
maxR = lr1
maxC = lc1
If maxR < lr2 Then maxR = lr2
If maxC < lc2 Then maxC = lc2
DiffCount = 0
For c = 1 To maxC
Application.StatusBar = "Comparing cells " & Format(c / maxC, "0 %") & "..."
For r = 1 To maxR
cf1 = ""
cf2 = ""
On Error Resume Next
cf1 = ws1.Cells(r, c).FormulaLocal
cf2 = ws2.Cells(r, c).FormulaLocal
On Error GoTo 0
If cf1 <> cf2 Then
DiffCount = DiffCount + 1
Cells(r, c).Formula = "'" & cf1 & " <> " & cf2
End If
Next r
Next c
Application.StatusBar = "Formatting the report..."
With Range(Cells(1, 1), Cells(maxR, maxC))
.Interior.ColorIndex = 19
With .Borders(xlEdgeTop)
.LineStyle = xlContinuous
.Weight = xlHairline
End With
With .Borders(xlEdgeRight)
.LineStyle = xlContinuous
.Weight = xlHairline
End With
With .Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.Weight = xlHairline
End With
With .Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlHairline
End With
On Error Resume Next
With .Borders(xlInsideHorizontal)
.LineStyle = xlContinuous
.Weight = xlHairline
End With
With .Borders(xlInsideVertical)
.LineStyle = xlContinuous
.Weight = xlHairline
End With
On Error GoTo 0
End With
Columns("A:IV").ColumnWidth = 20
rptWB.Saved = True
If DiffCount = 0 Then
rptWB.Close False
End If
Set rptWB = Nothing
Application.StatusBar = False
Application.ScreenUpdating = True
MsgBox DiffCount & " cells contain different formulas!", vbInformation, _
"Compare " & ws1.Name & " with " & ws2.Name
End Sub
sound cheyaku kantam kostha
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Celebrity Bewarse
Username: Bob

Post Number: 13279
Registered: 03-2005
Posted From: 24.18.27.240

Rating:N/A
Votes: 0(Vote!)

Posted on Friday, September 28, 2007 - 9:40 pm:Edit PostDelete PostView Post/Check IP

gosai thread lepeyei..nenu chesukontunna ley
sound cheyaku kantam kostha
Top of pagePrevious messageNext messageBottom of pageLink to this message

Pda
Celebrity Bewarse
Username: Pda

Post Number: 15285
Registered: 06-2006
Posted From: 75.161.107.194

Rating:N/A
Votes: 0(Vote!)

Posted on Friday, September 28, 2007 - 8:56 pm:Edit PostDelete PostView Post/Check IP


Life is a game. So fight for survival and see if you're worth it.
Top of pagePrevious messageNext messageBottom of pageLink to this message

Gochi
Bewarse Legend
Username: Gochi

Post Number: 47921
Registered: 07-2004
Posted From: 71.234.247.143

Rating:N/A
Votes: 0(Vote!)

Posted on Friday, September 28, 2007 - 8:36 pm:Edit PostDelete PostView Post/Check IP

Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Celebrity Bewarse
Username: Bob

Post Number: 13278
Registered: 03-2005
Posted From: 24.18.27.240

Rating:N/A
Votes: 0(Vote!)

Posted on Friday, September 28, 2007 - 8:25 pm:Edit PostDelete PostView Post/Check IP

Google lo rd chesaa evo links vachayei chusi chestunna
sound cheyaku kantam kostha
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Celebrity Bewarse
Username: Bob

Post Number: 13275
Registered: 03-2005
Posted From: 24.18.27.240

Rating:N/A
Votes: 0(Vote!)

Posted on Friday, September 28, 2007 - 7:47 pm:Edit PostDelete PostView Post/Check IP

oka 1,2 hrs work undi weekend lo,evaranna help chesthey 30 mins ayeipothundi..

Excel lo 4 sheets unnayei mama.
1 cover sheet,2 nd premium calculation sheet,3rd di report generation sheet,4th forms sheet..

eppudu cover sheet lo user selection batti state specific forms,conditional forms,user selection forms add avvalsinavi[oka policy ki]anni add ayei avi report sheet lo dynamic ga display avvali.

like user 1 state ni select chesthey aa state ki sambandinchina policy related forms[Mandatory,conditional[YES/NO],User selected forms]add up avvali..

so daniki nenu forms section lo mandatory forms,conditional forms feed chesi next column lo state it applies feed chesanu [ALL/STATE/Combination of states] which ever form relates to.

attaney cover sheet lo state in which policy issued ani pakkana column lo states ki drop down list ettanu,enko drop list etti conditional forms ki yes/no ettanu[yes aueithey konni forms,no ayeithey konni forms]

user selected forms ki tick cheyaneeki buttons pettanu.

so eppudu report sheet lo user selection batti related forms dynamic ga report sheet lo display avvali..
ela cheyyachu .net level lo macros rayalla leka within excel tho lagincheyacha..
[conditional and user selection forms cover sheet lo ettanu so that user can select accordingly, user state ni select chesukokaney forms sheet lo unna mandatory forms aa state ki sambandinchina vi select ayei report sheet lo dynamic ga display avvali edi main requirement,also cover sheet lo unna conditional forms yes/no user select chesukokaney aa related forms in forms sheet should be displayed in report sheet , these two are main reqs..]

ardham ayeindaa..
sound cheyaku kantam kostha