Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
D.Parker
 
Posts: n/a
Default Cell Content from UserForm Not Retained

Hello again:

I'm a novice user and I have a created a UserForm for placing certain
contents into particular cells. The problem is when I save and exit Excel
and come back into the same workbook, if I click that cell the UserForm pops
up as expected, but if I do not make a selection and close (click the close
button, red 'x') the userform or cancel the userform the cell contents from
the previous save disappear and the cell is blank. I would think the cell
contents should stay as is until I put some information into the cell.

Is there a way to keep the cell contents when I reopen Excel (from a
previous save)and launch the userform, do not make a selection, and close or
cancel the userform?

Kind regards,

D.Parker
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

There is probably some code in the userform closedown that populates that
cell, and if it is blank, it will populate it with blank. Test for blank
before offloading to the sheet.

Post back with userform code if you need more help.

--
HTH

Bob Phillips

"D.Parker" wrote in message
...
Hello again:

I'm a novice user and I have a created a UserForm for placing certain
contents into particular cells. The problem is when I save and exit Excel
and come back into the same workbook, if I click that cell the UserForm

pops
up as expected, but if I do not make a selection and close (click the

close
button, red 'x') the userform or cancel the userform the cell contents

from
the previous save disappear and the cell is blank. I would think the cell
contents should stay as is until I put some information into the cell.

Is there a way to keep the cell contents when I reopen Excel (from a
previous save)and launch the userform, do not make a selection, and close

or
cancel the userform?

Kind regards,

D.Parker



  #3   Report Post  
D.Parker
 
Posts: n/a
Default

Bob:

Thanks again! On my activesheet I just initialized that variable to the
current cell contents prior to calling the userform.

Kind regards,

D.Parker

"Bob Phillips" wrote:

There is probably some code in the userform closedown that populates that
cell, and if it is blank, it will populate it with blank. Test for blank
before offloading to the sheet.

Post back with userform code if you need more help.

--
HTH

Bob Phillips

"D.Parker" wrote in message
...
Hello again:

I'm a novice user and I have a created a UserForm for placing certain
contents into particular cells. The problem is when I save and exit Excel
and come back into the same workbook, if I click that cell the UserForm

pops
up as expected, but if I do not make a selection and close (click the

close
button, red 'x') the userform or cancel the userform the cell contents

from
the previous save disappear and the cell is blank. I would think the cell
contents should stay as is until I put some information into the cell.

Is there a way to keep the cell contents when I reopen Excel (from a
previous save)and launch the userform, do not make a selection, and close

or
cancel the userform?

Kind regards,

D.Parker




  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

What code is in the userform?

--
HTH

Bob Phillips

"D.Parker" wrote in message
...
Bob:

Thanks again! On my activesheet I just initialized that variable to the
current cell contents prior to calling the userform.

Kind regards,

D.Parker

"Bob Phillips" wrote:

There is probably some code in the userform closedown that populates

that
cell, and if it is blank, it will populate it with blank. Test for blank
before offloading to the sheet.

Post back with userform code if you need more help.

--
HTH

Bob Phillips

"D.Parker" wrote in message
...
Hello again:

I'm a novice user and I have a created a UserForm for placing certain
contents into particular cells. The problem is when I save and exit

Excel
and come back into the same workbook, if I click that cell the

UserForm
pops
up as expected, but if I do not make a selection and close (click the

close
button, red 'x') the userform or cancel the userform the cell contents

from
the previous save disappear and the cell is blank. I would think the

cell
contents should stay as is until I put some information into the cell.

Is there a way to keep the cell contents when I reopen Excel (from a
previous save)and launch the userform, do not make a selection, and

close
or
cancel the userform?

Kind regards,

D.Parker






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
borders not aligned with cell content when printed andy g Excel Discussion (Misc queries) 2 June 5th 06 04:33 PM
cell content miamac Excel Discussion (Misc queries) 0 April 18th 05 06:56 PM
How can I make the bar that shows the content of the cell visible. ZG Excel Discussion (Misc queries) 1 January 8th 05 07:27 PM
vlookup to extract part cell content excelFan Excel Discussion (Misc queries) 2 December 5th 04 08:45 AM
Transferring cell content between workbooks using cell references Kiwi Mike Excel Discussion (Misc queries) 2 November 27th 04 11:31 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"