Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing ListFill in a shared WKB


Hi all,

I have this code running in a ExclusivAccess WorkBook, but when I try
to run it in a Share Workbook, pop ups a error sign saying "Can assign
ListFillRange". I searched in the "Features that are unavailable in
shared workbooks" but didn;t find any clue not allowing to use the
code.


Code:
--------------------
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange = "$P$2" 'Letrero Cotizacion Actual
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell = "$L$40"
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines = 1
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListIndex = 1
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.Display3DShading = True
--------------------


Could you give a hand with this?

Should I use Active Controls instead? or is something else?

Thanks in advance

Jose Luis


--
jose luis
------------------------------------------------------------------------
jose luis's Profile: http://www.excelforum.com/member.php...o&userid=13312
View this thread: http://www.excelforum.com/showthread...hreadid=384424

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Changing ListFill in a shared WKB

I used a dropdown from the forms toolbar and got that error.

And excel's help does say that one of the features that is disabled is:

Insert or change pictures or other objects

======
Can you do this (even manually) when the workbook isn't shared? Then save the
workbook that way?


jose luis wrote:

Hi all,

I have this code running in a ExclusivAccess WorkBook, but when I try
to run it in a Share Workbook, pop ups a error sign saying "Can assign
ListFillRange". I searched in the "Features that are unavailable in
shared workbooks" but didn;t find any clue not allowing to use the
code.

Code:
--------------------
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange = "$P$2" 'Letrero Cotizacion Actual
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell = "$L$40"
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines = 1
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListIndex = 1
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.Display3DShading = True
--------------------

Could you give a hand with this?

Should I use Active Controls instead? or is something else?

Thanks in advance

Jose Luis

--
jose luis
------------------------------------------------------------------------
jose luis's Profile: http://www.excelforum.com/member.php...o&userid=13312
View this thread: http://www.excelforum.com/showthread...hreadid=384424


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing ListFill in a shared WKB


Hi Dave,


Yes, I can do this when the macro isn't shared. It works pretty well
My problem araises when i try to share the workbook. I 'm looking for
way around the dropdown from forms. I going to try with active controls
I 'll let you know.

Thanks again for your help.

Jose Luis




Dave Peterson Wrote:
I used a dropdown from the forms toolbar and got that error.

And excel's help does say that one of the features that is disable
is:

Insert or change pictures or other objects

======
Can you do this (even manually) when the workbook isn't shared? The
save the
workbook that way?


jose luis wrote:

Hi all,

I have this code running in a ExclusivAccess WorkBook, but when

try
to run it in a Share Workbook, pop ups a error sign saying "Ca

assign
ListFillRange". I searched in the "Features that are unavailable in
shared workbooks" but didn;t find any clue not allowing to use the
code.

Code:
--------------------

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange
"$P$2" 'Letrero Cotizacion Actual
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell

"$L$40"
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLine

= 1
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListIndex = 1

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.Display3DShading
True
--------------------

Could you give a hand with this?

Should I use Active Controls instead? or is something else?

Thanks in advance

Jose Luis

--
jose luis


------------------------------------------------------------------------
jose luis's Profile

http://www.excelforum.com/member.php...o&userid=13312
View this thread

http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterso


--
jose lui
-----------------------------------------------------------------------
jose luis's Profile: http://www.excelforum.com/member.php...fo&userid=1331
View this thread: http://www.excelforum.com/showthread.php?threadid=38442

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Changing ListFill in a shared WKB

Do these settings change?

If no, how about just setting them once manually (when the workbook isn't
shared), then share the workbook.

