Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default question regarding pasting controls

when control are pasted in a sheet, for example
(EMBED("Forms.HTML:Text.1",""), excel numbers them, control x.

once these are deleted, is there any way to reset that numbering system so
subsequent pastes do not start at 1 + the last pasted control number?

i know exiting excel resets it, just wondering if there is a way to do it
programmatically.

--

Gary Keramidas
Excel 2003


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default question regarding pasting controls

One work around is to name them with consecutive numbers. But it seems like
there is a way to reset the index numbers also. I am sure there is on a
form, and I would think you could do it on a sheet also.


"Gary Keramidas" <GKeramidasAtMSN.com wrote in message
...
when control are pasted in a sheet, for example
(EMBED("Forms.HTML:Text.1",""), excel numbers them, control x.

once these are deleted, is there any way to reset that numbering system so
subsequent pastes do not start at 1 + the last pasted control number?

i know exiting excel resets it, just wondering if there is a way to do it
programmatically.

--

Gary Keramidas
Excel 2003




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default question regarding pasting controls

thanks, but i don't get to name them, they get pasted from a browser window.
control 8 is always an embedded filed i need, but the next time the user
pastes from the browser, there is no control 8, as it starts number from the
last control that was pasted.

i have absolutely no control over this, it's some old unix system that works
through a browser window and i'm just trying to help the person out with
capturing some data. they know it needs to get replaced, but who knows when
they'll do it.

--

Gary Keramidas
Excel 2003


"JLGWhiz" wrote in message
...
One work around is to name them with consecutive numbers. But it seems
like there is a way to reset the index numbers also. I am sure there is
on a form, and I would think you could do it on a sheet also.


"Gary Keramidas" <GKeramidasAtMSN.com wrote in message
...
when control are pasted in a sheet, for example
(EMBED("Forms.HTML:Text.1",""), excel numbers them, control x.

once these are deleted, is there any way to reset that numbering system
so subsequent pastes do not start at 1 + the last pasted control number?

i know exiting excel resets it, just wondering if there is a way to do it
programmatically.

--

Gary Keramidas
Excel 2003





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default question regarding pasting controls

Is there a way to capture the last control number and use a variable that
represents the next number instead of the control #8? Or is it closed code
that you can't modify?


"Gary Keramidas" <GKeramidasAtMSN.com wrote in message
...
thanks, but i don't get to name them, they get pasted from a browser
window. control 8 is always an embedded filed i need, but the next time
the user pastes from the browser, there is no control 8, as it starts
number from the last control that was pasted.

i have absolutely no control over this, it's some old unix system that
works through a browser window and i'm just trying to help the person out
with capturing some data. they know it needs to get replaced, but who
knows when they'll do it.

--

Gary Keramidas
Excel 2003


"JLGWhiz" wrote in message
...
One work around is to name them with consecutive numbers. But it seems
like there is a way to reset the index numbers also. I am sure there is
on a form, and I would think you could do it on a sheet also.


"Gary Keramidas" <GKeramidasAtMSN.com wrote in message
...
when control are pasted in a sheet, for example
(EMBED("Forms.HTML:Text.1",""), excel numbers them, control x.

once these are deleted, is there any way to reset that numbering system
so subsequent pastes do not start at 1 + the last pasted control number?

i know exiting excel resets it, just wondering if there is a way to do
it programmatically.

--

Gary Keramidas
Excel 2003







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default question regarding pasting controls

not sure, they'll just have to exit excel and restart it.

thanks for the response.

--

Gary Keramidas
Excel 2003


"JLGWhiz" wrote in message
...
Is there a way to capture the last control number and use a variable that
represents the next number instead of the control #8? Or is it closed
code that you can't modify?


"Gary Keramidas" <GKeramidasAtMSN.com wrote in message
...
thanks, but i don't get to name them, they get pasted from a browser
window. control 8 is always an embedded filed i need, but the next time
the user pastes from the browser, there is no control 8, as it starts
number from the last control that was pasted.

i have absolutely no control over this, it's some old unix system that
works through a browser window and i'm just trying to help the person out
with capturing some data. they know it needs to get replaced, but who
knows when they'll do it.

--

Gary Keramidas
Excel 2003


"JLGWhiz" wrote in message
...
One work around is to name them with consecutive numbers. But it seems
like there is a way to reset the index numbers also. I am sure there is
on a form, and I would think you could do it on a sheet also.


"Gary Keramidas" <GKeramidasAtMSN.com wrote in message
...
when control are pasted in a sheet, for example
(EMBED("Forms.HTML:Text.1",""), excel numbers them, control x.

once these are deleted, is there any way to reset that numbering system
so subsequent pastes do not start at 1 + the last pasted control
number?

i know exiting excel resets it, just wondering if there is a way to do
it programmatically.

--

Gary Keramidas
Excel 2003










  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default question regarding pasting controls

There is no way to reset the object identifier that automatically gets
incremented and appended to newly added objects, at least not while any
objects exist on the sheet.

Rename controls perhaps.

Regards,
Peter T


"Gary Keramidas" <GKeramidasAtMSN.com wrote in message
...
when control are pasted in a sheet, for example
(EMBED("Forms.HTML:Text.1",""), excel numbers them, control x.

once these are deleted, is there any way to reset that numbering system so
subsequent pastes do not start at 1 + the last pasted control number?

i know exiting excel resets it, just wondering if there is a way to do it
programmatically.

--

Gary Keramidas
Excel 2003




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default question regarding pasting controls

thanks peter, that's what i did last night. i'm about to go try it out.

--

Gary Keramidas
Excel 2003


"Peter T" <peter_t@discussions wrote in message
...
There is no way to reset the object identifier that automatically gets
incremented and appended to newly added objects, at least not while any
objects exist on the sheet.

Rename controls perhaps.

Regards,
Peter T


"Gary Keramidas" <GKeramidasAtMSN.com wrote in message
...
when control are pasted in a sheet, for example
(EMBED("Forms.HTML:Text.1",""), excel numbers them, control x.

once these are deleted, is there any way to reset that numbering system
so subsequent pastes do not start at 1 + the last pasted control number?

i know exiting excel resets it, just wondering if there is a way to do it
programmatically.

--

Gary Keramidas
Excel 2003





Reply
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
(possibly) simple question about web controls KBL Excel Programming 1 April 29th 09 05:32 AM
Controls Question Sandy Excel Programming 6 May 18th 07 11:39 AM
pasting controls Gixxer_J_97[_2_] Excel Programming 9 May 19th 05 02:57 PM
Pasting ActiveX or Form Controls jcliquidtension Excel Programming 1 December 26th 04 11:40 AM
General question: how many controls allowed? Mekratrig[_3_] Excel Programming 2 July 18th 04 12:05 AM


All times are GMT +1. The time now is 04:08 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"