Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Dear sir, When program reaches the below given code -------------------------------- ans = MsgBox("Delete Record?", _ "Delete this record?", vbYesNo) --------------------- it gives error showing "Run time error -'13' Type mismatch. Could yo pls. look into this matter Thanks Shin -- ShinuPosted from - http://www.officehelp.i |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Dear sir, Now when the program reached to the following code starting with set ------------------------------------- With Sheets("DeletedRecords") Set rng2 = .Range("A1").End(xlDown) _ .Offset(1, 0) End With -------------------------------- it shows Run time error '1004' Application defined or Object define erro -- ShinuPosted from - http://www.officehelp.i |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Missing a period after (xlDown)
With Sheets("DeletedRecords") Set rng2 = .Range("A1").End(xlDown).Offset(1, 0) End With You might want to be careful with that approach: it will fail for cases where the xlDown takes you to the last row and then you try to offset one more row... Working from the bottom up is usually safer. Tim "Shinu" wrote in message ... Dear sir, Now when the program reached to the following code starting with set ------------------------------------- With Sheets("DeletedRecords") Set rng2 = .Range("A1").End(xlDown) _ Offset(1, 0) End With -------------------------------- it shows Run time error '1004' Application defined or Object defined error -- ShinuPosted from - http://www.officehelp.in |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy Unique Record | Excel Discussion (Misc queries) | |||
Copy and paste from last record at bottom of column | New Users to Excel | |||
Copy a record before deleting | Excel Programming | |||
Deleting a record from Access data base using programming from excel | Excel Programming | |||
how to copy record only with amount from 1 sheet to another | Excel Programming |