Anzeige
Anzeige
HERBERS
Excel-Forum (Archiv)
20+ Jahre Excel-Kompetenz: Von Anwendern, für Anwender
Anzeige
Inhaltsverzeichnis

Macro- Problem/Command Button

Forumthread: Macro- Problem/Command Button

Macro- Problem/Command Button
01.06.2002 14:02:32
Karl-Heinz
Hallo Freaks,
habe ein Problem, wenn ich dieses Macro:

Private Sub CommandButton4_Click()
Dim objComment As Comment
Set objComment = ActiveCell.AddComment
For Each cmt In ActiveSheet.Comments
If cmt.Shape.TextFrame.AutoSize = False Then cmt.Shape.TextFrame.AutoSize = True
cmt.Visible = False
Next cmt
End Sub

einem Command Button unter Excel (OfficeXP) zuweise funktioniert es problemlos, mache ich das selbe unter Excel(Office97) funktioniert es nicht???
An was kann das liegen, hat einer von Euch Profis eine Lösung...
Danke K-H

Anzeige

2
Beiträge zum Forumthread
Beiträge zu diesem Forumthread

Betreff
Datum
Anwender
Anzeige
Re: Macro- Problem/Command Button
02.06.2002 03:10:14
L.Vira
dein Code funktioniert unter Excel 97 und auch unter Excel 2000,
zumindest bei mir.
Re: Macro- Problem/Command Button
02.06.2002 14:06:18
Karl-Heinz
Hallo,
leider funkt das bei mir nicht, was hast Du evt. bei Excel97 dazu installiert, oder was muß ich installieren, bei mir kommt Laufzeitfehler 1004???
Danke K-H
Anzeige
Anzeige
Anzeige
Live-Forum - Die aktuellen Beiträge
Datum
Titel
14.05.2026 13:31:09
14.05.2026 09:50:42
13.05.2026 19:14:18