(If the settings change, then this won't work...)

jose luis wrote:

Hi Dave,

Yes, I can do this when the macro isn't shared. It works pretty well.
My problem araises when i try to share the workbook. I 'm looking for a
way around the dropdown from forms. I going to try with active controls.
I 'll let you know.

Thanks again for your help.

Jose Luis

Dave Peterson Wrote:
I used a dropdown from the forms toolbar and got that error.

And excel's help does say that one of the features that is disabled
is:

Insert or change pictures or other objects

======
Can you do this (even manually) when the workbook isn't shared? Then
save the
workbook that way?


jose luis wrote:

Hi all,

I have this code running in a ExclusivAccess WorkBook, but when I

try
to run it in a Share Workbook, pop ups a error sign saying "Can

assign
ListFillRange". I searched in the "Features that are unavailable in
shared workbooks" but didn;t find any clue not allowing to use the
code.

Code:
--------------------

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange =
"$P$2" 'Letrero Cotizacion Actual
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell =

"$L$40"
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines

= 1
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListIndex = 1

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.Display3DShading =
True
--------------------

Could you give a hand with this?

Should I use Active Controls instead? or is something else?

Thanks in advance

Jose Luis

--
jose luis

------------------------------------------------------------------------
jose luis's Profile:

http://www.excelforum.com/member.php...o&userid=13312
View this thread:

http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson


--
jose luis
------------------------------------------------------------------------
jose luis's Profile: http://www.excelforum.com/member.php...o&userid=13312
View this thread: http://www.excelforum.com/showthread...hreadid=384424


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing ListFill in a shared WKB


Hi Dave,

I used ActiveX Controls and was able to change the ComboBox, even with
the Workbook Shared!!

This is what i used:


Code:
--------------------

Instead of:
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange = "$P$2" 'Letrero Cotizacion Actual

I used one of these:
Sheets("Impresión").Shapes("Alter1").OLEFormat.Obj ect.ListFillRange = "$P$2"
Sheets("Impresión").Alter1.ListFillRange = "$P$2"

Instead of:
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell = "$L$40"

I used one of these:
Sheets("Impresión").Shapes("Alter1").OLEFormat.Obj ect.LinkedCell = "$L$40"
Sheets("Impresión").Alter1.LinkedCell = "$L$40"


--------------------


Now what i 'm trying to acomplish is the equivalent in ActiveX Control
of

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines = 1

Do you know how to do this?


Thanks again

Regards

Jose Luis


Dave Peterson Wrote:
Do these settings change?

If no, how about just setting them once manually (when the workbook
isn't
shared), then share the workbook.

(If the settings change, then this won't work...)

jose luis wrote:

Hi Dave,

Yes, I can do this when the macro isn't shared. It works pretty

well.
My problem araises when i try to share the workbook. I 'm looking for

a
way around the dropdown from forms. I going to try with active

controls.
I 'll let you know.

Thanks again for your help.

Jose Luis

Dave Peterson Wrote:
I used a dropdown from the forms toolbar and got that error.

And excel's help does say that one of the features that is

disabled
is:

Insert or change pictures or other objects

======
Can you do this (even manually) when the workbook isn't shared?

Then
save the
workbook that way?


jose luis wrote:

Hi all,

I have this code running in a ExclusivAccess WorkBook, but when

I
try
to run it in a Share Workbook, pop ups a error sign saying "Can
assign
ListFillRange". I searched in the "Features that are unavailable

in
shared workbooks" but didn;t find any clue not allowing to use

the
code.

Code:
--------------------

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange

=
"$P$2" 'Letrero Cotizacion Actual
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell

=
"$L$40"

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines
= 1
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListIndex

= 1


Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.Display3DShading
=
True
--------------------

Could you give a hand with this?

Should I use Active Controls instead? or is something else?

Thanks in advance

Jose Luis

--
jose luis


------------------------------------------------------------------------
jose luis's Profile:
http://www.excelforum.com/member.php...o&userid=13312
View this thread:
http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson


--
jose luis

------------------------------------------------------------------------
jose luis's Profile:

http://www.excelforum.com/member.php...o&userid=13312
View this thread:

http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson



--
jose luis
------------------------------------------------------------------------
jose luis's Profile: http://www.excelforum.com/member.php...o&userid=13312
View this thread: http://www.excelforum.com/showthread...hreadid=384424



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Changing ListFill in a shared WKB

Try .listrows

You can find out lots of this by trying it manually.

While in design mode, click the properties button (with the combobox selected).
You'll see all those properties that can be changed. (Saves wear and tear on
the memory, too.)

jose luis wrote:

Hi Dave,

I used ActiveX Controls and was able to change the ComboBox, even with
the Workbook Shared!!

This is what i used:

Code:
--------------------

Instead of:
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange = "$P$2" 'Letrero Cotizacion Actual

I used one of these:
Sheets("Impresión").Shapes("Alter1").OLEFormat.Obj ect.ListFillRange = "$P$2"
Sheets("Impresión").Alter1.ListFillRange = "$P$2"

Instead of:
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell = "$L$40"

I used one of these:
Sheets("Impresión").Shapes("Alter1").OLEFormat.Obj ect.LinkedCell = "$L$40"
Sheets("Impresión").Alter1.LinkedCell = "$L$40"


--------------------

Now what i 'm trying to acomplish is the equivalent in ActiveX Control
of

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines = 1

Do you know how to do this?

Thanks again

Regards

Jose Luis

Dave Peterson Wrote:
Do these settings change?

If no, how about just setting them once manually (when the workbook
isn't
shared), then share the workbook.

(If the settings change, then this won't work...)

jose luis wrote:

Hi Dave,

Yes, I can do this when the macro isn't shared. It works pretty

well.
My problem araises when i try to share the workbook. I 'm looking for

a
way around the dropdown from forms. I going to try with active

controls.
I 'll let you know.

Thanks again for your help.

Jose Luis

Dave Peterson Wrote:
I used a dropdown from the forms toolbar and got that error.

And excel's help does say that one of the features that is

disabled
is:

Insert or change pictures or other objects

======
Can you do this (even manually) when the workbook isn't shared?

Then
save the
workbook that way?


jose luis wrote:

Hi all,

I have this code running in a ExclusivAccess WorkBook, but when

I
try
to run it in a Share Workbook, pop ups a error sign saying "Can
assign
ListFillRange". I searched in the "Features that are unavailable

in
shared workbooks" but didn;t find any clue not allowing to use

the
code.

Code:
--------------------

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange

=
"$P$2" 'Letrero Cotizacion Actual
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell

=
"$L$40"

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines
= 1
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListIndex

= 1


Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.Display3DShading
=
True
--------------------

Could you give a hand with this?

Should I use Active Controls instead? or is something else?

Thanks in advance

Jose Luis

--
jose luis


------------------------------------------------------------------------
jose luis's Profile:
http://www.excelforum.com/member.php...o&userid=13312
View this thread:
http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson

--
jose luis

------------------------------------------------------------------------
jose luis's Profile:

http://www.excelforum.com/member.php...o&userid=13312
View this thread:

http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson


--
jose luis
------------------------------------------------------------------------
jose luis's Profile: http://www.excelforum.com/member.php...o&userid=13312
View this thread: http://www.excelforum.com/showthread...hreadid=384424


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing ListFill in a shared WKB


Thank you Dave,, mission acomplished!!

Your guidance make the difference.!!


Hope you read from you soon.

Thanks a lot

Jose Luis


Dave Peterson Wrote:
Try .listrows

You can find out lots of this by trying it manually.

While in design mode, click the properties button (with the combobox
selected).
You'll see all those properties that can be changed. (Saves wear and
tear on
the memory, too.)

jose luis wrote:

Hi Dave,

I used ActiveX Controls and was able to change the ComboBox, even

with
the Workbook Shared!!

This is what i used:

Code:
--------------------

Instead of:
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange

= "$P$2" 'Letrero Cotizacion Actual

I used one of these:
Sheets("Impresión").Shapes("Alter1").OLEFormat.Obj ect.ListFillRange

= "$P$2"
Sheets("Impresión").Alter1.ListFillRange = "$P$2"

Instead of:
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell =

"$L$40"

I used one of these:
Sheets("Impresión").Shapes("Alter1").OLEFormat.Obj ect.LinkedCell =

"$L$40"
Sheets("Impresión").Alter1.LinkedCell = "$L$40"


--------------------

Now what i 'm trying to acomplish is the equivalent in ActiveX

Control
of

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines =

1

Do you know how to do this?

Thanks again

Regards

Jose Luis

Dave Peterson Wrote:
Do these settings change?

If no, how about just setting them once manually (when the

workbook
isn't
shared), then share the workbook.

(If the settings change, then this won't work...)

jose luis wrote:

Hi Dave,

Yes, I can do this when the macro isn't shared. It works pretty
well.
My problem araises when i try to share the workbook. I 'm looking

for
a
way around the dropdown from forms. I going to try with active
controls.
I 'll let you know.

Thanks again for your help.

Jose Luis

Dave Peterson Wrote:
I used a dropdown from the forms toolbar and got that error.

And excel's help does say that one of the features that is
disabled
is:

Insert or change pictures or other objects

======
Can you do this (even manually) when the workbook isn't

shared?
Then
save the
workbook that way?


jose luis wrote:

Hi all,

I have this code running in a ExclusivAccess WorkBook, but

when
I
try
to run it in a Share Workbook, pop ups a error sign saying

"Can
assign
ListFillRange". I searched in the "Features that are

unavailable
in
shared workbooks" but didn;t find any clue not allowing to

use
the
code.

Code:
--------------------


Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange
=
"$P$2" 'Letrero Cotizacion Actual

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell
=
"$L$40"

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines
= 1

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListIndex
= 1



Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.Display3DShading
=
True
--------------------

Could you give a hand with this?

Should I use Active Controls instead? or is something else?

Thanks in advance

Jose Luis

--
jose luis



------------------------------------------------------------------------
jose luis's Profile:

http://www.excelforum.com/member.php...o&userid=13312
View this thread:
http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson

--
jose luis


------------------------------------------------------------------------
jose luis's Profile:
http://www.excelforum.com/member.php...o&userid=13312
View this thread:
http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson


--
jose luis

------------------------------------------------------------------------
jose luis's Profile:

http://www.excelforum.com/member.php...o&userid=13312
View this thread:

http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson



--
jose luis
------------------------------------------------------------------------
jose luis's Profile: http://www.excelforum.com/member.php...o&userid=13312
View this thread: http://www.excelforum.com/showthread...hreadid=384424

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Changing ListFill in a shared WKB

And thanks for posting back about the activex controls. (I was too lazy to
test.)

jose luis wrote:

Thank you Dave,, mission acomplished!!

Your guidance make the difference.!!

Hope you read from you soon.

Thanks a lot

Jose Luis

Dave Peterson Wrote:
Try .listrows

You can find out lots of this by trying it manually.

While in design mode, click the properties button (with the combobox
selected).
You'll see all those properties that can be changed. (Saves wear and
tear on
the memory, too.)

jose luis wrote:

Hi Dave,

I used ActiveX Controls and was able to change the ComboBox, even

with
the Workbook Shared!!

This is what i used:

Code:
--------------------

Instead of:
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange

= "$P$2" 'Letrero Cotizacion Actual

I used one of these:
Sheets("Impresión").Shapes("Alter1").OLEFormat.Obj ect.ListFillRange

= "$P$2"
Sheets("Impresión").Alter1.ListFillRange = "$P$2"

Instead of:
Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell =

"$L$40"

I used one of these:
Sheets("Impresión").Shapes("Alter1").OLEFormat.Obj ect.LinkedCell =

"$L$40"
Sheets("Impresión").Alter1.LinkedCell = "$L$40"


--------------------

Now what i 'm trying to acomplish is the equivalent in ActiveX

Control
of

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines =

1

Do you know how to do this?

Thanks again

Regards

Jose Luis

Dave Peterson Wrote:
Do these settings change?

If no, how about just setting them once manually (when the

workbook
isn't
shared), then share the workbook.

(If the settings change, then this won't work...)

jose luis wrote:

Hi Dave,

Yes, I can do this when the macro isn't shared. It works pretty
well.
My problem araises when i try to share the workbook. I 'm looking

for
a
way around the dropdown from forms. I going to try with active
controls.
I 'll let you know.

Thanks again for your help.

Jose Luis

Dave Peterson Wrote:
I used a dropdown from the forms toolbar and got that error.

And excel's help does say that one of the features that is
disabled
is:

Insert or change pictures or other objects

======
Can you do this (even manually) when the workbook isn't

shared?
Then
save the
workbook that way?


jose luis wrote:

Hi all,

I have this code running in a ExclusivAccess WorkBook, but

when
I
try
to run it in a Share Workbook, pop ups a error sign saying

"Can
assign
ListFillRange". I searched in the "Features that are

unavailable
in
shared workbooks" but didn;t find any clue not allowing to

use
the
code.

Code:
--------------------


Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListFillRange
=
"$P$2" 'Letrero Cotizacion Actual

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.LinkedCell
=
"$L$40"

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.DropDownLines
= 1

Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.ListIndex
= 1



Sheets("Impresión").Shapes("AlterUno").DrawingObje ct.Display3DShading
=
True
--------------------

Could you give a hand with this?

Should I use Active Controls instead? or is something else?

Thanks in advance

Jose Luis

--
jose luis



------------------------------------------------------------------------
jose luis's Profile:

http://www.excelforum.com/member.php...o&userid=13312
View this thread:
http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson

--
jose luis


------------------------------------------------------------------------
jose luis's Profile:
http://www.excelforum.com/member.php...o&userid=13312
View this thread:
http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson

--
jose luis

------------------------------------------------------------------------
jose luis's Profile:

http://www.excelforum.com/member.php...o&userid=13312
View this thread:

http://www.excelforum.com/showthread...hreadid=384424

--

Dave Peterson


--
jose luis
------------------------------------------------------------------------
jose luis's Profile: http://www.excelforum.com/member.php...o&userid=13312
View this thread: http://www.excelforum.com/showthread...hreadid=384424


--

Dave Peterson
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
column widths keep changing in shared file FlyersLady Excel Discussion (Misc queries) 1 May 14th 10 09:15 PM
Issues with shared vs. non-shared formulas on somewhat wide spreadsheets david.karr Excel Discussion (Misc queries) 0 August 16th 07 12:52 AM
ListFill Range N.F[_2_] Excel Discussion (Misc queries) 1 July 4th 07 09:42 AM
Printing viewing a shared workbook on a shared drive aloomba Excel Discussion (Misc queries) 0 April 13th 07 02:52 PM
Shared document keeps changing, what can I do? Kile Excel Discussion (Misc queries) 1 November 8th 05 04:41 PM


All times are GMT +1. The time now is 09:34 AM.

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"