Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #10559

Re: OT: How find Excel Picture number

From Martin Brown <'''newspam'''@nezumi.demon.co.uk>
Newsgroups alt.computer, sci.electronics.design
Subject Re: OT: How find Excel Picture number
Date 2017-11-13 16:32 +0000
Organization Aioe.org NNTP Server
Message-ID <ouchf2$1v08$1@gioia.aioe.org> (permalink)
References (2 earlier) <W7QMB.7971$sC6.1410@fx35.iad> <ou13tm$2ds$1@gioia.aioe.org> <NE0NB.1633$Da3.816@fx39.iad> <ou29ad$4s4$1@dont-email.me> <FasNB.2235$Da3.1676@fx39.iad>

Cross-posted to 2 groups.

Show all headers | View raw


On 11/11/2017 01:15, Robert Baer wrote:
> Paul wrote:
>> Robert Baer wrote:
>>
>>>> Sub test() i = 0 For Each s In ActiveSheet.Shapes i = i + 1
>>>> Debug.Print i, s.Name, s.Type, s.Type = msoPicture Next s End
>>>> Sub
>>> * Nothing happens. Nice try.
>>
>> https://stackoverflow.com/questions/2916287/where-does-vba-debug-print-log-to 
>>
> * THAT is in (eXplicitly VBA, NOT n Excel (which does not have those 
> "windows".

*NO* it isn't and *YES* it does. You are thicker than pig shit.

What ancient version of XL are you running? Pre 97 or something?

>    I think what Martin fails to realize is that the program VBA is NOT
> Excel and vice-versa.

I program Excel from time to time. The example I gave works in XL2010 
VBA 7.0 without any problems. There might be some tweaks needed for 
previous versions but nothing there strikes me as non-portable.

>    In most cases, language statements to do a certain thing are the 
> same, but there are some cases where some functions/methods/etc exist in 
> only one or are implemented in a totally different way.
> 
>    Seems StackOverflow has fallen into the same trap.

If you look closely at the screen print you will see that it is a part 
of the "View" menu list for XL Developers window.

They even give the helpful suggestion of displaying an output string in 
a msgbox if you want to halt execution.

-- 
Regards,
Martin Brown

Back to alt.computer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

OT: How find Excel Picture number Robert Baer <robertbaer@localnet.com> - 2017-11-07 22:35 -0800
  Re: OT: How find Excel Picture number Paul <nospam@needed.invalid> - 2017-11-08 01:45 -0500
    Re: OT: How find Excel Picture number Robert Baer <robertbaer@localnet.com> - 2017-11-08 00:13 -0800
      Re: OT: How find Excel Picture number Paul <nospam@needed.invalid> - 2017-11-08 03:21 -0500
        Re: OT: How find Excel Picture number Robert Baer <robertbaer@localnet.com> - 2017-11-08 19:51 -0800
  Re: OT: How find Excel Picture number Jeroen Belleman <jeroen@nospam.please> - 2017-11-08 09:12 +0100
    Re: OT: How find Excel Picture number Robert Baer <robertbaer@localnet.com> - 2017-11-08 19:23 -0800
  Re: OT: How find Excel Picture number Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-11-08 08:12 +0000
    Re: OT: How find Excel Picture number Robert Baer <robertbaer@localnet.com> - 2017-11-08 19:41 -0800
      Re: OT: How find Excel Picture number Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-11-09 08:33 +0000
        Re: OT: How find Excel Picture number Robert Baer <robertbaer@localnet.com> - 2017-11-09 09:55 -0800
          Re: OT: How find Excel Picture number Paul <nospam@needed.invalid> - 2017-11-09 14:12 -0500
            Re: OT: How find Excel Picture number Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-11-09 20:20 +0000
            Re: OT: How find Excel Picture number Robert Baer <robertbaer@localnet.com> - 2017-11-10 17:15 -0800
              Re: OT: How find Excel Picture number Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-11-13 16:32 +0000

csiph-web