LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Form Show Error


Hi all,

I have the following code in a cmd button on a sheet;


Code
-------------------

If r = vbYes Then

ActiveSheet.Unprotect Password:=Pass

Range(Cells(start, 1), Cells(finish, 18)).Select
Selection.Copy
Call FindNextEmpty
ActiveCell.Offset(0, -6).Select
Selection.PasteSpecial Paste:=xlValues

With Selection.Borders(xlEdgeBottom)
.LineStyle = xlDot
.Weight = xlThin
.ColorIndex = xlAutomatic
End With

For i = start To finish
ActiveSheet.Rows(start).Delete
Next
Range("A2").Select
ActiveSheet.Protect Password:=Pass

*frmMain.Show*

End If

-------------------


Keep getting an error saying 'Invalid Property Value'? any ideas

--
gti_jober
-----------------------------------------------------------------------
gti_jobert's Profile: http://www.excelforum.com/member.php...fo&userid=3063
View this thread: http://www.excelforum.com/showthread.php?threadid=51615

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Err.Raise error not trapped by entry procedure error handler [email protected] Excel Programming 1 February 8th 06 10:19 AM
Type mismatch error on form show Darach Excel Programming 1 October 26th 05 12:51 PM
Help! Animated gif-image in form does not show animation when form loaded JoCa Excel Programming 4 September 23rd 04 07:43 PM
Form.show error in module 3 GMet Excel Programming 3 September 9th 04 07:44 PM


All times are GMT +1. The time now is 11:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"