עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

שגיאת בוטל ע"י המשתמש בזמן ריצה בקוד VBA

Featured Replies

פורסם

יש לי פרוצדורה אשר מעתיקה שורות פנימיות לא מוסתרות בתוך טווח נבחר לגיליון חדש (נניח אם בטווח נבחר A1:C3 יש שורה פנימית מוסתרת: A2:C2 ,אז היא לא תועתק לגיליון חדש, שאר השורות יועתקו). בזמן קומפילציה ישנה שגיאה Code Execution has been interupted, ואני לא לוחץ על pause במקלדת! ולא על Esc!.



Sub CopyNonHiddenRowsToNewSheet()


Dim iRow As Range: Dim DataSheet As Worksheet: Dim NewSheet As Worksheet
Dim i As Long


Set DataSheet = ActiveSheet
Worksheets.Add after:=DataSheet
Set NewSheet = ActiveSheet
DataSheet.Activate


For Each iRow In Selection.Rows

If Not iRow.Hidden Then
iRow.Copy
NewSheet.Paste (NewSheet.Cells(i + 1, 1))


' פה השגיאה מתבצעת כאשר אני לוחץ דיבאג בהודעת השגיאה
i = i + 1

Application.CutCopyMode = False

End If
Next
NewSheet.Activate
Columns.AutoFit
End Sub

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.