ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Table Live (https://www.excelbanter.com/excel-programming/397538-table-live.html)

Karen53

Table Live
 
Hi,

Is there a way you can show a table (or named range) live in a userform like
can be done in access? By live I mean changes can be made to the table and
they are saved.

Thanks,

Karen53

Table Live
 
Hi,

I see the data form which would work but I need to limit the length of the
range. I've tried to set it to my named range but this was unsuccessful.

Range("Types").Select
Sheets("Table").ShowDataForm

I've tried it as activesheet as well. Won't this feature accept a named
range? Is there a way to set this row limit?

Thanks,



"Karen53" wrote:

Hi,

Is there a way you can show a table (or named range) live in a userform like
can be done in access? By live I mean changes can be made to the table and
they are saved.

Thanks,


Dave Peterson

Table Live
 
Without knowing what Range("Types") is (does it include the headers???)

with sheets("table")
.range("Types").name = "'" & .name & "'!database"
.showdataform
end with

It looks for a name of "database".

Some more info:
http://support.microsoft.com/default...;en-us;q110462
XL: ShowDataForm Method Fails If Data Can't Be Found

Karen53 wrote:

Hi,

I see the data form which would work but I need to limit the length of the
range. I've tried to set it to my named range but this was unsuccessful.

Range("Types").Select
Sheets("Table").ShowDataForm

I've tried it as activesheet as well. Won't this feature accept a named
range? Is there a way to set this row limit?

Thanks,

"Karen53" wrote:

Hi,

Is there a way you can show a table (or named range) live in a userform like
can be done in access? By live I mean changes can be made to the table and
they are saved.

Thanks,


--

Dave Peterson


All times are GMT +1. The time now is 09:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com