Gob Sheite
Member
Members
Forum Posts: 12
Member Since:
June 15, 2022
June 15, 2022
Offline
Does anyone know what causes or restricts parameter prompts in VBA?
If you type "Application. " you will be prompted with appropriate parameters
And often you wont?
What governs whether you are prompted or not?
Velouria
London or thereabouts
Moderator
Members
Trusted Members
Moderators
Trusted Members
Moderators
Forum Posts: 840
Member Since:
November 1, 2018
November 1, 2018
Offline
Velouria
London or thereabouts
Moderator
Members
Trusted Members
Moderators
Trusted Members
Moderators
Forum Posts: 840
Member Since:
November 1, 2018
November 1, 2018
Offline
but Excel does know what the Activesheet is
Actually, no it doesn't know. When you are writing the code, the compiler doesn't know what kind of sheet will be active when the code runs. It could be a worksheet, or a chart, or a macro sheet, or a dialog sheet. That is why the ActiveSheet property returns an Object (You can check that in the Object Browser)
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Charles Johnson
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1944
SunnyKow: 1432
Anders Sehlstedt: 956
Purfleet: 415
Hans Hallebeek: 377
Frans Visser: 351
David_Ng: 318
lea cohen: 248
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
Tiago Braga
Rehan Baig
Fred HORVATH
Silke Schmidt
Stuart Barr
Amelia Nolte
David Wier
T P Collins
Gerry Khoo
Jessica
Forum Stats:
Groups: 3
Forums: 25
Topics: 7149
Posts: 31372
Member Stats:
Guest Posters: 50
Members: 34653
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —